org.picketlink.internal
@RequestScoped public class DefaultStatelessIdentity extends DefaultIdentity
Specialization of DefaultIdentity
providing a stateless behavior to the authentication process. Basically,
this implementation is an alternative to the default behavior which uses the session scope to share the authentication state for an user between different interactions or requests.
In order to inject a stateless version of the Identity
bean, users must qualify the injection point as follows:
@Inject @Identity.Stateless public Identity identity;
Identity.Stateless
,
Serialized FormIdentity.AuthenticationResult, Identity.Stateless
Constructor and Description |
---|
DefaultStatelessIdentity() |
authenticate, getAccount, handleSuccessfulLoginAttempt, handleUnsuccesfulLoginAttempt, hasPermission, hasPermission, isLoggedIn, login, logout, logout, postAuthenticate
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.