directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-644) ClassCastException in TokenPreauth
Date Tue, 08 Aug 2017 11:13:00 GMT

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

Colm O hEigeartaigh commented on DIRKRB-644:
--------------------------------------------

Yes sounds good to me. We then also need to change the requestTgt/requestSgt methods in KrbTokenClient
as well, as the KrbToken will be passed through to the TokenPreauth class from here.

> 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
>
>
> 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)

Mime
View raw message