Package org.openl.security.saml
Class LazyInMemoryRelyingPartyRegistrationRepository
- java.lang.Object
-
- org.openl.security.saml.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 Summary
Constructors Constructor Description LazyInMemoryRelyingPartyRegistrationRepository(org.springframework.core.env.PropertyResolver propertyResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationfindByRegistrationId(String id)Returns the relying party registration identified by the provided.Iterator<org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration>iterator()Returns an iterator over elements of typeT.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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:
findByRegistrationIdin interfaceorg.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository- Parameters:
id- the registration identifier- Returns:
- the
RelyingPartyRegistrationif found, otherwisenull
-
iterator
public Iterator<org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration> iterator()
Returns an iterator over elements of typeT. Initializes RelyingPartyRegistration if it has not been created yet.
-
-