[cas-user] Upgrade from CAS 6.0 to CAS 6.1 principal.getAttributes() problem

2020-03-05 Thread Boubaker Idir
Hello guys, I'm new to CAS and I want to upgrade from CAS 6.0 to CAS 6.1
but I have this issue:
org.springframework.webflow.execution.ActionExecutionException:
Exception thrown
executing org.apereo.cas.web.flow.login.
SendTicketGrantingTicketAction@64b754e7 in state 'sendTicketGrantingTicket' of
flow 'login' -- action execution attributes were 'map[[empty]]'



For CAS 6.0 everything works fine, I can sign in with the login and the
password but when upgrading to CAS 6.1, I get that issue.
I found out that the *getAttributes()* method of the *Principal.java* class
changed the return type from *Map*  to *Map>*
and also *collectAttributesForLdapEntry(final LdapEntry ldapEntry, final
String username**)* method changed the return type in the
LdapAuthenticationHandler.java class

Looking at the logs I saw this:


Does someone had the same problem when upgrading to CAS 6.1 version?
Thank you in advance

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFo8KS18R_OmSV--Ahgc5w2R%2Bz-Way6%2Bi-rUXyCGNrWg9NzJjg%40mail.gmail.com.


[cas-user] Upgrade from CAS 6.0 to CAS 6.1 principal.getAttributes() problem

2020-03-05 Thread BobId
Hello guys, I'm new to CAS and I want to upgrade from CAS 6.0 to CAS 6.1 
but I have this issue:
org.springframework.webflow.execution.ActionExecutionException: Exception 
thrown executing org.apereo.cas.web.flow.login.
SendTicketGrantingTicketAction@64b754e7 in state 'sendTicketGrantingTicket' 
of flow 'login' -- action execution attributes were 'map[[empty]]'



For CAS 6.0 everything works fine, I can sign in with the login and the 
password but when upgrading to CAS 6.1, I get that issue.
I found out that the *getAttributes()* method of the *Principal.java* class 
changed the return type from *Map*  to *Map>*
and also *collectAttributesForLdapEntry(final LdapEntry ldapEntry, final 
String username**)* method changed the return type in the 
LdapAuthenticationHandler.java 
class

Looking at the logs I saw this: 


Does someone had the same problem when upgrading to CAS 6.1 version?
Thank you in advance

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/622f291a-f99c-42c2-9661-c1e491f3aa5d%40apereo.org.