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 SecurityIdentitySecurityIdentityCallback. securityIdentityMethods 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
Fields in org.wildfly.security.auth.server declared as SecurityIdentity Modifier and Type Field Description private SecurityIdentitySecurityDomain. anonymousIdentityprivate SecurityIdentityServerAuthenticationContext.AnonymousAuthorizedState. anonymousIdentityprivate SecurityIdentityServerAuthenticationContext.AuthorizedState. authorizedIdentityprivate SecurityIdentityServerAuthenticationContext.InactiveState. capturedIdentityprivate SecurityIdentityServerAuthenticationContext.NameAssignedState. capturedIdentity(package private) SecurityIdentityServerAuthenticationContext.UnassignedState. capturedIdentityprivate SecurityIdentityServerAuthenticationContext.CompleteState. identityprivate static SecurityIdentity[]SecurityIdentity. NO_IDENTITIESprivate SecurityIdentityFlexibleIdentityAssociation. securityIdentityprivate SecurityIdentitySecurityIdentityServerMechanismFactory.SecurityIdentityCallbackHandler. securityIdentityprivate SecurityIdentity[]SecurityIdentity. withIdentitiesFields in org.wildfly.security.auth.server with type parameters of type SecurityIdentity Modifier and Type Field Description private ThreadLocal<Supplier<SecurityIdentity>>SecurityDomain. currentSecurityIdentityprivate Function<SecurityIdentity,Roles>SecurityIdentity. defaultRolesprivate UnaryOperator<SecurityIdentity>SecurityDomain.Builder. securityIdentityTransformerprivate UnaryOperator<SecurityIdentity>SecurityDomain. securityIdentityTransformerMethods 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.(package private) SecurityIdentityServerAuthenticationContext.AnonymousAuthorizedState. getAuthorizedIdentity()(package private) SecurityIdentityServerAuthenticationContext.AuthorizedState. getAuthorizedIdentity()(package private) SecurityIdentityServerAuthenticationContext.CompleteState. getAuthorizedIdentity()SecurityIdentityServerAuthenticationContext. getAuthorizedIdentity()Get the authorized identity result of this authentication.(package private) SecurityIdentityServerAuthenticationContext.State. getAuthorizedIdentity()SecurityIdentitySecurityDomain. getCurrentSecurityIdentity()Get the current security identity for this domain.(package private) SecurityIdentitySecurityIdentityServerMechanismFactory.SecurityIdentityCallbackHandler. getSecurityIdentity()(package private) abstract SecurityIdentityServerAuthenticationContext.ActiveState. getSourceIdentity()(package private) SecurityIdentityServerAuthenticationContext.AnonymousAuthorizedState. getSourceIdentity()(package private) SecurityIdentityServerAuthenticationContext.AuthorizedState. getSourceIdentity()(package private) SecurityIdentityServerAuthenticationContext.NameAssignedState. getSourceIdentity()(package private) SecurityIdentityServerAuthenticationContext.UnassignedState. getSourceIdentity()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.(package private) SecurityIdentitySecurityDomain. transform(SecurityIdentity securityIdentity)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 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.StateServerAuthenticationContext. assignName(SecurityIdentity capturedIdentity, MechanismConfiguration mechanismConfiguration, MechanismRealmConfiguration mechanismRealmConfiguration, Principal originalPrincipal, Evidence evidence, IdentityCredentials privateCredentials, IdentityCredentials publicCredentials, boolean exclusive, Attributes runtimeAttributes)(package private) ServerAuthenticationContext.StateServerAuthenticationContext. assignName(SecurityIdentity capturedIdentity, MechanismConfiguration mechanismConfiguration, MechanismRealmConfiguration mechanismRealmConfiguration, Principal originalPrincipal, Evidence evidence, IdentityCredentials privateCredentials, IdentityCredentials publicCredentials, Attributes runtimeAttributes)(package private) ServerAuthenticationContextSecurityDomain. createNewAuthenticationContext(SecurityIdentity capturedIdentity, MechanismConfigurationSelector mechanismConfigurationSelector)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.(package private) booleanServerAuthenticationContext.InactiveState. importIdentity(SecurityIdentity identity)(package private) booleanServerAuthenticationContext.State. importIdentity(SecurityIdentity identity)(package private) booleanServerAuthenticationContext.UnassignedState. importIdentity(SecurityIdentity importedIdentity)(package private) PermissionVerifierSecurityDomain. mapPermissions(SecurityIdentity securityIdentity)(package private) RolesSecurityDomain. mapRoles(SecurityIdentity securityIdentity)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.(package private) SecurityIdentitySecurityDomain. transform(SecurityIdentity securityIdentity)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 (package private) Supplier<SecurityIdentity>SecurityDomain. getAndSetCurrentSecurityIdentity(Supplier<SecurityIdentity> newIdentity)(package private) voidSecurityDomain. setCurrentSecurityIdentity(Supplier<SecurityIdentity> newIdentity)SecurityDomain.BuilderSecurityDomain.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 SecurityIdentitySecurityEvent. securityIdentityMethods 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.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 SecurityIdentitySecurityIdentityServerMechanismFactory.SecurityIdentityCallbackHandler. securityIdentityMethods in org.wildfly.security.auth.server.http that return SecurityIdentity Modifier and Type Method Description (package private) SecurityIdentitySecurityIdentityServerMechanismFactory.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 SecurityIdentityCachedIdentity. securityIdentityMethods in org.wildfly.security.cache that return SecurityIdentity Modifier and Type Method Description SecurityIdentityCachedIdentity. getSecurityIdentity()Returns the identity represented by this instance.Methods in org.wildfly.security.cache with parameters of type SecurityIdentity Modifier and Type Method Description voidIdentityCache. put(SecurityIdentity identity)Puts aSecurityIdentityinto 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 givenmechanismNameandsecurityIdentity.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 SecurityIdentityHttpAuthenticator. login(String username, String password)Perform a login for the supplied username and password using the pre-configured mechanism name.private SecurityIdentityHttpAuthenticator. 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 voidHttpExchangeSpi. 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 SecurityIdentityOidcHttpFacade. securityIdentityMethods in org.wildfly.security.http.oidc that return SecurityIdentity Modifier and Type Method Description (package private) static SecurityIdentityOidcHttpFacade. 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. ssoFactoryMethods in org.wildfly.security.http.util.sso that return SecurityIdentity Modifier and Type Method Description SecurityIdentityDefaultSingleSignOn. getIdentity()SecurityIdentityImmutableSingleSignOn. 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 SingleSignOnDefaultSingleSignOnManager. create(String mechanismName, boolean programmatic, SecurityIdentity identity)SingleSignOnSingleSignOnManager. create(String mechanismName, boolean programmatic, SecurityIdentity identity)Creates a single sign-on entry using the specified mechanism and security identityvoidDefaultSingleSignOnSession. put(SecurityIdentity identity)voidProgrammaticSingleSignOnCache. put(SecurityIdentity identity)voidDefaultSingleSignOn. setIdentity(SecurityIdentity identity)voidSingleSignOn. setIdentity(SecurityIdentity identity)Associates a security identity with this single sign-on entry, only if no association exists.
-