public interface AuthenticationProvider
Configures an authentication provider.
Modifier and Type | Method and Description |
---|---|
User |
authenticate(String userName,
char[] password)
Authenticate a user.
|
Set<Role> |
getRolesByUsername(String username)
Returns security roles of the given username
|
User authenticate(String userName, char[] password) throws SecurityException
userName
- The user name.password
- The user password.User
SecurityException
Set<Role> getRolesByUsername(String username) throws SecurityException
user
- SecurityException
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.