Package | Description |
---|---|
org.wildfly.security.auth.server |
Server side of authentication provided by Elytron.
|
Modifier and Type | Method and Description |
---|---|
org.wildfly.common.function.ExceptionFunction<Principal,ModifiableRealmIdentity,RealmUnavailableException> |
SecurityDomain.getIdentityLookupForUpdateFunction()
Get a function which can be used to look up principals for update without a security manager permission check.
|
org.wildfly.common.function.ExceptionFunction<Principal,RealmIdentity,RealmUnavailableException> |
SecurityDomain.getIdentityLookupFunction()
Get a function which can be used to look up principals without a security manager permission check.
|
Modifier and Type | Method and Description |
---|---|
default <C extends Credential,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> |
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.
|
default <C extends Credential,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.
|
<C extends Credential,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.
|
default <C extends Credential,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.
|
<C extends Credential,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.
|
SecurityIdentity |
SecurityDomain.authenticate(Evidence evidence)
Perform an authentication based on
Evidence alone. |
SecurityIdentity |
SecurityDomain.authenticate(Principal principal,
Evidence evidence)
|
SecurityIdentity |
SecurityDomain.authenticate(String name,
Evidence evidence)
Perform an authentication based on
Evidence for the specified identity name. |
boolean |
ServerAuthenticationContext.authorize()
Attempt to authorize an authentication attempt.
|
boolean |
ServerAuthenticationContext.authorize(Principal principal)
Attempt to authorize a change to a new user (possibly including an authentication attempt).
|
boolean |
ServerAuthenticationContext.authorize(String name)
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> |
RealmIdentity.getCredential(Class<C> credentialType)
Acquire a credential of the given type.
|
<C extends Credential> |
ServerAuthenticationContext.getCredential(Class<C> credentialType)
Acquire a credential of the given type.
|
default <C extends Credential> |
RealmIdentity.getCredential(Class<C> credentialType,
String algorithmName)
Acquire a credential of the given type and algorithm name.
|
<C extends Credential> |
ServerAuthenticationContext.getCredential(Class<C> credentialType,
String algorithmName)
Acquire a credential of the given type.
|
default <C extends Credential> |
RealmIdentity.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type and algorithm name.
|
<C extends Credential> |
ServerAuthenticationContext.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
default SupportLevel |
RealmIdentity.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Deprecated.
Transition method; remove before GA.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
default SupportLevel |
SecurityRealm.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Deprecated.
Transition method; remove before GA.
|
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.
|
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 |
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.getEvidenceVerifySupport(Class<? extends Evidence> evidenceType)
Determine whether a given piece of evidence is definitely verifiable, possibly verifiable, or definitely not verifiable.
|
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 |
ServerAuthenticationContext.getEvidenceVerifySupport(Class<? extends Evidence> evidenceType,
String algorithmName)
Determine whether a given piece 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.
|
RealmIdentity |
SecurityDomain.getIdentity(Principal principal)
Look up a
RealmIdentity by principal. |
RealmIdentity |
SecurityDomain.getIdentity(String name)
Look up a
RealmIdentity by name by wrapping the name in a NamePrincipal and calling SecurityDomain.getIdentity(Principal) . |
ModifiableRealmIdentity |
SecurityDomain.getIdentityForUpdate(Principal principal)
Look up a
ModifiableRealmIdentity by principal. |
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(Principal principal)
Get a 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.
|
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.
|
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.succeed()
Mark this authentication as "successful".
|
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.
|
default void |
ModifiableRealmIdentity.updateCredential(Credential credential) |
boolean |
RealmIdentity.verifyEvidence(Evidence evidence)
Verify the given evidence against a credential of this identity.
|
boolean |
ServerAuthenticationContext.verifyEvidence(Evidence evidence)
Verify the given evidence.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.