public interface Authenticator
This service should be exposed by a user manager framework implementation.
Modifier and Type | Method and Description |
---|---|
Principal |
authenticate(String name,
String password)
Get a principal object for the given username if the username / password pair is valid, otherwise returns null.
|
boolean |
checkUsernamePassword(String name,
String password)
Check the password for the given username.
|
Principal authenticate(String name, String password)
This method is doing the authentication of the given username / password pair and returns the corresponding principal object if authentication succeeded otherwise returns null.
name
- password
- Copyright © 2015 Nuxeo SA. All rights reserved.