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.http Package containing the HTTP based authentication APIs, SPIs and related classes. -
-
Uses of SecurityIdentity in org.wildfly.security.auth.callback
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
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.SecurityIdentity
ServerAuthenticationContext. getAuthorizedIdentity()
Get the authorized identity result of this authentication.SecurityIdentity
SecurityDomain. getCurrentSecurityIdentity()
Get the current security identity for this domain.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.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. 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 with parameters of type SecurityIdentity Modifier and Type Method Description 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.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.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 SecurityDomain.Builder
SecurityDomain.Builder. setSecurityIdentityTransformer(UnaryOperator<SecurityIdentity> securityIdentityTransformer)
Set the security identity transformer to use. -
Uses of SecurityIdentity in org.wildfly.security.auth.server.event
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.SecurityAuthenticationFailedEvent(SecurityIdentity securityIdentity, Principal principal)
Constructor for a new instance.SecurityAuthenticationSuccessfulEvent(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. -
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.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.
-