Interface SecurityDomain


  • public interface SecurityDomain
    Pluggable security domain which could be used as a bridge between Authenticator and WildFly Security Realms.
    • Method Detail

      • 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.