| com.sun.portal.search.db.RDMAuthenticationModule
All known Subclasses: com.sun.portal.search.rdmserver.DSameSecurityManager,
RDMAuthenticationModule | public interface RDMAuthenticationModule (Code) | | An interface for implement an authenticationn module.
RDMSecurityManager will contain only one authenticcation module which used to
authenticate user of a request.
|
getAssociatedSecurityModules | public DatabaseSecurityModule[] getAssociatedSecurityModules()(Code) | | getting the SecurityModules defined within this module.
Each Authentication module could have its predefined security modules
A list of security modules predefined with the authentication module. |
getDefaultDatabaseSecurityModuleName | public String getDefaultDatabaseSecurityModuleName()(Code) | | The default security module for this authentication module.
This will be used if the database doesn't defined its security module.
A default security module. |
initRDMSToken | public boolean initRDMSToken(Object request, RDMRequest req) throws Exception(Code) | | Obtain a SToken object via the external request object or RDMRequest.
This function has to set the SToken in the RDMRequest if the token is created
by using req.setSToken(st)
Parameters: request - An external request, such as httpRequest. Parameters: req - A RDMRequest object true - if the SToken was obtained successfully. throws: java.lang.Exception - Any Exception during the SToken creation. |
isPrivilegedUser | public boolean isPrivilegedUser(SToken stoken) throws Exception(Code) | | Checking current use administration privilege.
Consumed by security module to perform an administration request.
Parameters: stoken - SToken of current request throws: java.lang.Exception - Error true - if the request carries administration privilege. |
|
|