Interface SecurityDomain
-
public interface SecurityDomainPluggable security domain which could be used as a bridge betweenAuthenticatorand Wildfly Security Realms.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.security.auth.Subjectauthenticate(java.lang.String username, java.lang.String password)ReturnsSubjectbased on user/password combination.
-
-
-
Method Detail
-
authenticate
javax.security.auth.Subject authenticate(java.lang.String username, java.lang.String password) throws java.lang.SecurityExceptionReturnsSubjectbased on user/password combination.- Parameters:
username- User name.password- Password.- Returns:
- Subject if authentication was successful.
- Throws:
java.lang.SecurityException- Thrown in case of error or authentication failure.
-
-