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 Type
    Method
    Description
    authenticate(String username, String password)
    Returns Subject based on user/password combination.
  • Method Details

    • authenticate

      Subject authenticate(String username, String password) throws SecurityException
      Returns Subject 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.