public interface SecurityDomain
Authenticator and
Wildfly Security Realms.| Modifier and Type | Method and Description |
|---|---|
Principal |
authenticate(String username,
String password)
Returns
Principal based on user/password combination. |
Principal authenticate(String username, String password) throws SecurityException
Principal based on user/password combination.username - User name.password - Password.SecurityException - Thrown in case of error or authentication failure.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.