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
username
- SecurityException
Copyright © 2012–2015 Hippo B.V. (http://www.onehippo.com). All rights reserved.