public class OAuthAuthenticator extends Object implements com.yammer.dropwizard.auth.Authenticator<String,AuthenticatedPrincipal>
Authenticator that ask the Authorization Server to check| Constructor and Description |
|---|
OAuthAuthenticator(UniversityFooConfiguration configuration) |
public OAuthAuthenticator(UniversityFooConfiguration configuration)
configuration - public com.google.common.base.Optional<AuthenticatedPrincipal> authenticate(String accessToken) throws com.yammer.dropwizard.auth.AuthenticationException
authenticate in interface com.yammer.dropwizard.auth.Authenticator<String,AuthenticatedPrincipal>com.yammer.dropwizard.auth.AuthenticationExceptionCopyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.