Interface SecurityDomain

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description authenticate​(java.lang.String username, java.lang.String password)
      Returns Subject based on user/password combination.
    • Method Detail

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