public class JaasPasswordAuthenticator extends Object implements PasswordAuthenticator
Constructor and Description |
---|
JaasPasswordAuthenticator() |
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 String getDomain()
public void setDomain(String domain)
public boolean authenticate(String username, String password, ServerSession session)
PasswordAuthenticator
authenticate
in interface PasswordAuthenticator
username
- the usernamepassword
- the passwordsession
- the server sessionCopyright © 2008-2012 Apache Software Foundation. All Rights Reserved.