javaspring-securitysingle-sign-onsaml-2.0spring-security-saml2

Which lib to create an Identity provider to connect to service provider


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


Solution

  • 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