Class HttpBasicAuthProvider.Builder

    • Method Detail

      • config

        public HttpBasicAuthProvider.Builder config​(Config config)
        Update this builder from configuration.
        Parameters:
        config - configuration to read, located on the node of the http basic authentication provider
        Returns:
        updated builder instance
      • subjectType

        public HttpBasicAuthProvider.Builder subjectType​(SubjectType subjectType)
        Principal type this provider extracts (and also propagates).
        Parameters:
        subjectType - type of principal
        Returns:
        updated builder instance
      • userStore

        public HttpBasicAuthProvider.Builder userStore​(UserStore store)
        Set user store to obtain passwords and roles based on logins.
        Parameters:
        store - User store to use
        Returns:
        updated builder instance
      • realm

        public HttpBasicAuthProvider.Builder realm​(String realm)
        Set the realm to use when challenging users.
        Parameters:
        realm - security realm name to send to browser (or any other client) when unauthenticated
        Returns:
        updated builder instance