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) boolean
authorize(Principal authorizationId, boolean authorizeRunAs)
(package private) abstract SecurityIdentity
getSourceIdentity()
(package private) void
setMechanismInformation(MechanismInformation mechanismInformation)
(package private) void
setMechanismRealmName(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:
authorize
in classServerAuthenticationContext.State
- Throws:
RealmUnavailableException
-
setMechanismRealmName
void setMechanismRealmName(String realmName)
- Overrides:
setMechanismRealmName
in classServerAuthenticationContext.State
-
setMechanismInformation
void setMechanismInformation(MechanismInformation mechanismInformation)
- Overrides:
setMechanismInformation
in classServerAuthenticationContext.State
-
getSourceIdentity
abstract SecurityIdentity getSourceIdentity()
-
-