public interface ResolveUsernameApiOp extends APIOperation
NO_TIMEOUT
Modifier and Type | Method and Description |
---|---|
Uid |
resolveUsername(ObjectClass objectClass,
String username,
OperationOptions options)
Resolve the given
authentication username to
the corresponding Uid . |
Uid resolveUsername(ObjectClass objectClass, String username, OperationOptions options)
authentication
username to
the corresponding Uid
.
The Uid
is the one that
AuthenticationApiOp.authenticate(org.identityconnectors.framework.common.objects.ObjectClass, java.lang.String, org.identityconnectors.common.security.GuardedString, org.identityconnectors.framework.common.objects.OperationOptions)
would return in case of a
successful authentication.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.options
- additional options that impact the way this operation is run.
May be null.RuntimeException
- if the username could not be resolved.Copyright © 2022. All rights reserved.