javax.rad.server.security
Interface IAccessChecker

All Known Subinterfaces:
IAccessController
All Known Implementing Classes:
DefaultAccessController

public interface IAccessChecker

The IAccessChecker defines the general access check for lifecycle objects.


Method Summary
 String find(ClassLoader pLoader, String pName)
          Search all available lifecycle objects for the given name.
 boolean isAllowed(String pLifeCycleName)
          Checks the access for creating a session.
 

Method Detail

isAllowed

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

Parameters:
pLifeCycleName - the name of the life-cycle object
Returns:
true if it's allowed to open the connection, otherwise false

find

String find(ClassLoader pLoader,
            String pName)
Search all available lifecycle objects for the given name.

Parameters:
pLoader - the class loader or null to use the default class loader
pName - the object name (full qualified or not)
Returns:
the full qualified lifecycle object name or null if no lifecycle object name was found for the given object name


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.