public class AuthenticationUser
extends java.lang.Object
Represents a user that is connected to the Liberator and attempting to be authenticated.
An instance of an AuthenticationUser is held by a UserSession
object that is passed to
one of the Authenticator
interface methods.
An AuthenticationUser instance is also passed directly to Authenticator.authoriseHTTP(com.caplin.server.auth.AuthenticationUser)
as this
is a one-off operation that doesn't have a session associated with it.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
The textual key string or password that has been provided by the client for
authorisation.
|
int |
getSessionCount()
Get the number of active sessions in the Liberator for this user
|
java.lang.String |
getTokenParameter(java.lang.String paramName)
Get fields from a KeyMaster token
|
java.lang.String |
getUserName()
The user name provided by the client for authorisation
|
java.lang.String |
toString() |
public java.lang.String getPassword()
public java.lang.String getUserName()
public java.lang.String getTokenParameter(java.lang.String paramName)
paramName
- The name of the parameter whose associated value is to be returnedpublic int getSessionCount()
public java.lang.String toString()
toString
in class java.lang.Object
Please send bug reports and comments to Caplin support