Class ExtensionRegistry.Builder

    • Method Detail

      • withAuthorizer

        public ExtensionRegistry.Builder withAuthorizer​(JmxAuthorizer authorizer)
        Overrides the default JmxAuthorizer of the extension registry.
        Parameters:
        authorizer - hook for exposing access control information to the JMX subsystem
        Returns:
        a reference to this builder
      • withSecurityIdentitySupplier

        public ExtensionRegistry.Builder withSecurityIdentitySupplier​(Supplier<org.wildfly.security.auth.server.SecurityIdentity> securityIdentitySupplier)
        Overrides the default SecurityIdentity supplier of the extension registry.
        Parameters:
        securityIdentitySupplier - supplier of a security identity
        Returns:
        a reference to this builder
      • build

        public ExtensionRegistry build()
        Constructs an extension registry.
        Returns:
        a new extension registry