You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2015/03/27 08:27:53 UTC

[jira] [Commented] (DIRKRB-198) Separate the TokenDecoder from TokenEncoder

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

Kai Zheng commented on DIRKRB-198:
----------------------------------

Hi Jiajia, would you check the following ? Thanks.
{code}
+    private static TokenDecoder getTokenDecoder() {
+        if (tokenEncoder == null) {
+            tokenEncoder = KrbRuntime.getTokenProvider().createTokenEncoder();
+        }
+        return tokenDecoder;
+    }
+
{code}

> Separate the TokenDecoder from TokenEncoder
> -------------------------------------------
>
>                 Key: DIRKRB-198
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-198
>             Project: Directory Kerberos
>          Issue Type: New Feature
>            Reporter: Jiajia Li
>            Assignee: Jiajia Li
>         Attachments: DIRKRB-198-V1.patch
>
>
> Now the authtoken encoder and decoder with in one class TokenEncoder, so  need to separate it.



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