Class AuthConfiguration


  • public class AuthConfiguration
    extends Object
    Configuration for authN/authZ.
    • Constructor Detail

      • AuthConfiguration

        public AuthConfiguration()
    • Method Detail

      • setAdminUsers

        public void setAdminUsers​(List<String> adminUsers)
        Set the admin users.
        Parameters:
        adminUsers - the admin users
      • getAdminUsers

        public List<String> getAdminUsers()
        Get the admin users.
        Returns:
        the admin users
      • setBasic

        public void setBasic​(BasicAuthConfiguration basic)
        Set the basic auth configuration.
        Parameters:
        basic - the basic auth config
      • getBasic

        public BasicAuthConfiguration getBasic()
        Get the basic auth configuration.
        Returns:
        the basic auth config
      • setJwt

        public void setJwt​(JwtAuthConfiguration jwt)
        Set the jwt auth configuration.
        Parameters:
        jwt - the jwt auth config
      • getJwt

        public JwtAuthConfiguration getJwt()
        Get the jwt auth configuration.
        Returns:
        the jwt auth config
      • setWebac

        public void setWebac​(WebacConfiguration webac)
        Set the webac auth configuration.
        Parameters:
        webac - the webac auth config
      • getWebac

        public WebacConfiguration getWebac()
        Get the webac auth configuration.
        Returns:
        the webac auth config
      • getRealm

        public String getRealm()
        Get the security realm.
        Returns:
        the realm; by default, this is 'trellis'
      • setRealm

        public void setRealm​(String realm)
        Set the security realm.
        Parameters:
        realm - the security realm
      • setScope

        public void setScope​(String scope)
        Set the security scope.
        Parameters:
        scope - the security scope
      • getScope

        public String getScope()
        Get the security scope.
        Returns:
        the scope