You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/04/22 08:19:08 UTC

[GitHub] [pulsar] jiazhai commented on a change in pull request #4097: Issue #3653: Kerberos authentication for web resource support

jiazhai commented on a change in pull request #4097: Issue #3653: Kerberos authentication for web resource support
URL: https://github.com/apache/pulsar/pull/4097#discussion_r277235118
 
 

 ##########
 File path: pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/AuthenticationState.java
 ##########
 @@ -47,7 +49,14 @@
     AuthenticationDataSource getAuthDataSource();
 
     /**
-     * Whether the authentication is completed or not
+     * Whether the authentication is completed or not.
      */
     boolean isComplete();
+
+    /**
+     * Get AuthenticationState ID
+     */
+    default long getStateId() {
+        return 0;
 
 Review comment:
   0 will not return.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services