[ 
https://issues.apache.org/jira/browse/TINKERPOP-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955122#comment-15955122
 ] 

ASF GitHub Bot commented on TINKERPOP-1657:
-------------------------------------------

Github user krlohnes commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/583#discussion_r109659946
  
    --- Diff: 
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/Settings.java 
---
    @@ -384,9 +384,25 @@ public SerializerSettings() {}
              * used to load the implementation from the classpath. Defaults to 
{@link AllowAllAuthenticator} when
              * not specified.
              */
    +        public String authenticator = null;
    +
    +        /**
    +         * The fully qualified class name of the {@link Authenticator} 
implementation. This class name will be
    +         * used to load the implementation from the classpath. Defaults to 
{@link AllowAllAuthenticator} when
    +         * not specified.
    +         * Deprecated in favor of {@link authenticator}.
    --- End diff --
    
    Fixed


> Provide abstraction to easily allow different HttpAuth schemes
> --------------------------------------------------------------
>
>                 Key: TINKERPOP-1657
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1657
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: server
>            Reporter: Keith Lohnes
>
> The current HttpChannelizer allows for extension through an Authenticator 
> class supplied through the authorization settings. There isn't, however, an 
> extension point for an authentication handler. Currently the choice is 
> between the `AllowAllAuthenticator` or the `HttpBasicAuthenticationHandler`. 
> One would need to create a new channelizer where the HttpChannelizer would 
> suffice. Creating an abstract class that can be extended would make it easier 
> to extend Authentication for things like token authentication schemes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to