Package org.hippoecm.hst.security
Interface AuthenticationProvider
public interface AuthenticationProvider
AuthenticationProvider
Configures an authentication provider.
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(String userName, char[] password) Authenticate a user.getRolesByUser
(User user) Returns security roles of the given user
-
Method Details
-
authenticate
Authenticate a user.- Parameters:
userName
- The username.password
- The user password.- Returns:
- the
User
- Throws:
SecurityException
-
getRolesByUser
Returns security roles of the given user- Parameters:
user
- User object- Throws:
SecurityException
-