public class AuthenticationImpl extends ConnectorAPIOperationRunner implements AuthenticationApiOp
NO_TIMEOUT| Constructor and Description |
|---|
AuthenticationImpl(ConnectorOperationalContext context,
Connector connector)
Pass the configuration etc to the abstract class.
|
| Modifier and Type | Method and Description |
|---|---|
Uid |
authenticate(ObjectClass objectClass,
String username,
GuardedString password,
OperationOptions options)
Authenticate using the basic credentials.
|
getConnector, getNormalizer, getOperationalContextpublic AuthenticationImpl(ConnectorOperationalContext context, Connector connector)
public Uid authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
authenticate in interface AuthenticationApiOpobjectClass - 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.AuthenticationOpTests#authenticate(String, String)Copyright © 2022. All rights reserved.