public class JaasPasswordAuthenticator extends AbstractLoggingBean implements PasswordAuthenticator
log
Constructor and Description |
---|
JaasPasswordAuthenticator() |
JaasPasswordAuthenticator(String domain) |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String username,
String password) |
boolean |
authenticate(String username,
String password,
ServerSession session)
Check the validity of a password.
|
String |
getDomain() |
void |
setDomain(String domain) |
public JaasPasswordAuthenticator()
public JaasPasswordAuthenticator(String domain)
public String getDomain()
public void setDomain(String domain)
public boolean authenticate(String username, String password, ServerSession session)
PasswordAuthenticator
authenticate
in interface PasswordAuthenticator
username
- The username credentialpassword
- The provided passwordsession
- The ServerSession
attempting the authenticationtrue
indicating if authentication succeededCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.