Class InMemoryRelyingPartyRegistrationRepository
java.lang.Object
org.springframework.security.saml2.provider.service.registration.InMemoryRelyingPartyRegistrationRepository
- All Implemented Interfaces:
Iterable<RelyingPartyRegistration>,RelyingPartyRegistrationRepository
public class InMemoryRelyingPartyRegistrationRepository
extends Object
implements RelyingPartyRegistrationRepository, Iterable<RelyingPartyRegistration>
- Since:
- 5.2
-
Constructor Summary
ConstructorsConstructorDescriptionInMemoryRelyingPartyRegistrationRepository(RelyingPartyRegistration... registrations) -
Method Summary
Modifier and TypeMethodDescriptionReturns the relying party registration identified by the providedregistrationId, ornullif not found.iterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
InMemoryRelyingPartyRegistrationRepository
-
InMemoryRelyingPartyRegistrationRepository
public InMemoryRelyingPartyRegistrationRepository(Collection<RelyingPartyRegistration> registrations)
-
-
Method Details
-
findByRegistrationId
Description copied from interface:RelyingPartyRegistrationRepositoryReturns the relying party registration identified by the providedregistrationId, ornullif not found.- Specified by:
findByRegistrationIdin interfaceRelyingPartyRegistrationRepository- Parameters:
id- the registration identifier- Returns:
- the
RelyingPartyRegistrationif found, otherwisenull
-
iterator
- Specified by:
iteratorin interfaceIterable<RelyingPartyRegistration>
-