public class UsernameTokenLoginManagerImpl extends Object implements UsernameTokenLoginManager
| Constructor and Description | 
|---|
UsernameTokenLoginManagerImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected FdkSessionImpl | 
getConnectedSession()
Return the web service session. 
 | 
protected Principal | 
getWsSecurityUser()
Get the Web Services Security User. 
 | 
protected boolean | 
isWebServiceCall()
Returns  
true if the current call was made from a web services
 client. | 
protected NamedValue[] | 
login(FdkCredential c,
     NamedValue[] options,
     AttributeRequest[] userAttributes)
Internal login method used by web services login managers. 
 | 
NamedValue[] | 
login(NamedValue[] options,
     AttributeRequest[] userAttributes)
Start a session authenticated by the Web Services Username Token. 
 | 
void | 
referenceTypes(TypeReference ref)
Dummy web service method to create a reference to data types used
 in the web services to insure that they are defined in the WSDL. 
 | 
public NamedValue[] login(NamedValue[] options, AttributeRequest[] userAttributes) throws FdkException
login in interface UsernameTokenLoginManageroptions - Options that should be set on the session.
                     NOTE:
                     Currently no options are supported, this argument is
                     ignored and null can be safely passed.userAttributes - Optional attributes on the user item that should
                       be returned. Can be null.NamedValue[] set of properties that contains the
         following keys (listed below as defined constants and literal
         strings):
    WebServicesConstants.LOGIN_USER ("LOGIN_USER") -
           The user item, which includes the requested attributes.
    WebServicesConstants.SESSION_TIMEOUT
               ("SESSION_TIMEOUT") -
           The session inactivity timeout, in seconds.
    WebServicesConstants.TRANSACTION_TIMEOUT
               ("TRANSACTION_TIMEOUT") -
           The transaction inactivity timeout, in seconds.FdkExceptionprotected Principal getWsSecurityUser()
protected final boolean isWebServiceCall()
true if the current call was made from a web services
 client. This check can be made by any subclasses in order to determine
 functionality and restrictions based on the originating call. This
 feature should be used lightly and only where really necessary as
 this is not an idea way of implementing business logic.public void referenceTypes(TypeReference ref)
protected final NamedValue[] login(FdkCredential c, NamedValue[] options, AttributeRequest[] userAttributes) throws FdkException
FdkExceptionprotected final FdkSessionImpl getConnectedSession() throws FdkException
FdkExceptionCopyright © 2025. All rights reserved.