Package org.wildfly.security.auth.server
Class ServerAuthenticationContext.AuthorizedAuthenticationState
- java.lang.Object
-
- org.wildfly.security.auth.server.ServerAuthenticationContext.State
-
- org.wildfly.security.auth.server.ServerAuthenticationContext.ActiveState
-
- org.wildfly.security.auth.server.ServerAuthenticationContext.AuthorizedState
-
- org.wildfly.security.auth.server.ServerAuthenticationContext.AuthorizedAuthenticationState
-
- Enclosing class:
- ServerAuthenticationContext
final class ServerAuthenticationContext.AuthorizedAuthenticationState extends ServerAuthenticationContext.AuthorizedState
-
-
Field Summary
Fields Modifier and Type Field Description private RealmIdentityrealmIdentity
-
Constructor Summary
Constructors Constructor Description AuthorizedAuthenticationState(SecurityIdentity authorizedIdentity, Principal authenticationPrincipal, RealmInfo realmInfo, RealmIdentity realmIdentity, MechanismRealmConfiguration mechanismRealmConfiguration, MechanismConfiguration mechanismConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddPrivateCredential(Credential credential)(package private) voidaddPublicCredential(Credential credential)(package private) voidaddRuntimeAttributes(Attributes runtimeAttributes)(package private) voidfail(boolean requireInProgress)(package private) <C extends Credential>
CgetCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)(package private) SupportLevelgetCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)(package private) SupportLevelgetEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName)(package private) RealmIdentitygetRealmIdentity()(package private) voidsucceed()(package private) voidupdateCredential(Credential credential)(package private) booleanverifyEvidence(Evidence evidence)-
Methods inherited from class org.wildfly.security.auth.server.ServerAuthenticationContext.AuthorizedState
authorize, authorizeRunAs, getAuthenticationPrincipal, getAuthorizedIdentity, getMechanismConfiguration, getMechanismRealmConfiguration, getRealmInfo, getSecurityDomain, getSourceIdentity, isSamePrincipal
-
Methods inherited from class org.wildfly.security.auth.server.ServerAuthenticationContext.ActiveState
authorize, setMechanismInformation, setMechanismRealmName
-
Methods inherited from class org.wildfly.security.auth.server.ServerAuthenticationContext.State
authorizeAnonymous, canVerifyEvidence, importIdentity, isAuthorized, isDone, isNameAssigned, setPrincipal
-
-
-
-
Field Detail
-
realmIdentity
private final RealmIdentity realmIdentity
-
-
Constructor Detail
-
AuthorizedAuthenticationState
AuthorizedAuthenticationState(SecurityIdentity authorizedIdentity, Principal authenticationPrincipal, RealmInfo realmInfo, RealmIdentity realmIdentity, MechanismRealmConfiguration mechanismRealmConfiguration, MechanismConfiguration mechanismConfiguration)
-
-
Method Detail
-
getCredentialAcquireSupport
SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws RealmUnavailableException
- Overrides:
getCredentialAcquireSupportin classServerAuthenticationContext.State- Throws:
RealmUnavailableException
-
getEvidenceVerifySupport
SupportLevel getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName) throws RealmUnavailableException
- Overrides:
getEvidenceVerifySupportin classServerAuthenticationContext.State- Throws:
RealmUnavailableException
-
getCredential
<C extends Credential> C getCredential(Class<C> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws RealmUnavailableException
- Overrides:
getCredentialin classServerAuthenticationContext.State- Throws:
RealmUnavailableException
-
verifyEvidence
boolean verifyEvidence(Evidence evidence) throws RealmUnavailableException
- Overrides:
verifyEvidencein classServerAuthenticationContext.State- Throws:
RealmUnavailableException
-
getRealmIdentity
RealmIdentity getRealmIdentity()
- Overrides:
getRealmIdentityin classServerAuthenticationContext.State
-
updateCredential
void updateCredential(Credential credential) throws RealmUnavailableException
- Overrides:
updateCredentialin classServerAuthenticationContext.State- Throws:
RealmUnavailableException
-
succeed
void succeed()
- Overrides:
succeedin classServerAuthenticationContext.AuthorizedState
-
fail
void fail(boolean requireInProgress)
- Overrides:
failin classServerAuthenticationContext.State
-
addPublicCredential
void addPublicCredential(Credential credential)
- Overrides:
addPublicCredentialin classServerAuthenticationContext.AuthorizedState
-
addPrivateCredential
void addPrivateCredential(Credential credential)
- Overrides:
addPrivateCredentialin classServerAuthenticationContext.AuthorizedState
-
addRuntimeAttributes
void addRuntimeAttributes(Attributes runtimeAttributes)
- Overrides:
addRuntimeAttributesin classServerAuthenticationContext.AuthorizedState
-
-