|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectManagerServiceClient
com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient
public class AuthenticationManagerServiceClient
This is the client implementation of the AuthenticationManager class.
AuthenticationManager| Constructor Summary | |
|---|---|
AuthenticationManagerServiceClient(ServiceClientFactory serviceClientFactory)
Authentication manager service client constructor. |
|
| Method Summary | |
|---|---|
AuthResult |
authenticate(byte[] ssoToken,
boolean createAssertion)
This is the primary method for authenticating a user from the single sign-on (SSO) servlet. |
AuthResult |
authenticate(org.w3c.dom.Element wssecHeaderElement)
This method authenticates a WS-Security header element in a SOAP request. |
AuthResult |
authenticate(org.w3c.dom.Element wssecHeaderElement,
java.util.List domainList)
This method authenticates a WS-Security header element in a SOAP request. |
AuthResult |
authenticate(HttpRequestToken requestToken)
This method authenticates a WS-Security header in a SOAP request. |
AuthResult |
authenticate(java.lang.String wssecHeader)
This method authenticates a WS-Security header in a SOAP request. |
AuthResult |
authenticate(java.lang.String username,
byte[] password)
This is the primary method for authenticating a user. |
AuthResult |
authenticate(java.lang.String username,
byte[] password,
java.util.List domainList)
This is the primary method for authenticating a user. |
AuthResult |
authenticate(java.lang.String wssecHeader,
java.util.List domainList)
This method authenticates a WS-Security header in a SOAP request. |
AuthResult |
authenticate(java.lang.String unsignedData,
java.lang.String signatureValue)
This method is for certificate-based authentication. |
AuthResult |
authenticate(java.lang.String unsignedData,
java.lang.String signatureValue,
java.util.List domainList)
This method is for certificate-based authentication. |
AuthResult |
getAuthResultOnBehalfOfUser(java.lang.String canonicalName,
java.lang.String domainName,
Context caller)
This method retrieves an authentication result on behalf of a user. |
java.util.List |
getAuthSchemes()
This method retrieves a List of all the authentication schemes. |
SSOToken |
getSSOToken(Context context)
Retrieves the single sign-on (SSO) token used in the SSO servlet. |
byte[] |
getSSOTokenBytes(Context context)
Retrieves a byte array representing the single sign-on (SSO) token used in the SSO servlet. |
AuthResult |
renewAssertion(java.lang.String assertionId,
Context context)
Renews the SAML assertion referred by the given assertionId. |
Context |
validateAssertion(Context ctx)
This method creates and returns a Context after validating the assertion contained in the context. |
AuthResult |
validateAssertion(java.lang.String assertion)
This method creates and returns an authentication result after validating the assertion. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationManagerServiceClient(ServiceClientFactory serviceClientFactory)
serviceClientFactory - The service client factory.| Method Detail |
|---|
public AuthResult authenticate(java.lang.String username,
byte[] password,
java.util.List domainList)
throws UMException
Context.
authenticate in interface AuthenticationManagerusername - The user name.password - The password.domainList - List of domains against which user should be authenticated
UMExceptionContext
public AuthResult authenticate(java.lang.String username,
byte[] password)
throws UMException
Context.
authenticate in interface AuthenticationManagerusername - The user name.password - The password.
UMExceptionContext
public AuthResult authenticate(byte[] ssoToken,
boolean createAssertion)
throws UMException
authenticate in interface AuthenticationManagerssoToken - The SSO token.createAssertion - Used to determine whether an assertion is created.
UMException
public AuthResult authenticate(java.lang.String wssecHeader,
java.util.List domainList)
throws UMException
Context.
authenticate in interface AuthenticationManagerwssecHeader - The WS-Security header.domainList - List of domains against which user should be authenticated
UMExceptionContext
public AuthResult authenticate(java.lang.String wssecHeader)
throws UMException
Context.
authenticate in interface AuthenticationManagerwssecHeader - The WS-Security header.
UMExceptionContext
public AuthResult getAuthResultOnBehalfOfUser(java.lang.String canonicalName,
java.lang.String domainName,
Context caller)
throws UMException
getAuthResultOnBehalfOfUser in interface AuthenticationManagercanonicalName - The canonical name of the user.domainName - The domain name to which the user belongs. This parameter is case sensitive.
For example, the domain names "adobe" and "Adobe" would be treated differently.caller - The context of the caller.
UMException
public SSOToken getSSOToken(Context context)
throws UMException
getSSOToken in interface AuthenticationManagercontext - The context.
UMException
public byte[] getSSOTokenBytes(Context context)
throws UMException
getSSOTokenBytes in interface AuthenticationManagercontext - The context.
UMException
public AuthResult authenticate(org.w3c.dom.Element wssecHeaderElement,
java.util.List domainList)
throws UMException
Context.
authenticate in interface AuthenticationManagerwssecHeaderElement - The WS-Security header element.domainList - List of domains against which user should be authenticated
UMExceptionContext
public AuthResult authenticate(org.w3c.dom.Element wssecHeaderElement)
throws UMException
Context.
authenticate in interface AuthenticationManagerwssecHeaderElement - The WS-Security header element.
UMExceptionContext
public AuthResult authenticate(java.lang.String unsignedData,
java.lang.String signatureValue,
java.util.List domainList)
throws UMException
Context.
authenticate in interface AuthenticationManagerunsignedData - The unsigned data used in certificate-based authentication.signatureValue - A base64-encoded, PKCS7-Detached digital signature.domainList - List of domains against which user should be authenticated
UMExceptionContext
public AuthResult authenticate(java.lang.String unsignedData,
java.lang.String signatureValue)
throws UMException
Context.
authenticate in interface AuthenticationManagerunsignedData - The unsigned data used in certificate-based authentication.signatureValue - A base64-encoded, PKCS7-Detached digital signature.
UMExceptionContext
public java.util.List getAuthSchemes()
throws UMException
List of all the authentication schemes.
getAuthSchemes in interface AuthenticationManagerList containing all the authentication schemes.
UMException
public AuthResult validateAssertion(java.lang.String assertion)
throws UMException
validateAssertion in interface AuthenticationManagerassertion - The assertion.
UMException
public Context validateAssertion(Context ctx)
throws UMException
Context after validating the assertion contained in the context. Returns the same context back if it is localOnly
validateAssertion in interface AuthenticationManagerctx - The context.
UMException
public AuthResult authenticate(HttpRequestToken requestToken)
throws UMException
Context.
authenticate in interface AuthenticationManagerrequestToken - The WS-Security header.
UMExceptionContext
public AuthResult renewAssertion(java.lang.String assertionId,
Context context)
throws UMException
UMConstants.FGACConstants.PERM_USER_MANAGER_RENEW_ASSERTION permission
UMException exception would be
thrown with error code UMConstants.ErrorCodes.E_ASSERTION_RENEWAL_COUNT_EXCEEDED
UMConstants.SSOConstants.LIVECYCLE_AUTH_TOKEN. The value can also be obtained
using HttpRequestToken. For example
String assertionId = new HttpRequestToken(servletRequest).getAssertionId();
Here the servletRequest is an object of type HttpServletRequest
renewAssertion in interface AuthenticationManagerassertionId - - The id of the assertion for the which renewal is requiredcontext - - Context of the user with specified permission as mentioned above.This context must
be a valid context.
AuthResult containing the renewed assertion
UMException - if the assertion is already expired or the renewal count has exceeded the specified limit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||