|
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.SmAuthQueryResponse
public class SmAuthQueryResponse
Contains constants that specify the kind of credentials, if any, that are required for authentication. This class also allows a text message to be returned to SiteMinder for display to the user.
The constants are bit flags, and one or more may apply. The authentication scheme mustOR together all the appropriate values to form its response code for a
SMAUTH_QUERY_CREDENTIALS_REQ query.
SMAUTH_CRED_FORM_REQUIRED), the authentication scheme
must provide a URL where the credentials are to be collected.
In those cases, the authentication scheme calls
setResponseBuffer() to specify the URL.
set... methods in this class pass information directly to SiteMinder.
| Field Summary | |
|---|---|
static int |
SMAUTH_API_VERSION_V3
Authentication scheme versions. |
static int |
SMAUTH_API_VERSION_V6
|
static int |
SMAUTH_CRED_ALLOW_ANONYMOUS
Internal use only. |
static int |
SMAUTH_CRED_ALLOW_SAVE_CREDS
Specifies whether the credentials can be saved for 30 days by the user. |
static int |
SMAUTH_CRED_BASIC
User name and password are required. |
static int |
SMAUTH_CRED_CERT_OR_BASIC
Either a certificate is required or a user name and password are required. |
static int |
SMAUTH_CRED_CERT_OR_FORM
Either a certificate is required or a form-based user name and password are required. |
static int |
SMAUTH_CRED_DIGEST
The required user name and password are exchanged using the digest protocol. |
static int |
SMAUTH_CRED_DO_NOT_CHALLENGE
Do not challenge for credentials. |
static int |
SMAUTH_CRED_ETSSOCOOKIE
Internal use only. |
static int |
SMAUTH_CRED_ETSSOCOOKIE_OR_BASIC
Internal use only. |
static int |
SMAUTH_CRED_ETSSOCOOKIE_OR_FORM
Internal use only. |
static int |
SMAUTH_CRED_FORM_REQUIRED
A form-based user name and password are required. |
static int |
SMAUTH_CRED_METADATA_REQUIRED
Internal use only. |
static int |
SMAUTH_CRED_NONE
No credentials are required. |
static int |
SMAUTH_CRED_NT_CHALLENGE_RESPONSE
The required user name and password are exchanged using the NT Challenge Response protocol. |
static int |
SMAUTH_CRED_PASSPORT
Internal use only. |
static int |
SMAUTH_CRED_PRESERVE_SESSION_ID
The session ID should be preserved if the current session is still valid. |
static int |
SMAUTH_CRED_SAML
Internal use only. |
static int |
SMAUTH_CRED_SSL_REQUIRED
An SSL connection is required. |
static int |
SMAUTH_CRED_X509CERT
A full X.509 Client Certificate is required. |
static int |
SMAUTH_CRED_X509CERT_ISSUER_DN
An issuer DN from an X.509 Client Certificate is required. |
static int |
SMAUTH_CRED_X509CERT_USER_DN
A user DN from an X.509 Client Certificate is required. |
static int |
SMAUTH_CRED_XML_DOCUMENT_MAPPED
Internal use only. |
static int |
SMAUTH_CRED_XML_DSIG
Internal use only. |
static int |
SMAUTH_CRED_XML_DSIG_XKMS
Internal use only. |
| Method Summary | |
|---|---|
int |
getMaxResponseSize()
Retrieves the maximum number of bytes that can be passed in setResponseBuffer(). |
void |
setResponseBuffer(java.lang.String response)
Sets the response text for this authentication request. |
void |
setResponseCode(int code)
Sets the response code to pass to the Policy Server. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SMAUTH_API_VERSION_V3
Authentication scheme versions.
public static final int SMAUTH_API_VERSION_V6
public static final int SMAUTH_CRED_NONE
public static final int SMAUTH_CRED_BASIC
public static final int SMAUTH_CRED_DIGEST
public static final int SMAUTH_CRED_X509CERT
SMAUTH_CRED_SSL_REQUIRED must be specified.
public static final int SMAUTH_CRED_X509CERT_USER_DN
SMAUTH_CRED_SSL_REQUIRED must be specified.
public static final int SMAUTH_CRED_X509CERT_ISSUER_DN
SMAUTH_CRED_SSL_REQUIRED must be specified.
public static final int SMAUTH_CRED_CERT_OR_BASIC
public static final int SMAUTH_CRED_NT_CHALLENGE_RESPONSE
public static final int SMAUTH_CRED_CERT_OR_FORM
setResponseBuffer()
to specify the URL.
public static final int SMAUTH_CRED_XML_DOCUMENT_MAPPED
public static final int SMAUTH_CRED_XML_DSIG
public static final int SMAUTH_CRED_XML_DSIG_XKMS
public static final int SMAUTH_CRED_SAML
public static final int SMAUTH_CRED_PASSPORT
public static final int SMAUTH_CRED_ETSSOCOOKIE
public static final int SMAUTH_CRED_ETSSOCOOKIE_OR_BASIC
public static final int SMAUTH_CRED_ETSSOCOOKIE_OR_FORM
setResponseBuffer() to specify the URL.
public static final int SMAUTH_CRED_SSL_REQUIRED
setResponseBuffer()
to specify the URL.
public static final int SMAUTH_CRED_FORM_REQUIRED
setResponseBuffer()
to specify the URL.
public static final int SMAUTH_CRED_ALLOW_SAVE_CREDS
public static final int SMAUTH_CRED_PRESERVE_SESSION_ID
public static final int SMAUTH_CRED_DO_NOT_CHALLENGE
public static final int SMAUTH_CRED_METADATA_REQUIRED
public static final int SMAUTH_CRED_ALLOW_ANONYMOUS
| Method Detail |
|---|
public int getMaxResponseSize()
setResponseBuffer().
public void setResponseBuffer(java.lang.String response)
Sets the response text for this authentication request. SiteMinder displays the response text to the user.
The response text can also be used to specify a URL where credentials must be collected.getMaxResponseSize(), the response text is truncated.
response - The response text to pass to the Policy Server.public void setResponseCode(int code)
Sets the response code to pass to the Policy Server.
The response code you set depends on the query code that SiteMinder passes to thequery()
method, as follows:
SMAUTH_QUERY_DESCRIPTION.
With this query code, specify one of the version constants
(SM_API_VERSION_...) in APIContext.
SMAUTH_QUERY_CREDENTIALS_REQ.
With this query code, specify one or more of this class's credentials constants
(SMAUTH_CRED_...).
If multiple response code values apply to the query, OR them together.
code - - The response code to pass to the Policy Server.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||