|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authenticator
Authenticate the given username against the given password.
This service should be exposed by a user manager framework implementation.
Method Summary | |
---|---|
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. |
Method Detail |
---|
Principal authenticate(String name, String password) throws Exception
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
-
Exception
- - if an exception occursboolean checkUsernamePassword(String name, String password) throws Exception
name
- the usernamepassword
- the password to check
Exception
- - if an exception occurs
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |