Class LazyInMemoryRelyingPartyRegistrationRepository

  • All Implemented Interfaces:
    Iterable<org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration>, org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository

    public class LazyInMemoryRelyingPartyRegistrationRepository
    extends Object
    implements org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository, Iterable<org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration>
    Lazy RelyingPartyRegistration initialization, for the case when IDP is not available for some reason.
    Author:
    Eugene Biruk
    • Constructor Detail

      • LazyInMemoryRelyingPartyRegistrationRepository

        public LazyInMemoryRelyingPartyRegistrationRepository​(org.springframework.core.env.PropertyResolver propertyResolver)
    • Method Detail

      • findByRegistrationId

        public org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration findByRegistrationId​(String id)
        Returns the relying party registration identified by the provided. Initializes RelyingPartyRegistration if it has not been created yet.
        Specified by:
        findByRegistrationId in interface org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository
        Parameters:
        id - the registration identifier
        Returns:
        the RelyingPartyRegistration if found, otherwise null
      • iterator

        public Iterator<org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration> iterator()
        Returns an iterator over elements of type T. Initializes RelyingPartyRegistration if it has not been created yet.
        Specified by:
        iterator in interface Iterable<org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration>
        Returns:
        an Iterator.