Questions tagged [spring-saml]

Spring Security SAML Extension enables seamless inclusion of SAML 2.0 Service Provider capabilities in Spring applications.

Spring Security SAML Extension enables integration of Spring applications with all SAML 2.0 Identity Provider products such as ADFS 2.0, Shibboleth, OpenAM/OpenSSO, Ping Federate and Okta.

Official Website: http://projects.spring.io/spring-security-saml/

Useful links:

753 questions
5
votes
2 answers

SAMLException: Response has invalid status code status message is null

Im trying to implement spring-securtiy-saml integration as a SP with an adfs system, and im bumping my head for some days now with this exception happening when SAMLResponnse is sent back from the ADFS after successful authentication and the…
5
votes
1 answer

How to dynamically switch application context in Spring Security?

I am using Spring security in my web application and I am using Javaconfig for it. Recently we have also added Spring SAML authentication in the application and finally got it working after some hurdles. Inside the WebApplicationInitializer's…
Amit
  • 13,134
  • 17
  • 77
  • 148
5
votes
0 answers

SSO SAML in Spring - supporting dynamic Multi-Tenant settings

I am new to SAML I currently have a Spring Restful web server application which use spring security with Basic Authentication. Since I have multiple enterprise customers i would like to support SAML SSO. Trying to find documentation and preferably…
Berethor
  • 343
  • 2
  • 13
5
votes
1 answer

OpenSaml3 Documentation

Does anyone know if there is any documentation for OpenSaml3 anywhere? Paid or otherwise? I know there used to be a $15 book available, but I believe that only covers OpenSaml2. I know this will probably get voted down as it not a programming…
csyperski
  • 992
  • 3
  • 15
  • 33
5
votes
1 answer

In an multi-tenant enviroment how can I provide different metadata for different Service Providers at runtime on different urls (subdomains)?

Working on SP initiated Single Sign On (SSO) with both SP and IdP are self-hosted thus have flexibility of editing both. I am using spring-security-saml2-core-1.0.1.RELEASE for hosting spring application (spring-security-3.2.8,…
5
votes
1 answer

Spring Security SAML using multiple subdomains to access the same application (same IP)

I have one application which is accessed via multiple subdomains, because of branding and support information which is dynamically shown. We're moving to an SSO solution, which is now making this a little interesting. Currently I added Spring…
jeremy simon
  • 601
  • 1
  • 8
  • 19
5
votes
1 answer

How the certificate use from SP keystore spring saml

I am currently Implementing Spring SAMl to configure my SP. I have received a metadata XML from IDP which I put it in the metadata folder. 1. Now while starting I got Exception is No IDP is configured,so find out that it is due to the certificate is…
Vawani
  • 399
  • 10
  • 25
5
votes
2 answers

ADFS spring-saml No AssertionConsumerService is configured on the relying party

saml with an ADFS idp. rutime error, the sp non-signed metadata was imported without problems in adfs idp but i'm facing a problem at run time: after idp authentication, on succesfull authentication, on the idp page i got a trust error like…
alessandro77
  • 51
  • 1
  • 1
  • 6
5
votes
1 answer

Metadata refresh deadlock (spring-security-saml)

every couple of days our web app that uses Spring Security SAML has deadlock. Deadlock happens on refreshing metadata. I tried too understand what is the problem from source code but without success. This is stacktrace from three threads that are in…
Denis
  • 83
  • 2
  • 14
5
votes
1 answer

can I implement both SAML and basic spring security within an application?

I have requirement for our application where we need to implement Spring SAML within our app to enable federated SSO for one customer. However we need to maintain existing login flow using spring-security for other customer. So my question is can we…
ManojP
  • 6,113
  • 2
  • 37
  • 49
5
votes
1 answer

Unexpected stack trace form Spring-Security-SAML when generating SP metadata?

I am attempting to integrate spring-security-saml with an existing application to allow that application to act as a service provider. Unfortunately, I can't seem to get the metadata filter to work. The webapp boots up without any fuss, but when I…
Tinned_Tuna
  • 237
  • 1
  • 12
5
votes
2 answers

SAMLException: NameID element must be present as part of the Subject in the Response message, please enable it in the IDP configuration

Iam using spring-saml implementation. In the class WebSSOProfileConsumerImpl, I could find the following lines of code which checks for nameId in the assertion of the SAML response. NameID nameID; if (subject.getEncryptedID() != null) { …
SM KUMAR
  • 475
  • 2
  • 8
  • 13
5
votes
1 answer

how to configure both spring security basic authentication and SAML authentication using spring-sample example within same application

I have an application that uses spring security basic authentication which validates user details against the database. There are a specific set of users who are validated against SSO database. Using SAML, I was able to validate against SSO…
SM KUMAR
  • 475
  • 2
  • 8
  • 13
5
votes
3 answers

Spring SAML extension for multiple IDP'S

we are planning to use spring saml extension as SP into our application. But the requirement with our application is we need to communicate with more than 1 IDP's Could any one please provide me/direct me to the example where it uses multiple…
5
votes
1 answer

Spring Security SAML Implementation

I am starting with new Spring project where i am planning to use SSO. I have red the blogs and come to know spring security SAML will be best solution for SP. So i have implemented Spring Security SAML sample application provided by spring site…
Suresh J
  • 117
  • 1
  • 1
  • 8