I got it working when using version 5.1.0-RC2. Sorry for bothering you guys. I'd also like to thank you guys for this amazing project. Op zondag 12 maart 2017 16:45:11 UTC+1 schreef David Vandorpe: > > I'm having the same issue as > https://groups.google.com/a/apereo.org/forum/#!searchin/cas-user/pac4j$20attribute/cas-user/UT8TgyhKzS4/3WipiOJYDQAJ > > , but with CAS version 5.0.3.1 . > Container: Tomcat8 > Java version: openjdk 1.8.0_121 > deployerConfigContext.xml: > > > <?xml version="1.0" encoding="UTF-8"?> > > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:p="http://www.springframework.org/schema/p" > xmlns:tx="http://www.springframework.org/schema/tx" > xmlns:sec="http://www.springframework.org/schema/security" > xmlns:util="http://www.springframework.org/schema/util" > xsi:schemaLocation="http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-3.1.xsd > http://www.springframework.org/schema/tx > http://www.springframework.org/schema/tx/spring-tx-3.1.xsd > http://www.springframework.org/schema/security > http://www.springframework.org/schema/security/spring-security-3.1.xsd > http://www.springframework.org/schema/util > http://www.springframework.org/schema/util/spring-util.xsd"> > > > <bean id="attributeRepository" name="attributeRepository" > > class="org.apereo.services.persondir.support.StubPersonAttributeDao"> > <property name="backingMap"> > <map> > <entry key="uid" value="uid" /> > <entry key="eduPersonAffiliation" > value="eduPersonAffiliation" /> > <entry key="groupMembership" value="groupMembership" /> > <entry key="awesomeness" value="9001" /> > </map> > </property> > </bean> > > <bean id="personDirectoryPrincipalResolver" > name="personDirectoryPrincipalResolver" > > class="org.apereo.cas.authentication.principal.PersonDirectoryPrincipalResolver"> > <property name="attributeRepository" ref="attributeRepository"> > </property> > </bean> > </beans> > > > This works for the default user (casuser:Mellon), but when I try to > authenticate with facebook there are no additional attributes. > The personDirectoryPrincipalResolver isn't necessary to work with the > default user, but I added it because I saw > https://github.com/apereo/cas/blob/master/support/cas-server-support-pac4j/src/main/java/org/apereo/cas/support/pac4j/config/support/authentication/Pac4jAuthenticationEventExecutionPlanConfiguration.java#L78 > > Apart from adding cas-server-support-pac4j-webflow to the pom.xml and > configuring the cas.authn.pac4j.facebook settings, I didn't need to > change anything else to the Maven overlay to reproduce this issue. > How would I solve this issue? > > >
-- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/18cfb42d-cd20-4720-9864-80bd67b0c0dc%40apereo.org.
