- All Implemented Interfaces:
- Serializable, org.jboss.seam.security.Authenticator, OAuthAuthenticator
@Requires(value="org.jboss.seam.social.oauth.OAuthService")
@Named(value="oauthAuthenticator")
@SessionScoped
public class OAuthAuthenticatorImpl
extends org.jboss.seam.security.BaseAuthenticator
implements OAuthAuthenticator, org.jboss.seam.security.Authenticator, Serializable
An Authenticator implementation that uses OAuth to authenticate the user.
Based on OpenIdAuthenticator from Seam Security External module.
The OAuthAuthenticatorImpl has two modes of operation, depending on the value of the serviceName 1. Using the only configured
OAuthService if serviceName is null, this will raise an IllegalStateException if there is no or more than one available @ServiceRelated
OAuthService. 2. Using the multiServicesManager, in which case the serviceName selects the service which which to create a
new connection. This beans exists only if Seam Social is in the classpath
- Author:
- maschmid, Antoine Sabot-Durand
- See Also:
- Serialized Form