Spring security SAML : Which lib to create an Identity provider to connect to service provider

195 views Asked by At

I want to create an identityprovider to authenticate to an sso server using Spring security saml2. Can I create an ID using the 'org.springframework.security:spring-security-saml2-service-provider' library or should I do this using 'org.springframework.security.extensions: spring-security-saml:1.0.10.RELEASE' or 'org.springframework.security.extensions:spring-security-saml2-core:2.0.0.M31'

I have the impression that the documentation is mainly around setting up service providers

1

There are 1 answers

0
Andrei Lisa On BEST ANSWER

As an answer to your question I want to say that

org.springframework.security.extensions:spring-security-saml2-core:2.0.0.M31

and

org.springframework.security.extensions:%20spring-security-saml%3A1.0.10.RELEASE

Were removed from support more details you will be able to find spring-security-saml-extensions-1-x-eol-on-october-6-2021

It could also be seeing into maven repository

Based on it you have to use

org.springframework.security:spring-security-saml2-service-provider

That is currently maintained you can check it also on maven central repository

Also a reference to documentation