Class SimpleTestUsernamePasswordAuthenticator
- java.lang.Object
-
- org.pac4j.http.credentials.authenticator.test.SimpleTestUsernamePasswordAuthenticator
-
- All Implemented Interfaces:
Authenticator<UsernamePasswordCredentials>
public class SimpleTestUsernamePasswordAuthenticator extends Object implements Authenticator<UsernamePasswordCredentials>
This class is a simple test authenticator: password must match username.- Since:
- 1.4.0
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description SimpleTestUsernamePasswordAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(UsernamePasswordCredentials credentials, WebContext context)
-
-
-
Method Detail
-
validate
public void validate(UsernamePasswordCredentials credentials, WebContext context)
- Specified by:
validate
in interfaceAuthenticator<UsernamePasswordCredentials>
-
-