default <C extends Credential,R> R |
RealmIdentity.applyToCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function) |
Apply the given function to the acquired credential, if it is set and of the given type, algorithm, and parameters.
|
default <C extends Credential,R> R |
RealmIdentity.applyToCredential(Class<C> credentialType,
String algorithmName,
Function<C,R> function) |
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
default <C extends Credential,R> R |
RealmIdentity.applyToCredential(Class<C> credentialType,
Function<C,R> function) |
Apply the given function to the acquired credential, if it is set and of the given type.
|
<C extends Credential,R> R |
ServerAuthenticationContext.applyToCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function) |
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential,R> R |
ServerAuthenticationContext.applyToCredential(Class<C> credentialType,
String algorithmName,
Function<C,R> function) |
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential,R> R |
ServerAuthenticationContext.applyToCredential(Class<C> credentialType,
Function<C,R> function) |
Apply the given function to the acquired credential, if it is set and of the given type.
|
SecurityIdentity |
SecurityDomain.authenticate(String name,
Evidence evidence) |
Perform an authentication based on Evidence for the specified identity name.
|
SecurityIdentity |
SecurityDomain.authenticate(Principal principal,
Evidence evidence) |
|
SecurityIdentity |
SecurityDomain.authenticate(Evidence evidence) |
Perform an authentication based on Evidence alone.
|
boolean |
ServerAuthenticationContext.authorize() |
Attempt to authorize an authentication attempt.
|
boolean |
ServerAuthenticationContext.authorize(String name) |
Attempt to authorize a change to a new user (possibly including an authentication attempt).
|
boolean |
ServerAuthenticationContext.authorize(Principal principal) |
Attempt to authorize a change to a new user (possibly including an authentication attempt).
|
default void |
ModifiableRealmIdentityIterator.close() |
Close any underlying resources.
|
void |
ModifiableRealmIdentity.create() |
Create this realm identity.
|
void |
ModifiableRealmIdentity.delete() |
Delete this realm identity.
|
boolean |
RealmIdentity.exists() |
Determine if the identity exists in lieu of verifying or acquiring a credential.
|
boolean |
ServerAuthenticationContext.exists() |
Determine if the current authentication identity actually exists in the realm.
|
default Attributes |
RealmIdentity.getAttributes() |
Get the attributes for the realm identity.
|
default AuthorizationIdentity |
RealmIdentity.getAuthorizationIdentity() |
Get an authorization identity for this pre-authenticated identity.
|
<C extends Credential> C |
RealmIdentity.getCredential(Class<C> credentialType) |
Acquire a credential of the given type.
|
default <C extends Credential> C |
RealmIdentity.getCredential(Class<C> credentialType,
String algorithmName) |
Acquire a credential of the given type and algorithm name.
|
default <C extends Credential> C |
RealmIdentity.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
Acquire a credential of the given type and algorithm name.
|
<C extends Credential> C |
ServerAuthenticationContext.getCredential(Class<C> credentialType) |
Acquire a credential of the given type.
|
<C extends Credential> C |
ServerAuthenticationContext.getCredential(Class<C> credentialType,
String algorithmName) |
Acquire a credential of the given type.
|
<C extends Credential> C |
ServerAuthenticationContext.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
Acquire a credential of the given type.
|
default SupportLevel |
RealmIdentity.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName) |
Deprecated.
|
SupportLevel |
RealmIdentity.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
Determine whether a given credential type is definitely obtainable, possibly obtainable, or definitely not
obtainable for this identity.
|
default SupportLevel |
SecurityRealm.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName) |
Deprecated.
|
SupportLevel |
SecurityRealm.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for]
some identities), or definitely not obtainable.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType) |
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName) |
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
SupportLevel |
RealmIdentity.getEvidenceVerifySupport(Class<? extends Evidence> evidenceType,
String algorithmName) |
Determine whether a given type of evidence is definitely verifiable, possibly verifiable, or definitely not verifiable.
|
SupportLevel |
SecurityRealm.getEvidenceVerifySupport(Class<? extends Evidence> evidenceType,
String algorithmName) |
Determine whether a given type of evidence is definitely verifiable, possibly verifiable (for some identities),
or definitely not verifiable.
|
SupportLevel |
ServerAuthenticationContext.getEvidenceVerifySupport(Class<? extends Evidence> evidenceType) |
Determine whether a given piece of evidence is definitely verifiable, possibly verifiable, or definitely not verifiable.
|
SupportLevel |
ServerAuthenticationContext.getEvidenceVerifySupport(Class<? extends Evidence> evidenceType,
String algorithmName) |
Determine whether a given piece of evidence is definitely verifiable, possibly verifiable, or definitely not verifiable.
|
RealmIdentity |
SecurityDomain.getIdentity(String name) |
|
RealmIdentity |
SecurityDomain.getIdentity(Principal principal) |
|
ModifiableRealmIdentity |
SecurityDomain.getIdentityForUpdate(Principal principal) |
|
default RealmIdentity |
SecurityRealm.getRealmIdentity(Principal principal) |
Get a handle for to the identity for the given principal in the context of this security realm.
|
default RealmIdentity |
SecurityRealm.getRealmIdentity(Evidence evidence) |
Get a handle for to the identity for the given evidence in the context of this security realm.
|
default RealmIdentity |
SecurityRealm.getRealmIdentity(Evidence evidence,
Function<Principal,Principal> principalTransformer) |
Get a handle for the identity for the given evidence in the context of this security realm.
|
default ModifiableRealmIdentity |
ModifiableSecurityRealm.getRealmIdentityForUpdate(Principal principal) |
Get an update handle for to the identity for the given principal in the context of this security realm.
|
default ModifiableRealmIdentity |
ModifiableSecurityRealm.getRealmIdentityForUpdate(Evidence evidence) |
Get an update handle for to the identity for the given principal in the context of this security realm.
|
ModifiableRealmIdentityIterator |
ModifiableSecurityRealm.getRealmIdentityIterator() |
Get an iterator over all of this realm's identities.
|
boolean |
ServerAuthenticationContext.importIdentity(SecurityIdentity identity) |
Attempt to import the given security identity as a trusted identity.
|
boolean |
ServerAuthenticationContext.isSameName(String name) |
Determine if the given name refers to the same identity as the currently set authentication name.
|
boolean |
ServerAuthenticationContext.isSamePrincipal(Principal principal) |
Determine if the given principal refers to the same identity as the currently set authentication name.
|
void |
ModifiableRealmIdentity.setAttributes(Attributes attributes) |
Modify the attributes collection of this identity.
|
void |
ServerAuthenticationContext.setAuthenticationName(String name) |
Set the authentication name for this authentication.
|
void |
ServerAuthenticationContext.setAuthenticationName(String name,
boolean exclusive) |
Set the authentication name for this authentication.
|
void |
ServerAuthenticationContext.setAuthenticationPrincipal(Principal principal) |
Set the authentication principal for this authentication.
|
void |
ServerAuthenticationContext.setAuthenticationPrincipal(Principal principal,
boolean exclusive) |
Set the authentication principal for this authentication.
|
void |
ModifiableRealmIdentity.setCredentials(Collection<? extends Credential> credentials) |
Set the credentials of this identity.
|
void |
ServerAuthenticationContext.setDecodedEvidencePrincipal(Evidence evidence) |
Set the decoded evidence principal.
|
void |
ServerAuthenticationContext.succeed() |
Mark this authentication as "successful".
|
default void |
ModifiableRealmIdentity.updateCredential(Credential credential) |
|
default void |
RealmIdentity.updateCredential(Credential credential) |
Update a credential of this realm identity.
|
void |
ServerAuthenticationContext.updateCredential(Credential credential) |
Update the credential for the current authentication identity.
|
boolean |
RealmIdentity.verifyEvidence(Evidence evidence) |
Verify the given evidence against a credential of this identity.
|
boolean |
ServerAuthenticationContext.verifyEvidence(Evidence evidence) |
Verify the given evidence.
|