Class InMemoryRelyingPartyRegistrationRepository
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.registration.InMemoryRelyingPartyRegistrationRepository
-
- All Implemented Interfaces:
java.lang.Iterable<RelyingPartyRegistration>
,RelyingPartyRegistrationRepository
public class InMemoryRelyingPartyRegistrationRepository extends java.lang.Object implements RelyingPartyRegistrationRepository, java.lang.Iterable<RelyingPartyRegistration>
- Since:
- 5.2
-
-
Constructor Summary
Constructors Constructor Description InMemoryRelyingPartyRegistrationRepository(java.util.Collection<RelyingPartyRegistration> registrations)
InMemoryRelyingPartyRegistrationRepository(RelyingPartyRegistration... registrations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelyingPartyRegistration
findByRegistrationId(java.lang.String id)
Returns the relying party registration identified by the providedregistrationId
, ornull
if not found.java.util.Iterator<RelyingPartyRegistration>
iterator()
-
-
-
Constructor Detail
-
InMemoryRelyingPartyRegistrationRepository
public InMemoryRelyingPartyRegistrationRepository(RelyingPartyRegistration... registrations)
-
InMemoryRelyingPartyRegistrationRepository
public InMemoryRelyingPartyRegistrationRepository(java.util.Collection<RelyingPartyRegistration> registrations)
-
-
Method Detail
-
findByRegistrationId
public RelyingPartyRegistration findByRegistrationId(java.lang.String id)
Description copied from interface:RelyingPartyRegistrationRepository
Returns the relying party registration identified by the providedregistrationId
, ornull
if not found.- Specified by:
findByRegistrationId
in interfaceRelyingPartyRegistrationRepository
- Parameters:
id
- the registration identifier- Returns:
- the
RelyingPartyRegistration
if found, otherwisenull
-
iterator
public java.util.Iterator<RelyingPartyRegistration> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<RelyingPartyRegistration>
-
-