public interface AuthenticationProvider
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String username,
String password)
Authenticates the user using the given credentials, if successful a new
session will be created.
|
boolean |
authenticate(String username,
String password,
Object userObject)
Authenticates the user using the given credentials, if successful a new
session will be created.
|
boolean |
isEnabled()
A provider can be in a disabled state
|
boolean |
validateOnUser(String user) |
boolean authenticate(String username, String password, Object userObject)
username
- password
- userObject
- Opaque object that will be associated to the sessionboolean authenticate(String username, String password)
username
- password
- boolean validateOnUser(String user)
boolean isEnabled()
Copyright © 2008-2014 Logical Objects. All Rights Reserved.