|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.policyserver.smapi.SmAuthenticationResult
public class SmAuthenticationResult
Contains reason codes and status codes returned from the method
authenticate()
in the custom authentication scheme class.
REASON_NONE if no problem occurred.
SmAuthStatus class, which may be passed to
the SmAuthenticationResult constructor.
| Constructor Summary | |
|---|---|
SmAuthenticationResult()
This constructor is equivalent to SmAuthenticationResult(SMAUTH_SUCCESS, 0). |
|
SmAuthenticationResult(SmAuthStatus status,
int reason)
Constructs an authentication result with the specified status and reason codes. |
|
| Method Summary | |
|---|---|
int |
getReason()
Retrieves the reason portion of this authentication result. |
SmAuthStatus |
getStatus()
Retrieves the status portion of this authentication result. |
void |
setReason(int reason)
Sets the reason portion of this authentication result. |
void |
setStatus(SmAuthStatus status)
Sets the status portion of this authentication result. |
java.lang.String |
toString()
Returns a string representation of the currently applicable status and reason codes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int REASON_NONE
public static final int REASON_PW_MUST_CHANGE
public static final int REASON_INVALID_SESSION
public static final int REASON_REVOKED_SESSION
public static final int REASON_EXPIRED_SESSION
public static final int REASON_AUTH_LEVEL_TOO_LOW
public static final int REASON_UNKNOWN_USER
public static final int REASON_USER_DISABLED
public static final int REASON_INVALID_SESSION_ID
public static final int REASON_INVALID_SESSION_IP
public static final int REASON_CERTIFICATE_REVOKED
public static final int REASON_CRL_OUT_OF_DATE
public static final int REASON_CERT_REVOKED_KEY_COMPROMISED
public static final int REASON_CERT_REVOKED_AFFILIATION_CHANGE
public static final int REASON_CERT_ON_HOLD
public static final int REASON_TOKEN_CARD_CHALLENGE
public static final int REASON_IMPERSONATED_USER_NOT_IN_DIR
public static final int REASON_ANONYMOUS
public static final int REASON_PW_WILL_EXPIRE
public static final int REASON_PW_EXPIRED
public static final int REASON_IMMED_PW_CHANGE_REQUIRED
public static final int REASON_PW_CHANGE_FAILED
public static final int REASON_BAD_PW_CHANGE
public static final int REASON_PW_CHANGE_ACCEPTED
public static final int REASON_EXCESSIVE_FAILED_LOGIN_ATTEMPTS
public static final int REASON_ACCOUNT_INACTIVITY
public static final int REASON_NO_REDIRECT_CONFIGURED
public static final int REASON_ERROR_MESSAGE_IS_REDIRECT
public static final int REASON_NEXT_TOKEN_CODE
public static final int REASON_NEW_PIN_SELECT
public static final int REASON_NEW_PIN_SYS_TOKENCODE
public static final int REASON_NEW_USER_PIN_TOKENCODE
public static final int REASON_NEW_PIN_ACCEPTED
public static final int REASON_GUEST
public static final int REASON_PW_SELF_CHANGE
public static final int REASON_SERVER_EXCEPTION
public static final int REASON_UNKNOWN_SCHEME
public static final int REASON_UNSUPPORTED_SCHEME
public static final int REASON_MISCONFIGURED
public static final int REASON_BUFFER_OVERFLOW
public static final int REASON_SET_PERSISTENT_SESSION_FAILED
public static final int REASON_USER_LOGOUT
public static final int REASON_IDLE_SESSION
public static final int REASON_POLICY_SERVER_ENFORCED_TIMEOUT
public static final int REASON_POLICY_SERVER_ENFORCED_IDLE
public static final int REASON_FEDERATION_NO_LOGIN_ID
public static final int REASON_FEDERATION_USER_NOT_IN_DIR
public static final int REASON_FEDERATION_INVALID_MESSAGE
public static final int REASON_FEDERATION_UNACCEPTED_MESSAGE
public static final int REASON_MAX_DEFINED
| Constructor Detail |
|---|
public SmAuthenticationResult()
SmAuthenticationResult(SMAUTH_SUCCESS, 0).
public SmAuthenticationResult(SmAuthStatus status,
int reason)
status - A status value indicating the result of a user disambiguation
or user authentication operation.reason - A non-negative integer reason code. Values range from 0 to 65535.
Reason values 0 (REASON NONE) through 31999
are reserved for use by SiteMinder (the reason constants in this
class are included in this range). Values 32000 through 32767
are available for user-defined reasons.| Method Detail |
|---|
public SmAuthStatus getStatus()
public void setStatus(SmAuthStatus status)
status - A valid SmAuthStatus value.public int getReason()
public void setReason(int reason)
throws java.lang.IllegalArgumentException
reason - A non-negative integer reason code. Values range from 0 to 65535.
Reason values 0 (REASON NONE) through 31999
are reserved for use by SiteMinder (the reason constants in this
class are included in this range). Values 32000 through 32767
are available for user-defined reasons.
java.lang.IllegalArgumentExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||