Interface SecurityDomain
public interface SecurityDomain
Pluggable security domain which could be used as a bridge between
Authenticator and
WildFly Security Realms.-
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String username, String password) ReturnsSubjectbased on user/password combination.
-
Method Details
-
authenticate
ReturnsSubjectbased on user/password combination.- Parameters:
username- User name.password- Password.- Returns:
- Subject if authentication was successful.
- Throws:
SecurityException- Thrown in case of error or authentication failure.
-