accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <...@git.apache.org>
Subject [GitHub] accumulo pull request: Clarify Accumulo API
Date Fri, 17 Apr 2015 15:07:25 GMT
Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/28#discussion_r28602045
  
    --- Diff: core/src/main/java/org/apache/accumulo/core/client/impl/DelegationToken.java
---
    @@ -14,7 +14,7 @@
      * See the License for the specific language governing permissions and
      * limitations under the License.
      */
    -package org.apache.accumulo.core.client.security.tokens;
    +package org.apache.accumulo.core.client.impl;
    --- End diff --
    
    > What public methods would DelegationToken have that AuthenticationToken does not?
    
    We could hypothetically add methods which inform the user on the time-validity of the
token, but I believe you already know that the answer is that there are none presently.
    
    > I will try to create an opaque DelegationToken type. It seems like that gives us
more API flexibility in the future, even if we don't have any extra public methods now.
    
    Thank you. I feel like that is a better long term fix that gives us additional flexibility.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message