public interface SecurityDomain
Authenticator and
Wildfly Security Realms.| Modifier and Type | Method and Description |
|---|---|
java.security.Principal |
authenticate(java.lang.String username,
java.lang.String password)
Returns
Principal based on user/password combination. |
java.security.Principal authenticate(java.lang.String username,
java.lang.String password)
throws java.lang.SecurityException
Principal based on user/password combination.username - User name.password - Password.java.lang.SecurityException - Thrown in case of error or authentication failure.