public interface AuthenticationService
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
String password)
Authenticate the given user
If the password is similar to the shared key, it assumes that the request has came from the authenticated user.
|
boolean authenticate(String username, String password) throws AuthenticationException
username - The name of the user to be authenticatedpassword - The password of the user to be authenticated.true if the user is authenticatedAuthenticationException - for errors if the authentication cannot be done.Copyright © 2019 WSO2. All rights reserved.