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
-
Field Summary
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionAuthenticationImpl
(ConnectorOperationalContext context, Connector connector) Pass the configuration etc to the abstract class. -
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(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 Details
-
AuthenticationImpl
Pass the configuration etc to the abstract class.
-
-
Method Details
-
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:
-