public interface AuthenticationApiOp extends APIOperation
NO_TIMEOUT
Modifier and Type | Method and Description |
---|---|
Uid |
authenticate(ObjectClass objectClass,
String username,
GuardedString password,
OperationOptions options)
Most basic authentication available.
|
Uid authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
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.RuntimeException
- if the credentials do not pass authentication otherwise
nothing.Copyright © 2022. All rights reserved.