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

Awasum Yannick updated FINERACT-1120:
-------------------------------------
    Fix Version/s:     (was: 1.6.0)
                   1.5.0

> 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 Mohanan
>            Priority: Major
>             Fix For: 1.5.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)

Reply via email to