Class ResourceAuthenticator

java.lang.Object
com.yammer.dropwizard.authenticator.ResourceAuthenticator
All Implemented Interfaces:
io.dropwizard.auth.Authenticator<io.dropwizard.auth.basic.BasicCredentials,LdapUser>

public class ResourceAuthenticator extends Object implements io.dropwizard.auth.Authenticator<io.dropwizard.auth.basic.BasicCredentials,LdapUser>
  • Constructor Details

    • ResourceAuthenticator

      public ResourceAuthenticator(LdapAuthenticator ldapAuthenticator)
  • Method Details

    • authenticate

      public Optional<LdapUser> authenticate(io.dropwizard.auth.basic.BasicCredentials credentials) throws io.dropwizard.auth.AuthenticationException
      Specified by:
      authenticate in interface io.dropwizard.auth.Authenticator<io.dropwizard.auth.basic.BasicCredentials,LdapUser>
      Throws:
      io.dropwizard.auth.AuthenticationException