com.sibvisions.rad.server.security
Class DBSecurityManager.DBAccessController

java.lang.Object
  extended by com.sibvisions.rad.server.security.DBSecurityManager.DBAccessController
All Implemented Interfaces:
IAccessController
Enclosing class:
DBSecurityManager

public static final class DBSecurityManager.DBAccessController
extends Object
implements IAccessController

The DBAccessController controls the access to server side objects based on the configuration in the database.


Constructor Summary
DBSecurityManager.DBAccessController()
           
 
Method Summary
 void addAccess(String pLifecycleName)
          Adds access to a specific life-cycle object.
 String[] getAllowedLifeCycleNames()
          Gets the list of allowed life-cycle names.
 boolean isAllowed(String pLifeCycleName)
          Checks the access for creating a session.
 void removeAccess(String pLifeCycleName)
          Removes access for a specific life-cycle object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBSecurityManager.DBAccessController

public DBSecurityManager.DBAccessController()
Method Detail

isAllowed

public boolean isAllowed(String pLifeCycleName)
Checks the access for creating a session.

Specified by:
isAllowed in interface IAccessController
Parameters:
pLifeCycleName - the name of the life-cycle object
Returns:
true if it's allowed to open the connection, otherwise false

addAccess

public void addAccess(String pLifecycleName)
Adds access to a specific life-cycle object.

Specified by:
addAccess in interface IAccessController
Parameters:
pLifecycleName - the name of the life-cycle object

removeAccess

public void removeAccess(String pLifeCycleName)
Removes access for a specific life-cycle object.

Specified by:
removeAccess in interface IAccessController
Parameters:
pLifeCycleName - the name of the life-cycle object

getAllowedLifeCycleNames

public String[] getAllowedLifeCycleNames()
Gets the list of allowed life-cycle names.

Returns:
the full qualified lice-cycle object names


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.