Uses of Class
org.wildfly.security.auth.server.SecurityIdentity
-
Packages that use SecurityIdentity Package Description org.wildfly.security.auth.callback Extended callbacks and supporting utilities which allow efficient callback handler implementation.org.wildfly.security.auth.server Server side of authentication provided by Elytron.org.wildfly.security.auth.server.event org.wildfly.security.auth.server.http org.wildfly.security.cache org.wildfly.security.http Package containing the HTTP based authentication APIs, SPIs and related classes.org.wildfly.security.http.oidc org.wildfly.security.http.util.sso -
-
Uses of SecurityIdentity in org.wildfly.security.auth.callback
Fields in org.wildfly.security.auth.callback declared as SecurityIdentity Modifier and Type Field Description private SecurityIdentity
SecurityIdentityCallback. securityIdentity
Methods in org.wildfly.security.auth.callback that return SecurityIdentity Modifier and Type Method Description SecurityIdentity
CachedIdentityAuthorizeCallback. getIdentity()
Returns a cachedSecurityIdentity
, if present in the cache.SecurityIdentity
SecurityIdentityCallback. getSecurityIdentity()
Get the realm identity.Methods in org.wildfly.security.auth.callback with parameters of type SecurityIdentity Modifier and Type Method Description void
CachedIdentityAuthorizeCallback. setAuthorized(SecurityIdentity securityIdentity)
Authorizes and caches the givensecurityIdentity
.void
SecurityIdentityCallback. setSecurityIdentity(SecurityIdentity securityIdentity)
Set the realm identity. -
Uses of SecurityIdentity in org.wildfly.security.auth.server
Fields in org.wildfly.security.auth.server declared as SecurityIdentity Modifier and Type Field Description private SecurityIdentity
SecurityDomain. anonymousIdentity
private SecurityIdentity
ServerAuthenticationContext.AnonymousAuthorizedState. anonymousIdentity
private SecurityIdentity
ServerAuthenticationContext.AuthorizedState. authorizedIdentity
private SecurityIdentity
ServerAuthenticationContext.InactiveState. capturedIdentity
private SecurityIdentity
ServerAuthenticationContext.NameAssignedState. capturedIdentity
(package private) SecurityIdentity
ServerAuthenticationContext.UnassignedState. capturedIdentity
private SecurityIdentity
ServerAuthenticationContext.CompleteState. identity
private static SecurityIdentity[]
SecurityIdentity. NO_IDENTITIES
private SecurityIdentity
FlexibleIdentityAssociation. securityIdentity
private SecurityIdentity
SecurityIdentityServerMechanismFactory.SecurityIdentityCallbackHandler. securityIdentity
private SecurityIdentity[]
SecurityIdentity. withIdentities
Fields in org.wildfly.security.auth.server with type parameters of type SecurityIdentity Modifier and Type Field Description private ThreadLocal<Supplier<SecurityIdentity>>
SecurityDomain. currentSecurityIdentity
private Function<SecurityIdentity,Roles>
SecurityIdentity. defaultRoles
private UnaryOperator<SecurityIdentity>
SecurityDomain.Builder. securityIdentityTransformer
private UnaryOperator<SecurityIdentity>
SecurityDomain. securityIdentityTransformer
Methods in org.wildfly.security.auth.server that return SecurityIdentity Modifier and Type Method Description SecurityIdentity
SecurityDomain. authenticate(String name, Evidence evidence)
Perform an authentication based onEvidence
for the specified identity name.SecurityIdentity
SecurityDomain. authenticate(Principal principal, Evidence evidence)
SecurityIdentity
SecurityDomain. authenticate(Evidence evidence)
Perform an authentication based onEvidence
alone.SecurityIdentity
SecurityDomain. createAdHocIdentity(String name)
Create an empty ad-hoc identity.SecurityIdentity
SecurityDomain. createAdHocIdentity(Principal principal)
Create an empty ad-hoc identity.SecurityIdentity
SecurityIdentity. createRunAsAnonymous()
Attempt to create a new identity that can be used to run as an anonymous user.SecurityIdentity
SecurityIdentity. createRunAsAnonymous(boolean authorize)
Attempt to create a new identity that can be used to run as an anonymous user Calling with enabled security manager requiressetRunAsPrincipal
ElytronPermission
.SecurityIdentity
SecurityIdentity. createRunAsIdentity(String name)
Attempt to create a new identity that can be used to run as a user with the given name.SecurityIdentity
SecurityIdentity. createRunAsIdentity(String name, boolean authorize)
Attempt to create a new identity that can be used to run as a user with the given name.SecurityIdentity
SecurityIdentity. createRunAsIdentity(Principal principal, boolean authorize)
Attempt to create a new identity that can be used to run as a user with the given principal.SecurityIdentity
FlexibleIdentityAssociation. get()
Get the current associated identity.SecurityIdentity
SecurityIdentity. get()
Get this identity.SecurityIdentity
SecurityDomain. getAnonymousSecurityIdentity()
Get the anonymous security identity for this realm.(package private) SecurityIdentity
ServerAuthenticationContext.AnonymousAuthorizedState. getAuthorizedIdentity()
(package private) SecurityIdentity
ServerAuthenticationContext.AuthorizedState. getAuthorizedIdentity()
(package private) SecurityIdentity
ServerAuthenticationContext.CompleteState. getAuthorizedIdentity()
SecurityIdentity
ServerAuthenticationContext. getAuthorizedIdentity()
Get the authorized identity result of this authentication.(package private) SecurityIdentity
ServerAuthenticationContext.State. getAuthorizedIdentity()
SecurityIdentity
SecurityDomain. getCurrentSecurityIdentity()
Get the current security identity for this domain.(package private) SecurityIdentity
SecurityIdentityServerMechanismFactory.SecurityIdentityCallbackHandler. getSecurityIdentity()
(package private) abstract SecurityIdentity
ServerAuthenticationContext.ActiveState. getSourceIdentity()
(package private) SecurityIdentity
ServerAuthenticationContext.AnonymousAuthorizedState. getSourceIdentity()
(package private) SecurityIdentity
ServerAuthenticationContext.AuthorizedState. getSourceIdentity()
(package private) SecurityIdentity
ServerAuthenticationContext.NameAssignedState. getSourceIdentity()
(package private) SecurityIdentity
ServerAuthenticationContext.UnassignedState. getSourceIdentity()
SecurityIdentity
SecurityIdentity. intersectWith(PermissionVerifier verifier)
Create a new security identity which is the same as this one, but which limits authorization privileges to the intersection of the current privileges and the given verifier.(package private) SecurityIdentity
SecurityDomain. transform(SecurityIdentity securityIdentity)
SecurityIdentity
SecurityIdentity. withDefaultRoleMapper(RoleMapper roleMapper)
Attempt to create a new identity which wraps the default roles with a default role mapper.SecurityIdentity
SecurityIdentity. withPrivateCredential(Credential credential)
Create a new security identity which is the same as this one, but which includes the given credential as a private credential.SecurityIdentity
SecurityIdentity. withPrivateCredentials(IdentityCredentials credentials)
Create a new security identity which is the same as this one, but which includes the given credentials as private credentials.SecurityIdentity
SecurityIdentity. withPublicCredential(Credential credential)
Create a new security identity which is the same as this one, but which includes the given credential as a public credential.SecurityIdentity
SecurityIdentity. withPublicCredentials(IdentityCredentials credentials)
Create a new security identity which is the same as this one, but which includes the given credentials as public credentials.SecurityIdentity
SecurityIdentity. withRoleMapper(String category, RoleMapper roleMapper)
Attempt to create a new identity which replaces a role mapper category on the current identity.SecurityIdentity
SecurityIdentity. withRuntimeAttributes(Attributes runtimeAttributes)
Create a new security identity which is the same as this one, but which includes the given runtime attributes.SecurityIdentity
SecurityIdentity. withSecurityIdentity(SecurityIdentity securityIdentity)
Attempt to create a new identity that is the same as this identity but with an additional identity from a different security domain that will be associated with all 'run' calls.SecurityIdentity
SecurityIdentity. withSecurityIdentitySupplier(Supplier<SecurityIdentity[]> securityIdentities)
Attempt to create a new identity that is the same as this identity but with aSupplier
to supply identities that will be associated with all 'run' calls.Methods in org.wildfly.security.auth.server that return types with arguments of type SecurityIdentity Modifier and Type Method Description private Supplier<SecurityIdentity>[]
SecurityIdentity. establishIdentities()
(package private) Supplier<SecurityIdentity>
SecurityDomain. getAndSetCurrentSecurityIdentity(Supplier<SecurityIdentity> newIdentity)
Methods in org.wildfly.security.auth.server with parameters of type SecurityIdentity Modifier and Type Method Description (package private) ServerAuthenticationContext.State
ServerAuthenticationContext. assignName(SecurityIdentity capturedIdentity, MechanismConfiguration mechanismConfiguration, MechanismRealmConfiguration mechanismRealmConfiguration, Principal originalPrincipal, Evidence evidence, IdentityCredentials privateCredentials, IdentityCredentials publicCredentials, boolean exclusive, Attributes runtimeAttributes)
(package private) ServerAuthenticationContext.State
ServerAuthenticationContext. assignName(SecurityIdentity capturedIdentity, MechanismConfiguration mechanismConfiguration, MechanismRealmConfiguration mechanismRealmConfiguration, Principal originalPrincipal, Evidence evidence, IdentityCredentials privateCredentials, IdentityCredentials publicCredentials, Attributes runtimeAttributes)
(package private) ServerAuthenticationContext
SecurityDomain. createNewAuthenticationContext(SecurityIdentity capturedIdentity, MechanismConfigurationSelector mechanismConfigurationSelector)
static SecurityDomain
SecurityDomain. forIdentity(SecurityIdentity identity)
Get the security domain associated with the given identity.boolean
ServerAuthenticationContext. importIdentity(SecurityIdentity identity)
Attempt to import the given security identity as a trusted identity.(package private) boolean
ServerAuthenticationContext.InactiveState. importIdentity(SecurityIdentity identity)
(package private) boolean
ServerAuthenticationContext.State. importIdentity(SecurityIdentity identity)
(package private) boolean
ServerAuthenticationContext.UnassignedState. importIdentity(SecurityIdentity importedIdentity)
(package private) PermissionVerifier
SecurityDomain. mapPermissions(SecurityIdentity securityIdentity)
(package private) Roles
SecurityDomain. mapRoles(SecurityIdentity securityIdentity)
static <T> T
SecurityIdentity. runAsAll(PrivilegedExceptionAction<T> action, SecurityIdentity... identities)
Run an action under a series of identities.void
FlexibleIdentityAssociation. setIdentity(SecurityIdentity securityIdentity)
Set the current associated identity.(package private) SecurityIdentity
SecurityDomain. transform(SecurityIdentity securityIdentity)
SecurityIdentity
SecurityIdentity. withSecurityIdentity(SecurityIdentity securityIdentity)
Attempt to create a new identity that is the same as this identity but with an additional identity from a different security domain that will be associated with all 'run' calls.Method parameters in org.wildfly.security.auth.server with type arguments of type SecurityIdentity Modifier and Type Method Description (package private) Supplier<SecurityIdentity>
SecurityDomain. getAndSetCurrentSecurityIdentity(Supplier<SecurityIdentity> newIdentity)
(package private) void
SecurityDomain. setCurrentSecurityIdentity(Supplier<SecurityIdentity> newIdentity)
SecurityDomain.Builder
SecurityDomain.Builder. setSecurityIdentityTransformer(UnaryOperator<SecurityIdentity> securityIdentityTransformer)
Set the security identity transformer to use.Constructor parameters in org.wildfly.security.auth.server with type arguments of type SecurityIdentity Constructor Description SecurityIdentity(SecurityIdentity old, Function<SecurityIdentity,Roles> defaultRoles)
-
Uses of SecurityIdentity in org.wildfly.security.auth.server.event
Fields in org.wildfly.security.auth.server.event declared as SecurityIdentity Modifier and Type Field Description private SecurityIdentity
SecurityEvent. securityIdentity
Methods in org.wildfly.security.auth.server.event that return SecurityIdentity Modifier and Type Method Description SecurityIdentity
SecurityEvent. getSecurityIdentity()
Get theSecurityIdentity
that was active at the time this event was triggered.Constructors in org.wildfly.security.auth.server.event with parameters of type SecurityIdentity Constructor Description Rfc3164SyslogEvent(SecurityIdentity securityIdentity)
Constructor for a new instance.Rfc5424SyslogEvent(SecurityIdentity securityIdentity)
Constructor for a new instance.SecurityAuthenticationEvent(SecurityIdentity securityIdentity, boolean successful)
Create a new instance.SecurityAuthenticationFailedEvent(SecurityIdentity securityIdentity, Principal principal)
Constructor for a new instance.SecurityAuthenticationSuccessfulEvent(SecurityIdentity securityIdentity)
Constructor for a new instance.SecurityDefiniteOutcomeEvent(SecurityIdentity securityIdentity, boolean successful)
SecurityEvent(SecurityIdentity securityIdentity)
Constructor for a new instance.SecurityPermissionCheckEvent(SecurityIdentity securityIdentity, Permission permission, boolean successful)
Construct a new instance.SecurityPermissionCheckFailedEvent(SecurityIdentity securityIdentity, Permission permission)
Construct a new instance.SecurityPermissionCheckSuccessfulEvent(SecurityIdentity securityIdentity, Permission permission)
Construct a new instance.SecurityRealmUnavailableEvent(SecurityIdentity securityIdentity, String realmName)
Construct a new instance.SyslogAuditEvent(SecurityIdentity securityIdentity, org.jboss.logmanager.handlers.SyslogHandler.SyslogType format)
Constructor for a new instance. -
Uses of SecurityIdentity in org.wildfly.security.auth.server.http
Fields in org.wildfly.security.auth.server.http declared as SecurityIdentity Modifier and Type Field Description private SecurityIdentity
SecurityIdentityServerMechanismFactory.SecurityIdentityCallbackHandler. securityIdentity
Methods in org.wildfly.security.auth.server.http that return SecurityIdentity Modifier and Type Method Description (package private) SecurityIdentity
SecurityIdentityServerMechanismFactory.SecurityIdentityCallbackHandler. getSecurityIdentity()
-
Uses of SecurityIdentity in org.wildfly.security.cache
Fields in org.wildfly.security.cache declared as SecurityIdentity Modifier and Type Field Description private SecurityIdentity
CachedIdentity. securityIdentity
Methods in org.wildfly.security.cache that return SecurityIdentity Modifier and Type Method Description SecurityIdentity
CachedIdentity. getSecurityIdentity()
Returns the identity represented by this instance.Methods in org.wildfly.security.cache with parameters of type SecurityIdentity Modifier and Type Method Description void
IdentityCache. put(SecurityIdentity identity)
Puts aSecurityIdentity
into the cache.Constructors in org.wildfly.security.cache with parameters of type SecurityIdentity Constructor Description CachedIdentity(String mechanismName, boolean programmatic, SecurityIdentity securityIdentity)
Creates a new instance based on the givenmechanismName
andsecurityIdentity
.CachedIdentity(String mechanismName, boolean programmatic, SecurityIdentity securityIdentity, Principal principal)
CachedIdentity(String mechanismName, boolean programmatic, SecurityIdentity securityIdentity, Principal principal, Set<String> roles)
-
Uses of SecurityIdentity in org.wildfly.security.http
Methods in org.wildfly.security.http that return SecurityIdentity Modifier and Type Method Description SecurityIdentity
HttpAuthenticator. login(String username, String password)
Perform a login for the supplied username and password using the pre-configured mechanism name.private SecurityIdentity
HttpAuthenticator. login(String username, Evidence evidence, String mechanismName)
Perform a login for the supplied username and password using the specified mechanism name.Methods in org.wildfly.security.http with parameters of type SecurityIdentity Modifier and Type Method Description void
HttpExchangeSpi. authenticationComplete(SecurityIdentity securityIdentity, String mechanismName)
Notification that authentication has been completed for a specific identity using a specific authentication mechanism. -
Uses of SecurityIdentity in org.wildfly.security.http.oidc
Fields in org.wildfly.security.http.oidc declared as SecurityIdentity Modifier and Type Field Description private SecurityIdentity
OidcHttpFacade. securityIdentity
Methods in org.wildfly.security.http.oidc that return SecurityIdentity Modifier and Type Method Description (package private) static SecurityIdentity
OidcHttpFacade. authorize(CallbackHandler callbackHandler, Principal principal)
-
Uses of SecurityIdentity in org.wildfly.security.http.util.sso
Fields in org.wildfly.security.http.util.sso with type parameters of type SecurityIdentity Modifier and Type Field Description private Function<SecurityIdentity,SingleSignOn>
DefaultSingleSignOnSession. ssoFactory
Methods in org.wildfly.security.http.util.sso that return SecurityIdentity Modifier and Type Method Description SecurityIdentity
DefaultSingleSignOn. getIdentity()
SecurityIdentity
ImmutableSingleSignOn. getIdentity()
Returns the transient security identity associated with this single sign-on entry.Methods in org.wildfly.security.http.util.sso with parameters of type SecurityIdentity Modifier and Type Method Description SingleSignOn
DefaultSingleSignOnManager. create(String mechanismName, boolean programmatic, SecurityIdentity identity)
SingleSignOn
SingleSignOnManager. create(String mechanismName, boolean programmatic, SecurityIdentity identity)
Creates a single sign-on entry using the specified mechanism and security identityvoid
DefaultSingleSignOnSession. put(SecurityIdentity identity)
void
ProgrammaticSingleSignOnCache. put(SecurityIdentity identity)
void
DefaultSingleSignOn. setIdentity(SecurityIdentity identity)
void
SingleSignOn. setIdentity(SecurityIdentity identity)
Associates a security identity with this single sign-on entry, only if no association exists.
-