|
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.SmAuthStatus
public class SmAuthStatus
Contains Authentication API status codes such as
SMAUTH_ACCEPT and SMAUTH_REJECT.
SmAuthenticationResult.
The object is also the return value type for the following
authentication scheme methods:
| Field Summary | |
|---|---|
static SmAuthStatus |
SMAUTH_ACCEPT
Indicates that the user is authenticated. |
static SmAuthStatus |
SMAUTH_ATTEMPT
Indicates that the user could not be found in the user directory during a disambiguation attempt. |
static SmAuthStatus |
SMAUTH_CHALLENGE
Indicates that the user is challenged. |
static SmAuthStatus |
SMAUTH_FAILURE
Indicates that the custom authentication scheme operation failed. |
static SmAuthStatus |
SMAUTH_NO_USER_CONTEXT
Indicates that SiteMinder should disambiguate the user. |
static SmAuthStatus |
SMAUTH_REJECT
Indicates that the user is not authenticated. |
static SmAuthStatus |
SMAUTH_SUCCESS
Indicates a successful custom authentication scheme operation. |
static SmAuthStatus |
SMAUTH_SUCCESS_USER_DN
Indicates that the authentication scheme will disambiguate the user. |
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns a string representation of the current status value. |
SmAuthStatus |
valueOf(int anInt)
Retrieves the status constant associated with the integer parameter, or null if the integer is out of range. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final SmAuthStatus SMAUTH_SUCCESS
Indicates a successful custom authentication scheme operation.
This constant's meaning depends upon the context in which it is used:setUserText().
init(),
query(),
or release(), indicates that the
method was successful.
public static final SmAuthStatus SMAUTH_FAILURE
Indicates that the custom authentication scheme operation failed.
Error text can be passed back to the user in
setUserText()
public static final SmAuthStatus SMAUTH_ACCEPT
Indicates that the user is authenticated.
public static final SmAuthStatus SMAUTH_REJECT
Indicates that the user is not authenticated.
public static final SmAuthStatus SMAUTH_CHALLENGE
Indicates that the user is challenged.
The authentication scheme passes the challenge message to SiteMinder through thesetUserText() method. Also, a
reason code indicating the reason for the challenge must be supplied in the
SmAmAuthenticationResult object returned by
authenticate().
public static final SmAuthStatus SMAUTH_ATTEMPT
Indicates that the user could not be found in the user directory during a disambiguation attempt.
public static final SmAuthStatus SMAUTH_NO_USER_CONTEXT
Indicates that SiteMinder should disambiguate the user.
When passing this status code to SiteMinder, the authentication scheme should also pass an empty string throughsetUserText().
public static final SmAuthStatus SMAUTH_SUCCESS_USER_DN
Indicates that the authentication scheme will disambiguate the user.
After finding the user in the user store, the authentication scheme passes the user's complete DN or ODBC database ID to SiteMinder insetUserText().
Only one DN or database ID can be passed at one time.
| Method Detail |
|---|
public SmAuthStatus valueOf(int anInt)
null if the integer is out of range.
anInt - The integer assigned to the constant to retrieve, as follows:
SMAUTH_SUCCESS.
SMAUTH_FAILURE.
SMAUTH_ACCEPT.
SMAUTH_REJECT.
SMAUTH_CHALLENGE.
SMAUTH_ATTEMPT.
SMAUTH_NO_USER_CONTEXT.
SMAUTH_SUCCESS_USER_DN.
null if the integer is out of range.public java.lang.String toString()
Returns a string representation of the current status value.
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 | ||||||||