public class AuthenticationResponse extends java.lang.Object implements SecurityConstants
Modifier and Type | Field and Description |
---|---|
private int |
code
The return code from authentication processing.
|
private java.lang.String |
subject
Subject ID.
|
AUTH_ACTION_ABORT, AUTH_ACTION_CONTINUE, AUTH_ACTION_DONE, AUTH_ACTION_RETRY, AUTH_MODE_CUSTOM, AUTH_MODE_HIGHEST, AUTH_MODE_IDPW, AUTH_MODE_LOWEST, AUTH_MODE_NONE, AUTH_MODE_X509, AUTH_MODE_X509_IDPW, AUTH_REQ_PROCESS, AUTH_REQ_PROGRAM, AUTH_REQ_USER, AUTH_RESULT_INSUFFICIENT_RIGHTS, AUTH_RESULT_INVALID_PASSWORD, AUTH_RESULT_INVALID_USERID, AUTH_RESULT_NONE, AUTH_RESULT_SKIP_TO_NEXT, AUTH_RESULT_SUCCESS, AUTH_RESULT_UNSPECIFIED_FAILURE, PKT_SIZE_SKIP_TO_NEXT
Constructor and Description |
---|
AuthenticationResponse(java.lang.String subject,
int code)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getReturnCode()
Gets the return code from authentication processing.
|
java.lang.String |
getSubject()
Gets the subject ID associated with the instance.
|
private java.lang.String subject
private int code
public AuthenticationResponse(java.lang.String subject, int code)
subject
- Subject ID (null
upon any failures).code
- Return code from authentication processing.public java.lang.String getSubject()
null
on any failure
during authentication processing.public int getReturnCode()
AUTH_RESULT_*
values in SecurityConstants
).