Class BasicAuthConfiguration


  • public class BasicAuthConfiguration
    extends Object
    Configuration for Basic AuthN.
    • Constructor Detail

      • BasicAuthConfiguration

        public BasicAuthConfiguration()
    • Method Detail

      • getEnabled

        public boolean getEnabled()
        Get whether basic authentication has been enabled.
        Returns:
        true if basic auth is enabled; false otherwise
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enable or disable basic authentication.
        Parameters:
        enabled - true if basic auth is enabled; false otherwise
      • getUsersFile

        public String getUsersFile()
        Get the username file.
        Returns:
        the username file
      • setUsersFile

        public void setUsersFile​(String usersFile)
        Set the username file.
        Parameters:
        usersFile - the username file