Class AuthenticationImpl
- java.lang.Object
-
- org.identityconnectors.framework.impl.api.local.operations.APIOperationRunner
-
- org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
-
- org.identityconnectors.framework.impl.api.local.operations.AuthenticationImpl
-
- All Implemented Interfaces:
APIOperation
,AuthenticationApiOp
public class AuthenticationImpl extends ConnectorAPIOperationRunner implements AuthenticationApiOp
-
-
Field Summary
-
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description AuthenticationImpl(ConnectorOperationalContext context, Connector connector)
Pass the configuration etc to the abstract class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uid
authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
Authenticate using the basic credentials.-
Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
getConnector, getNormalizer, getOperationalContext
-
-
-
-
Constructor Detail
-
AuthenticationImpl
public AuthenticationImpl(ConnectorOperationalContext context, Connector connector)
Pass the configuration etc to the abstract class.
-
-
Method Detail
-
authenticate
public Uid authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
Authenticate using the basic credentials.- Specified by:
authenticate
in interfaceAuthenticationApiOp
- Parameters:
objectClass
- The object class to use for authenticate. Will typically be an account. Must not be null.username
- string that represents the account or user id.password
- string that represents the password for the account or user.options
- additional options that impact the way this operation is run. May be null.- Returns:
- Uid The uid of the account that was used to authenticate
- See Also:
AuthenticationOpTests#authenticate(String, String)
-
-