Hi, I have a CAS server (3.4) configure to send SAML 1.1 response with some attribute. With the little demo app, I can see my attributes so the server is well configured.
Now, I have a webapp based on Spring Security 3.1.4 and I try to consume the SAML's attribute in a Spring's bean.... and I can't find how to. After googling it, I "understand" that I need to use GrantedAuthorityFromAssertionAttributesUserDetailsService in my Security's Conf. Is it correct ? If it's correct, I don't understand what I have to set in the constructor. Is it a value existing in the saml's attribute? Actually, I can login but there is no kink between my principal and the ROLE_USER or anything, so the access is denied. If I set access to permitAll, my principal is set to anonymousUser I just want to be able to use my attributes in a Spring's bean, I don't want to use SAML's attributes to check the authorization (Role) Regards, PS: Spring Security : [....] --> authorities [...] ___________________________________________________________ Ces enfants de stars qui suivent les traces de leurs parents. Diaporama People à voir sur Voila.fr http://people.voila.fr/people/mediatheque/dossiers/ces-enfants-de-stars-qui-suivent-les-traces-de-leurs-parents_13588769_1.html -- 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
