|
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.Ace5Session
public class Ace5Session
This is the user's authentication session that performs an auththentication request. It implements functionality in the ACE5 API.
| Field Summary |
|---|
| Fields inherited from interface com.rsa.authagent.authapi.AuthSession |
|---|
ACCESS_DENIED, ACCESS_OK, NEW_PIN_REQUIRED, NEXT_CODE_BAD, NEXT_CODE_REQUIRED, PIN_ACCEPTED, PIN_REJECTED |
| Method Summary | |
|---|---|
int |
check(java.lang.String userID,
java.lang.String passCode)
Requests the Authentication Manager to validate the user's passcode. |
int |
clientCheck(java.lang.String userID,
java.lang.String passCode,
java.net.InetAddress clientAddr)
Requests the Authentication Manager to validate the user's passcode on behalf of the RSA Authentication Agent, which is represented by an IP address. |
void |
close()
Cleans up the session data and closes any open sockets. |
long |
getAceTime()
Obtains the UTC time of the Authentication Manager. |
int |
getAuthStatus()
Calls check(), clientCheck(), lock(), next(), and pin() to obtain the status of the last user's authentication request. |
PinData |
getPinData()
Obtains the PIN parameters, including maximum and minimum lengths, PIN generation policy, and any PIN restrictions. |
java.lang.String |
getShell()
Gets the Shell value |
int |
lock(java.lang.String userID)
Requests the Authentication Manager to lock the user name that the user entered. |
int |
next(java.lang.String nextCode)
To confirm the user's possession of the token, the Authentication Manager in certain instances puts the user into the Next Tokencode mode, requiring the user to enter the next tokencode displayed on the RSA SecurID token. |
int |
pin(java.lang.String userPin)
The first time a user authenticates with an RSA SecurID token, the user is in New PIN mode, in which the user is either assigned or must choose a PIN. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int check(java.lang.String userID,
java.lang.String passCode)
throws AuthAgentException
AuthSession
check in interface AuthSessionuserID - user name entered during the current authentication request. Maximun length allowed for userID is 64.passCode - RSA SecurID passcode that the user supplied during authentication. Maximun length allowed for passCode is 16.
AuthAgentExceptionAuthSession.check(java.lang.String, java.lang.String)
public int clientCheck(java.lang.String userID,
java.lang.String passCode,
java.net.InetAddress clientAddr)
throws AuthAgentException
AuthSession
clientCheck in interface AuthSessionuserID - user name entered in the current authentication request. Maximun length allowed for userID is 64.passCode - RSA SecurID passcode that the user supplied during authentication. Maximun length allowed for passCode is 16.clientAddr - IP address of the RSA Authentication Agent initiating the request
AuthAgentExceptioncom.rsa.authagent.authapi.AuthSession#clientCheck(java.lang.String, java.lang.String, java.lang.String)
public void close()
throws AuthAgentException
AuthSession
close in interface AuthSessionAuthAgentExceptionAuthSession.close()
public long getAceTime()
throws AuthAgentException
AuthSession
getAceTime in interface AuthSessionAuthAgentExceptionAuthSession.getAceTime()
public int getAuthStatus()
throws AuthAgentException
AuthSession
getAuthStatus in interface AuthSessionAuthAgentExceptionAuthSession.getAuthStatus()
public java.lang.String getShell()
throws AuthAgentException
getShell in interface AuthSessionAuthAgentException
public PinData getPinData()
throws AuthAgentException
AuthSessionFirst call check() or clientCheck(). Call this API only when the status code from check() or clientCheck() indicates the user is in New PIN mode, else it throws an exception.
getPinData in interface AuthSessionAuthAgentExceptionAuthSession.getPinData()
public int lock(java.lang.String userID)
throws AuthAgentException
AuthSession
lock in interface AuthSessionuserID - user name entered during the current authentication request. Maximun length allowed for userID is 64.
AuthAgentExceptionAuthSession.lock(java.lang.String)
public int next(java.lang.String nextCode)
throws AuthAgentException
AuthSession
next in interface AuthSessionnextCode - next tokencode displayed on the user's RSA SecurID token and entered by the user. Maximun length allowed for nextCode is 16.
AuthAgentExceptionAuthSession.next(java.lang.String)
public int pin(java.lang.String userPin)
throws AuthAgentException
AuthSession
pin in interface AuthSessionuserPin - PIN the user supplies, if applicable, or the system-generated PIN. Maximun length allowed for userPin is 16.
AuthAgentExceptionAuthSession.pin(java.lang.String)
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||