public class LdapAuthenticator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected LdapConfiguration |
configuration |
| Constructor and Description |
|---|
LdapAuthenticator(LdapConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(io.dropwizard.auth.basic.BasicCredentials credentials) |
com.google.common.base.Optional<User> |
authenticateAndReturnPermittedGroups(io.dropwizard.auth.basic.BasicCredentials credentials) |
boolean |
canAuthenticate() |
protected final LdapConfiguration configuration
public LdapAuthenticator(LdapConfiguration configuration)
public boolean canAuthenticate()
@Timed
public boolean authenticate(io.dropwizard.auth.basic.BasicCredentials credentials)
throws io.dropwizard.auth.AuthenticationException
io.dropwizard.auth.AuthenticationException@Timed public com.google.common.base.Optional<User> authenticateAndReturnPermittedGroups(io.dropwizard.auth.basic.BasicCredentials credentials) throws io.dropwizard.auth.AuthenticationException
io.dropwizard.auth.AuthenticationExceptionCopyright © 2015. All rights reserved.