Interface SecurityDomain
-
public interface SecurityDomain
Pluggable security domain which could be used as a bridge betweenAuthenticator
and WildFly Security Realms.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subject
authenticate(String username, String password)
ReturnsSubject
based on user/password combination.
-
-
-
Method Detail
-
authenticate
Subject authenticate(String username, String password) throws SecurityException
ReturnsSubject
based 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.
-
-