Interface AuthenticationApiOp
-
- All Superinterfaces:
APIOperation
- All Known Subinterfaces:
ConnectorFacade
public interface AuthenticationApiOp extends APIOperation
-
-
Field Summary
-
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Uidauthenticate(ObjectClass objectClass, java.lang.String username, GuardedString password, OperationOptions options)Most basic authentication available.
-
-
-
Method Detail
-
authenticate
Uid authenticate(ObjectClass objectClass, java.lang.String username, GuardedString password, OperationOptions options)
Most basic authentication available.- 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
- Throws:
java.lang.RuntimeException- if the credentials do not pass authentication otherwise nothing.
-
-