|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.authagent.authapi.AuthSessionFactory
public class AuthSessionFactory
Provides entry to the Authentication API; creates user sessions for authentication purposes.
Note: Calling getInstance() more than once will return multiple instances.
| Method Summary | |
|---|---|
AuthSession |
createUserSession()
Creates a user session for subsequent authentication requests. |
ServerStatus |
getAceServerStatus()
Obtains the current status of the realm. |
static AuthSessionFactory |
getInstance()
Initializes and returns the Authentication API factory with the default settings for creating user sessions. |
static AuthSessionFactory |
getInstance(java.lang.String configPath)
Initializes and returns the Authentication API factory with specific settings for creating user sessions. |
void |
shutdown()
Invokes a shutdown process that allows the Authentication API to free up system resources, save data, close files, and perform other necessary cleanup tasks. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AuthSessionFactory getInstance()
throws AuthAgentException
AuthAgentException - if the Authentication API factory cannot be created
public static AuthSessionFactory getInstance(java.lang.String configPath)
throws AuthAgentException
configPath - path to the Authentication API properties file
AuthAgentException - if the Authentication API factory cannot be created
public AuthSession createUserSession()
throws AuthAgentException
AuthAgentException - if the session cannot be createdAuthSession
public ServerStatus getAceServerStatus()
throws AuthAgentException
AuthAgentExceptionServerStatus
public void shutdown()
throws AuthAgentException
Important: Using the Authentication API during the shutdown process causes unknown behaviors.
AuthAgentException
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||