[
https://issues.apache.org/jira/browse/DIRKRB-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120922#comment-16120922
]
Jiajia Li commented on DIRKRB-644:
----------------------------------
The patch looks good to me, and all tests passed, +1.
> ClassCastException in TokenPreauth
> ----------------------------------
>
> Key: DIRKRB-644
> URL: https://issues.apache.org/jira/browse/DIRKRB-644
> Project: Directory Kerberos
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Colm O hEigeartaigh
> Fix For: 1.0.1
>
> Attachments: DIRKRB-644.patch
>
>
> There is a ClassCastException in TokenPreauth.makeEntry:
> AuthToken authToken;
> tokenPa.setToken((KrbTokenBase) authToken);
> AuthToken is not an instanceof KrbTokenBase and so this call to setToken
> will always fail.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)