org.red5.server.api.so
Interface ISharedObjectSecurity


public interface ISharedObjectSecurity

Interface for handlers that control access to shared objects.

Author:
The Red5 Project (red5@osflash.org), Joachim Bauch (jojo@struktur.de)

Method Summary
 boolean isConnectionAllowed(ISharedObject so)
          Check if a connection to the given existing shared object is allowed.
 boolean isCreationAllowed(IScope scope, String name, boolean persistent)
          Check if the a shared object may be created in the given scope.
 boolean isDeleteAllowed(ISharedObject so, String key)
          Check if the deletion of a property is allowed on the given shared object.
 boolean isSendAllowed(ISharedObject so, String message, List arguments)
          Check if sending a message to the shared object is allowed.
 boolean isWriteAllowed(ISharedObject so, String key, Object value)
          Check if a modification is allowed on the given shared object.
 

Method Detail

isCreationAllowed

boolean isCreationAllowed(IScope scope,
                          String name,
                          boolean persistent)
Check if the a shared object may be created in the given scope.

Parameters:
scope -
name -
persistent -
Returns:

isConnectionAllowed

boolean isConnectionAllowed(ISharedObject so)
Check if a connection to the given existing shared object is allowed.

Parameters:
so -
Returns:

isWriteAllowed

boolean isWriteAllowed(ISharedObject so,
                       String key,
                       Object value)
Check if a modification is allowed on the given shared object.

Parameters:
so -
key -
value -
Returns:

isDeleteAllowed

boolean isDeleteAllowed(ISharedObject so,
                        String key)
Check if the deletion of a property is allowed on the given shared object.

Parameters:
so -
key -
Returns:

isSendAllowed

boolean isSendAllowed(ISharedObject so,
                      String message,
                      List arguments)
Check if sending a message to the shared object is allowed.

Parameters:
so -
message -
arguments -
Returns:


Copyright © 2006-2007 the Red5 project.