Package com.adobe.idp.um.api
Interfacepublic interface AuthenticationManager

This is the primary interface for authenticating users.



Public Methods
 MethodDefined by
  
AuthResult authenticate(String username, byte[] password)
This is the primary method for authenticating a user.
AuthenticationManager
  
AuthResult authenticate(String unsignedData, String signatureValue)
This method is for certificate-based authentication.
AuthenticationManager
  
AuthResult authenticate(String wssecHeader)
This method authenticates a WS-Security header in a SOAP request.
AuthenticationManager
  
AuthResult authenticate(Element wssecHeaderElement)
This method authenticates a WS-Security header element in a SOAP request.
AuthenticationManager
  
AuthResult authenticate(byte[] ssoToken, boolean createAssertion)
This is the primary method for authenticating a user from the single sign-on (SSO) servlet.
AuthenticationManager
  
AuthResult getAuthResultOnBehalfOfUser(String canonicalName, String domainName, Context caller)
This method retrieves an authentication result on behalf of a user.
AuthenticationManager
  
This method retrieves a List of all the authentication schemes.
AuthenticationManager
  
Retrieves the single sign-on (SSO) token used in the SSO servlet.
AuthenticationManager
  
byte[] getSSOTokenBytes(Context context)
Retrieves a byte array representing the single sign-on (SSO) token used in the SSO servlet.
AuthenticationManager
  
AuthResult validateAssertion(String assertion)
This method creates and returns an authentication result after validating the assertion.
AuthenticationManager
  
This method creates and returns a com.adobe.idp.Context after validating the assertion contained in the context.
AuthenticationManager
Method Detail
authenticate()
public AuthResult authenticate(String username, byte[] password)

This is the primary method for authenticating a user. It returns an authentication result indicating whether authentication was sucessful. That result can then be used in the com.adobe.idp.Context.

Parameters

username — The user name.
 
password — The password.

Returns
The authentication result.

Throws
UMException

See also

authenticate() 
public AuthResult authenticate(String unsignedData, String signatureValue)

This method is for certificate-based authentication. It returns an authentication result indicating whether authentication was sucessful. That result can then be used in the com.adobe.idp.Context.

Parameters

unsignedData — The unsigned data used in certificate-based authentication.
 
signatureValue — A base64-encoded, PKCS7-Detached digital signature.

Returns
The authentication result.

Throws
UMException

See also

authenticate() 
public AuthResult authenticate(String wssecHeader)

This method authenticates a WS-Security header in a SOAP request. It returns an authentication result indicating whether authentication was sucessful. That result can then be used in the com.adobe.idp.Context.

Parameters

wssecHeader — The WS-Security header.

Returns
The authentication result.

Throws
UMException

See also

authenticate() 
public AuthResult authenticate(Element wssecHeaderElement)

This method authenticates a WS-Security header element in a SOAP request. It returns an authentication result indicating whether authentication was sucessful. That result can then be used in the com.adobe.idp.Context.

Parameters

wssecHeaderElement — The WS-Security header element.

Returns
The authentication result.

Throws
UMException

See also

authenticate() 
public AuthResult authenticate(byte[] ssoToken, boolean createAssertion)

This is the primary method for authenticating a user from the single sign-on (SSO) servlet.

Parameters

ssoToken — The SSO token.
 
createAssertion — Used to determine whether an assertion is created.

Returns
The authentication result.

Throws
IDException
 
IDPSystemException
getAuthResultOnBehalfOfUser() 
public AuthResult getAuthResultOnBehalfOfUser(String canonicalName, String domainName, Context caller)

This method retrieves an authentication result on behalf of a user. This method can be used to impersonate a user (typically a system user) who has higher privilege.

Parameters

canonicalName — 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.

Returns
The authentication result.

Throws
UMException
getAuthSchemes() 
public List getAuthSchemes()

This method retrieves a List of all the authentication schemes.

Returns
A List containing all the authentication schemes.

Throws
UMException
getSSOToken() 
public SSOToken getSSOToken(Context context)

Retrieves the single sign-on (SSO) token used in the SSO servlet.

Parameters

context — The context.

Returns
The SSO token.

Throws
UMException
getSSOTokenBytes() 
public byte[] getSSOTokenBytes(Context context)

Retrieves a byte array representing the single sign-on (SSO) token used in the SSO servlet.

Parameters

context — The context.

Returns
A byte array containing the SSO token information.

Throws
UMException
validateAssertion() 
public AuthResult validateAssertion(String assertion)

This method creates and returns an authentication result after validating the assertion.

Parameters

assertion — The assertion.

Returns
The authentication result.

Throws
UMException
validateAssertion() 
public Context validateAssertion(Context ctx)

This method creates and returns a com.adobe.idp.Context after validating the assertion contained in the context. Returns the same context back if it is localOnly

Parameters

ctx — The context.

Returns
The validated context.

Throws
UMException




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/idp/um/api/AuthenticationManager.html