My client page is the one you made and offer in this page: https://wiki.jasig.org/display/CASUM/End-to-end+Windows+Example
Selon Scott Battaglia <[email protected]>: > On Mon, Apr 4, 2011 at 11:14 AM, <[email protected]> wrote: > > > With the default configuration of the serviceRegistryDao I selected the > > "Ignore > > Attribute Management via this Tool" checkbox for all services... and... it > > doesn't change anything to my problem. :/ > > > > All that says is that you've used a custom principal or custom JSP page so > we shouldn't try to apply our typical logic. You don't appear to want to do > that. Also in your use case below, it would seem appropriate to use our > SimplePrincipal class. > > Cheers, > Scott > > > > > > > Here is my attribute repository: > > <bean id="attributeRepository" > > class="org.jasig.services.persondir.support.StubPersonAttributeDao"> > > <property name="backingMap"> > > <map> > > <entry key="uid" value="uid" /> > > <entry key="eduPersonAffiliation" value="eduPersonAffiliation" /> > > <entry key="groupMembership" value="groupMembership" /> > > </map></property></bean> > > > > Here is the end of my method resolvePrincipal: > > > > convertedAttributes.put("uid", "uid"); > > return new UtilisateurConnectePrincipal(principalId, convertedAttributes); > > > > UtilisateurConnectePrincipal is a self-made Principal that I made from > > SimplePrincipal with a modifiable map... I tried SimplePrincipal too and > > result > > is the same... > > > > I add the couple (uid,uid) because before I did the map was empty (I > > thought the > > backingMap should intervene, but... visibly not). When the Principal is > > created > > the attributes are well transmitted... But after they are created, they > > disappears in the Warp. :x > > > > > > Selon Marvin Addison <[email protected]>: > > > > > > Connection is well-made, the principal is created with the attributes I > > > gave him... And... and what? Is it enough? ... in both cases I can't > > reach > > > the Principal with my client applications. > > > > > > You need to ensure the service is authorized to receive the attributes > > > in the service manager component. See the yellow note on > > > https://wiki.jasig.org/display/CASUM/Attributes. > > > > > > M > > > > > > -- > > > You are currently subscribed to [email protected] as: > > [email protected] > > > To unsubscribe, change settings or access archives, see > > > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > > > > > > > > > -- > > You are currently subscribed to [email protected] as: > > [email protected] > > To unsubscribe, change settings or access archives, see > > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > > -- > You are currently subscribed to [email protected] as: [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
