You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/09/22 18:08:00 UTC

[jira] [Reopened] (FINERACT-1120) Two Factor Auth Filter Type Cast Error

     [ https://issues.apache.org/jira/browse/FINERACT-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Vorburger reopened FINERACT-1120:
-----------------------------------------

Is this Fix Version on this issue set correctly? If FINERACT-1136 is for 1.4.0 (and unclear), and https://github.com/apache/fineract/pull/1297 was only merged into develop, then this only made it into (and the Fix Version should actually be) 1.5.0, no? Or was this before we branched? (But then why were there 2 JIRA issues?)

> Two Factor Auth Filter Type Cast Error
> --------------------------------------
>
>                 Key: FINERACT-1120
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1120
>             Project: Apache Fineract
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Saransh Sharma
>            Assignee: Manoj
>            Priority: Major
>             Fix For: 1.4.0
>
>
> Error :
> java.lang.ClassCastException: class java.lang.String cannot be cast to class org.springframework.security.authentication.AnonymousAuthenticationToken
> {code:java}
> // AppUser user = (AppUser) authentication.getPrincipal();
> {code}
> This line has some type casting error exception when running the two factor mode. 
> To enable two factor mode you need to run with -Psecurity=twofactor
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)