public class LdapSecurityProvider extends AbstractSecurityProvider implements SecurityProvider
SecurityProvider
implementation that relies on LDAP to authenticate.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LDAP_CONTEXT_FACTORY |
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
LdapSecurityProvider(ManagementContext mgmt) |
LdapSecurityProvider(java.lang.String ldapUrl,
java.lang.String ldapRealm) |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(javax.servlet.http.HttpSession session,
java.lang.String user,
java.lang.String password) |
static void |
checkCanLoad() |
isAuthenticated, logout
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAuthenticated, logout
public static final org.slf4j.Logger LOG
public static final java.lang.String LDAP_CONTEXT_FACTORY
public LdapSecurityProvider(ManagementContext mgmt)
public LdapSecurityProvider(java.lang.String ldapUrl, java.lang.String ldapRealm)
public boolean authenticate(javax.servlet.http.HttpSession session, java.lang.String user, java.lang.String password)
authenticate
in interface SecurityProvider
public static void checkCanLoad()