You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/04 00:29:11 UTC

[jira] [Commented] (TINKERPOP-995) Add Authenticator.newSaslNegotiator(InetAddress)

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

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

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

    https://github.com/apache/incubator-tinkerpop/pull/162#discussion_r46629020
  
    --- Diff: gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/auth/AllowAllAuthenticator.java ---
    @@ -41,7 +42,16 @@ public AuthenticatedUser authenticate(final Map<String, String> credentials) thr
             return AuthenticatedUser.ANONYMOUS_USER;
         }
     
    +    /**
    +     * @deprecated As of release 3.1.1-incubating, replaced by {@link #newSaslNegotiator(InetAddress)}.
    +     * @see <a href="https://issues.apache.org/jira/browse/TINKERPOP3-995">TINKERPOP3-995</a>
    --- End diff --
    
    This is about as tiny as it comes, but could the '3' be dropped to be consistent with the latest name update?  Can't remember if they were ever going to drop the redirect.  I'm sure there are others in the code so maybe instead, at some point a mass update could be made if we wanted.


> Add Authenticator.newSaslNegotiator(InetAddress)
> ------------------------------------------------
>
>                 Key: TINKERPOP-995
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-995
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.1.0-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>            Priority: Minor
>             Fix For: 3.1.1-incubating
>
>
> Add a new method to the {{Authenticator}} interface that will replace the current:
> {code}
> public SaslNegotiator newSaslNegotiator();
> {code}
> the preferred new method would be:
> {code}
> public default SaslNegotiator newSaslNegotiator(final InetAddress remoteAddress)
> {code}
> This will include deprecation of the old method - this is not a breaking change.
> .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)