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 SecurityIdentityCachedIdentityAuthorizeCallback. getIdentity()Returns a cachedSecurityIdentity, if present in the cache.SecurityIdentitySecurityIdentityCallback. getSecurityIdentity()Get the realm identity.Methods in org.wildfly.security.auth.callback with parameters of type SecurityIdentity Modifier and Type Method Description voidCachedIdentityAuthorizeCallback. setAuthorized(SecurityIdentity securityIdentity)Authorizes and caches the givensecurityIdentity.voidSecurityIdentityCallback. 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 SecurityIdentitySecurityDomain. authenticate(String name, Evidence evidence)Perform an authentication based onEvidencefor the specified identity name.SecurityIdentitySecurityDomain. authenticate(Principal principal, Evidence evidence)SecurityIdentitySecurityDomain. authenticate(Evidence evidence)Perform an authentication based onEvidencealone.SecurityIdentitySecurityDomain. createAdHocIdentity(String name)Create an empty ad-hoc identity.SecurityIdentitySecurityDomain. createAdHocIdentity(Principal principal)Create an empty ad-hoc identity.SecurityIdentitySecurityIdentity. createRunAsAnonymous()Attempt to create a new identity that can be used to run as an anonymous user.SecurityIdentitySecurityIdentity. createRunAsAnonymous(boolean authorize)Attempt to create a new identity that can be used to run as an anonymous user Calling with enabled security manager requiressetRunAsPrincipalElytronPermission.SecurityIdentitySecurityIdentity. createRunAsIdentity(String name)Attempt to create a new identity that can be used to run as a user with the given name.SecurityIdentitySecurityIdentity. createRunAsIdentity(String name, boolean authorize)Attempt to create a new identity that can be used to run as a user with the given name.SecurityIdentitySecurityIdentity. createRunAsIdentity(Principal principal, boolean authorize)Attempt to create a new identity that can be used to run as a user with the given principal.SecurityIdentityFlexibleIdentityAssociation. get()Get the current associated identity.SecurityIdentitySecurityIdentity. get()Get this identity.SecurityIdentitySecurityDomain. getAnonymousSecurityIdentity()Get the anonymous security identity for this realm.SecurityIdentityServerAuthenticationContext. getAuthorizedIdentity()Get the authorized identity result of this authentication.SecurityIdentitySecurityDomain. getCurrentSecurityIdentity()Get the current security identity for this domain.SecurityIdentitySecurityIdentity. 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.SecurityIdentitySecurityIdentity. withDefaultRoleMapper(RoleMapper roleMapper)Attempt to create a new identity which wraps the default roles with a default role mapper.SecurityIdentitySecurityIdentity. 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.SecurityIdentitySecurityIdentity. withPrivateCredentials(IdentityCredentials credentials)Create a new security identity which is the same as this one, but which includes the given credentials as private credentials.SecurityIdentitySecurityIdentity. 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.SecurityIdentitySecurityIdentity. withPublicCredentials(IdentityCredentials credentials)Create a new security identity which is the same as this one, but which includes the given credentials as public credentials.SecurityIdentitySecurityIdentity. withRoleMapper(String category, RoleMapper roleMapper)Attempt to create a new identity which replaces a role mapper category on the current identity.SecurityIdentitySecurityIdentity. withRuntimeAttributes(Attributes runtimeAttributes)Create a new security identity which is the same as this one, but which includes the given runtime attributes.SecurityIdentitySecurityIdentity. 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.SecurityIdentitySecurityIdentity. withSecurityIdentitySupplier(Supplier<SecurityIdentity[]> securityIdentities)Attempt to create a new identity that is the same as this identity but with aSupplierto 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 SecurityDomainSecurityDomain. forIdentity(SecurityIdentity identity)Get the security domain associated with the given identity.booleanServerAuthenticationContext. importIdentity(SecurityIdentity identity)Attempt to import the given security identity as a trusted identity.static <T> TSecurityIdentity. runAsAll(PrivilegedExceptionAction<T> action, SecurityIdentity... identities)Run an action under a series of identities.voidFlexibleIdentityAssociation. setIdentity(SecurityIdentity securityIdentity)Set the current associated identity.SecurityIdentitySecurityIdentity. 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.BuilderSecurityDomain.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 SecurityIdentitySecurityEvent. getSecurityIdentity()Get theSecurityIdentitythat 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.SecurityRealmUnavailableEvent(SecurityIdentity securityIdentity, String realmName)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 SecurityIdentityHttpAuthenticator. 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 voidHttpExchangeSpi. authenticationComplete(SecurityIdentity securityIdentity, String mechanismName)Notification that authentication has been completed for a specific identity using a specific authentication mechanism.
-