A few people have been asking how to run Spring SAML with Spring Security 3.1. This is pretty easy, you need to:
- Change references to GrantedAuthority to ? extends GrantedAuthority
- Update the securityContext.xml to use the new <security:http security="none"> format
- If you want to use the sample example as is you will also need to use erase-credentials=false
I've put together a patched version of the saml2-core which runs against Spring Security 3.1 and also updated the saml2-sample app so it also works with 3.1. You can download it here (see the "Others" section). I'll contact the spring saml team and see if they want these changes feeding into the project
Cheers


Reply With Quote
