public class SimpleTestUsernamePasswordAuthenticator extends Object implements Authenticator<UsernamePasswordCredentials>
Constructor and Description |
---|
SimpleTestUsernamePasswordAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(UsernamePasswordCredentials credentials,
WebContext context)
Validate the credentials.
|
public SimpleTestUsernamePasswordAuthenticator()
public void validate(UsernamePasswordCredentials credentials, WebContext context)
Authenticator
CredentialsException
in case of failure.validate
in interface Authenticator<UsernamePasswordCredentials>
credentials
- the given credentialscontext
- the web contextCopyright © 2019. All rights reserved.