Interface RegistrationInfo
public interface RegistrationInfo
The object exposing the registration information for an
Authenticator
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
isRegistered
(String username) Returns true if the provided user is registered andfalse
otherwise.Returns the objects representing the accounts that are registered with this authenticator.
-
Method Details
-
registeredAccounts
Returns the objects representing the accounts that are registered with this authenticator.If an authenticator that is registered for a given username is provided through
AuthenticatorSelector
for registration operations associated with the account associated with the username, aOperationError
will be returned as a result of the operation.If an authenticator that is not registered for a given username is provided through
AuthenticatorSelector
for authentication operations associated with the account associated with the username, anOperationError
will be returned as a result of the operation.- Returns:
- the
Set
containing the registered accounts
-
isRegistered
Returns true if the provided user is registered andfalse
otherwise.- Parameters:
username
- the username- Returns:
- true if the provided user is registered and
false
otherwise
-