org.axway.grapes.server.webapp.auth
Class GrapesAuthenticator
java.lang.Object
org.axway.grapes.server.webapp.auth.GrapesAuthenticator
- All Implemented Interfaces:
- com.yammer.dropwizard.auth.Authenticator<com.yammer.dropwizard.auth.basic.BasicCredentials,DbCredential>
public class GrapesAuthenticator
- extends Object
- implements com.yammer.dropwizard.auth.Authenticator<com.yammer.dropwizard.auth.basic.BasicCredentials,DbCredential>
Grapes Authenticator
Handles all Grapes authentications
- Author:
- jdcoffre
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrapesAuthenticator
public GrapesAuthenticator(RepositoryHandler repoHandler)
authenticate
public com.google.common.base.Optional<DbCredential> authenticate(com.yammer.dropwizard.auth.basic.BasicCredentials credentials)
throws com.yammer.dropwizard.auth.AuthenticationException
- Specified by:
authenticate in interface com.yammer.dropwizard.auth.Authenticator<com.yammer.dropwizard.auth.basic.BasicCredentials,DbCredential>
- Throws:
com.yammer.dropwizard.auth.AuthenticationException
encrypt
public static String encrypt(String password)
throws com.yammer.dropwizard.auth.AuthenticationException
- Encrypt passwords
- Parameters:
password -
- Returns:
- String
- Throws:
com.yammer.dropwizard.auth.AuthenticationException
Copyright © 2014. All Rights Reserved.