Class ScopeSecurityHandler

java.lang.Object
org.red5.server.scope.ScopeSecurityHandler
All Implemented Interfaces:
IScopeSecurityHandler

public class ScopeSecurityHandler extends Object implements IScopeSecurityHandler
Scope security handler providing positive results to any allow request.
Author:
Paul Gregoire (mondain@gmail.com)
  • Field Details

    • log

      private org.slf4j.Logger log
    • connectionAllowed

      protected boolean connectionAllowed
    • scopeAllowed

      protected boolean scopeAllowed
  • Constructor Details

    • ScopeSecurityHandler

      public ScopeSecurityHandler()
  • Method Details

    • allowed

      public boolean allowed(IConnection conn)
      Description copied from interface: IScopeSecurityHandler
      Determines whether or not a given connection is allowed.
      Specified by:
      allowed in interface IScopeSecurityHandler
      Parameters:
      conn - connection
      Returns:
      true if allowed and false otherwise
    • allowed

      public boolean allowed(IScope scope)
      Description copied from interface: IScopeSecurityHandler
      Determines whether or not a given scope is allowed.
      Specified by:
      allowed in interface IScopeSecurityHandler
      Parameters:
      scope - connection
      Returns:
      true if allowed and false otherwise
    • setConnectionAllowed

      public void setConnectionAllowed(boolean connectionAllowed)
    • setScopeAllowed

      public void setScopeAllowed(boolean scopeAllowed)