Package org.red5.server.scope
Class ScopeSecurityHandler
java.lang.Object
org.red5.server.scope.ScopeSecurityHandler
- All Implemented Interfaces:
IScopeSecurityHandler
Scope security handler providing positive results to any allow request.
- Author:
- Paul Gregoire (mondain@gmail.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowed(IConnection conn) Determines whether or not a given connection is allowed.booleanDetermines whether or not a given scope is allowed.voidsetConnectionAllowed(boolean connectionAllowed) voidsetScopeAllowed(boolean scopeAllowed)
-
Field Details
-
connectionAllowed
protected boolean connectionAllowed -
scopeAllowed
protected boolean scopeAllowed
-
-
Constructor Details
-
ScopeSecurityHandler
public ScopeSecurityHandler()
-
-
Method Details
-
allowed
Description copied from interface:IScopeSecurityHandlerDetermines whether or not a given connection is allowed.- Specified by:
allowedin interfaceIScopeSecurityHandler- Parameters:
conn- connection- Returns:
- true if allowed and false otherwise
-
allowed
Description copied from interface:IScopeSecurityHandlerDetermines whether or not a given scope is allowed.- Specified by:
allowedin interfaceIScopeSecurityHandler- Parameters:
scope- connection- Returns:
- true if allowed and false otherwise
-
setConnectionAllowed
public void setConnectionAllowed(boolean connectionAllowed) -
setScopeAllowed
public void setScopeAllowed(boolean scopeAllowed)
-