Uses of Class
org.wildfly.security.auth.server.SecurityIdentity
Packages that use SecurityIdentity
Package
Description
Extended callbacks and supporting utilities which allow efficient callback handler implementation.
Server side of authentication provided by Elytron.
-
Uses of SecurityIdentity in org.wildfly.security.auth.callback
Methods in org.wildfly.security.auth.callback that return SecurityIdentityModifier and TypeMethodDescriptionCachedIdentityAuthorizeCallback.getIdentity()Returns a cachedSecurityIdentity, if present in the cache.SecurityIdentityCallback.getSecurityIdentity()Get the realm identity.Methods in org.wildfly.security.auth.callback with parameters of type SecurityIdentityModifier and TypeMethodDescriptionvoidCachedIdentityAuthorizeCallback.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
Classes in org.wildfly.security.auth.server that implement interfaces with type arguments of type SecurityIdentityModifier and TypeClassDescriptionfinal classA flexible identity association which can have its current identity modified.final classA loaded and authenticated security identity.Methods in org.wildfly.security.auth.server that return SecurityIdentityModifier and TypeMethodDescriptionSecurityDomain.authenticate(String name, org.wildfly.security.evidence.Evidence evidence) Perform an authentication based onEvidencefor the specified identity name.SecurityDomain.authenticate(Principal principal, org.wildfly.security.evidence.Evidence evidence) Perform an authentication based onEvidencefor the specified identityPrincipal.SecurityDomain.authenticate(org.wildfly.security.evidence.Evidence evidence) Perform an authentication based onEvidencealone.SecurityDomain.createAdHocIdentity(String name) Create an empty ad-hoc identity.SecurityDomain.createAdHocIdentity(Principal principal) Create an empty ad-hoc identity.SecurityIdentity.createRunAsAnonymous()Attempt to create a new identity that can be used to run as an anonymous user.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 requiressetRunAsPrincipalElytronPermission.SecurityIdentity.createRunAsIdentity(String name) Attempt to create a new identity that can be used to run as a user with the given name.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.createRunAsIdentity(Principal principal, boolean authorize) Attempt to create a new identity that can be used to run as a user with the given principal.FlexibleIdentityAssociation.get()Get the current associated identity.SecurityIdentity.get()Get this identity.SecurityDomain.getAnonymousSecurityIdentity()Get the anonymous security identity for this realm.ServerAuthenticationContext.getAuthorizedIdentity()Get the authorized identity result of this authentication.SecurityDomain.getCurrentSecurityIdentity()Get the current security identity for this domain.SecurityIdentity.intersectWith(org.wildfly.security.permission.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.withDefaultRoleMapper(RoleMapper roleMapper) Attempt to create a new identity which wraps the default roles with a default role mapper.SecurityIdentity.withPrivateCredential(org.wildfly.security.credential.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.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.withPublicCredential(org.wildfly.security.credential.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.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.withRoleMapper(String category, RoleMapper roleMapper) Attempt to create a new identity which replaces a role mapper category on the current identity.SecurityIdentity.withRuntimeAttributes(Attributes runtimeAttributes) Create a new security identity which is the same as this one, but which includes the given runtime attributes.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.withSecurityIdentitySupplier(Supplier<SecurityIdentity[]> securityIdentities) Attempt to create a new identity that is the same as this identity but with aSupplierinvalid input: '<'SecurityIdentity[]>to supply identities that will be associated with all 'run' calls.Methods in org.wildfly.security.auth.server with parameters of type SecurityIdentityModifier and TypeMethodDescriptionstatic 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.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 SecurityIdentityModifier and TypeMethodDescriptionSecurityDomain.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 SecurityIdentityModifier and TypeMethodDescriptionSecurityEvent.getSecurityIdentity()Get theSecurityIdentitythat was active at the time this event was triggered.Constructors in org.wildfly.security.auth.server.event with parameters of type SecurityIdentityModifierConstructorDescriptionRfc3164SyslogEvent(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.cache
Methods in org.wildfly.security.cache that return SecurityIdentityModifier and TypeMethodDescriptionCachedIdentity.getSecurityIdentity()Returns the identity represented by this instance.Methods in org.wildfly.security.cache with parameters of type SecurityIdentityModifier and TypeMethodDescriptionvoidIdentityCache.put(SecurityIdentity identity) Puts aSecurityIdentityinto the cache.Constructors in org.wildfly.security.cache with parameters of type SecurityIdentityModifierConstructorDescriptionCachedIdentity(String mechanismName, boolean programmatic, SecurityIdentity securityIdentity) Creates a new instance based on the givenmechanismNameandsecurityIdentity.