Interface SecurityDomain


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

      • authenticate

        Principal authenticate​(String username,
                               String password)
                        throws SecurityException
        Returns Principal based on user/password combination.
        Parameters:
        username - User name.
        password - Password.
        Returns:
        Principal if authentication was successful.
        Throws:
        SecurityException - Thrown in case of error or authentication failure.