Class Settings.AuthorizationSettings

  • Enclosing class:
    Settings

    public static class Settings.AuthorizationSettings
    extends Object
    Settings for the Authenticator implementation.
    • Field Detail

      • authorizer

        public String authorizer
        The fully qualified class name of the Authorizer implementation. This class name will be used to load the implementation from the classpath. Defaults to null when not specified.
    • Constructor Detail

      • AuthorizationSettings

        public AuthorizationSettings()
    • Method Detail

      • overrideAuthorizer

        public void overrideAuthorizer​(Authorizer authorizer)
        When this value is set, it is the Authorizer that Gremlin Server uses and the authorizer and config settings are ignored. Gremlin Server sets it to the Authorizer it creates from those settings, so that every channelizer and handler that shares these settings uses the same instance. The instance stays on these settings, so a server started again with the same Settings object reuses the Authorizer that was already set up rather than creating a new one.