| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.server.security.DefaultAccessController
public class DefaultAccessController
The DefaultAccessController is the standard IAccessController implementation.
 It manages allowed objects in a simple list.
| Constructor Summary | |
|---|---|
| DefaultAccessController() | |
| Method Summary | |
|---|---|
|  void | addAccess(java.lang.String pLifeCycleName)Adds access to a specific life-cycle object. | 
|  java.lang.String | find(java.lang.String pName)Search all available lifecycle objects for the given name. | 
|  boolean | isAllowed(java.lang.String pLifeCycleName)Checks the access for creating a session. | 
|  void | removeAccess(java.lang.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 | 
|---|
public DefaultAccessController()
| Method Detail | 
|---|
public boolean isAllowed(java.lang.String pLifeCycleName)
isAllowed in interface IAccessControllerpLifeCycleName - the name of the life-cycle object
true if it's allowed to open the connection, otherwise falsepublic void addAccess(java.lang.String pLifeCycleName)
addAccess in interface IAccessControllerpLifeCycleName - the name of the life-cycle objectpublic void removeAccess(java.lang.String pLifeCycleName)
removeAccess in interface IAccessControllerpLifeCycleName - the name of the life-cycle objectpublic java.lang.String find(java.lang.String pName)
find in interface IAccessControllerpName - the object name (full qualified or not)
null if no lifecycle object
         name was found for the given object name| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||