Package org.wildfly.security.auth.server
Class ServerAuthenticationContext.ActiveState
- java.lang.Object
-
- org.wildfly.security.auth.server.ServerAuthenticationContext.State
-
- org.wildfly.security.auth.server.ServerAuthenticationContext.ActiveState
-
- Direct Known Subclasses:
ServerAuthenticationContext.AnonymousAuthorizedState,ServerAuthenticationContext.AuthorizedState,ServerAuthenticationContext.NameAssignedState,ServerAuthenticationContext.UnassignedState
- Enclosing class:
- ServerAuthenticationContext
abstract class ServerAuthenticationContext.ActiveState extends ServerAuthenticationContext.State
-
-
Constructor Summary
Constructors Constructor Description ActiveState()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) booleanauthorize(Principal authorizationId, boolean authorizeRunAs)(package private) abstract SecurityIdentitygetSourceIdentity()(package private) voidsetMechanismInformation(MechanismInformation mechanismInformation)(package private) voidsetMechanismRealmName(String realmName)-
Methods inherited from class org.wildfly.security.auth.server.ServerAuthenticationContext.State
addPrivateCredential, addPublicCredential, addRuntimeAttributes, authorize, authorizeAnonymous, canVerifyEvidence, fail, getAuthenticationPrincipal, getAuthorizedIdentity, getCredential, getCredentialAcquireSupport, getEvidenceVerifySupport, getMechanismConfiguration, getMechanismRealmConfiguration, getRealmIdentity, getSecurityDomain, importIdentity, isAuthorized, isDone, isNameAssigned, isSamePrincipal, setPrincipal, succeed, updateCredential, verifyEvidence
-
-
-
-
Method Detail
-
authorize
boolean authorize(Principal authorizationId, boolean authorizeRunAs) throws RealmUnavailableException
- Overrides:
authorizein classServerAuthenticationContext.State- Throws:
RealmUnavailableException
-
setMechanismRealmName
void setMechanismRealmName(String realmName)
- Overrides:
setMechanismRealmNamein classServerAuthenticationContext.State
-
setMechanismInformation
void setMechanismInformation(MechanismInformation mechanismInformation)
- Overrides:
setMechanismInformationin classServerAuthenticationContext.State
-
getSourceIdentity
abstract SecurityIdentity getSourceIdentity()
-
-