Class RelyingPartyRegistration.AssertingPartyDetails
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
- Direct Known Subclasses:
OpenSamlAssertingPartyDetails
- Enclosing class:
- RelyingPartyRegistration
public static class RelyingPartyRegistration.AssertingPartyDetails extends java.lang.Object
The configuration metadata of the Asserting party- Since:
- 5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<Saml2X509Credential>
getEncryptionX509Credentials()
Get all encryptionSaml2X509Credential
s associated with this asserting partyjava.lang.String
getEntityId()
Get the asserting party's EntityID.java.util.List<java.lang.String>
getSigningAlgorithms()
Get the list of org.opensaml.saml.ext.saml2alg.SigningMethod Algorithms for this asserting party, in preference order.Saml2MessageBinding
getSingleLogoutServiceBinding()
Get the SingleLogoutService Bindingjava.lang.String
getSingleLogoutServiceLocation()
Get the SingleLogoutService Locationjava.lang.String
getSingleLogoutServiceResponseLocation()
Saml2MessageBinding
getSingleSignOnServiceBinding()
Get the SingleSignOnService Binding.java.lang.String
getSingleSignOnServiceLocation()
Get the SingleSignOnService Location.java.util.Collection<Saml2X509Credential>
getVerificationX509Credentials()
Get all verificationSaml2X509Credential
s associated with this asserting partyboolean
getWantAuthnRequestsSigned()
Get the WantAuthnRequestsSigned setting, indicating the asserting party's preference that relying parties should sign the AuthnRequest before sending.
-
-
-
Method Detail
-
getEntityId
public java.lang.String getEntityId()
Get the asserting party's EntityID.Equivalent to the value found in the asserting party's <EntityDescriptor EntityID="..."/>
This value may contain a number of placeholders, which need to be resolved before use. They are
baseUrl
,registrationId
,baseScheme
,baseHost
, andbasePort
.- Returns:
- the asserting party's EntityID
-
getWantAuthnRequestsSigned
public boolean getWantAuthnRequestsSigned()
Get the WantAuthnRequestsSigned setting, indicating the asserting party's preference that relying parties should sign the AuthnRequest before sending.- Returns:
- the WantAuthnRequestsSigned value
-
getSigningAlgorithms
public java.util.List<java.lang.String> getSigningAlgorithms()
Get the list of org.opensaml.saml.ext.saml2alg.SigningMethod Algorithms for this asserting party, in preference order.Equivalent to the values found in <SigningMethod Algorithm="..."/> in the asserting party's <IDPSSODescriptor>.
- Returns:
- the list of SigningMethod Algorithms
- Since:
- 5.5
-
getVerificationX509Credentials
public java.util.Collection<Saml2X509Credential> getVerificationX509Credentials()
Get all verificationSaml2X509Credential
s associated with this asserting party- Returns:
- all verification
Saml2X509Credential
s associated with this asserting party - Since:
- 5.4
-
getEncryptionX509Credentials
public java.util.Collection<Saml2X509Credential> getEncryptionX509Credentials()
Get all encryptionSaml2X509Credential
s associated with this asserting party- Returns:
- all encryption
Saml2X509Credential
s associated with this asserting party - Since:
- 5.4
-
getSingleSignOnServiceLocation
public java.lang.String getSingleSignOnServiceLocation()
Get the SingleSignOnService Location.Equivalent to the value found in <SingleSignOnService Location="..."/> in the asserting party's <IDPSSODescriptor>.
- Returns:
- the SingleSignOnService Location
-
getSingleSignOnServiceBinding
public Saml2MessageBinding getSingleSignOnServiceBinding()
Get the SingleSignOnService Binding.Equivalent to the value found in <SingleSignOnService Binding="..."/> in the asserting party's <IDPSSODescriptor>.
- Returns:
- the SingleSignOnService Location
-
getSingleLogoutServiceLocation
public java.lang.String getSingleLogoutServiceLocation()
Get the SingleLogoutService LocationEquivalent to the value found in <SingleLogoutService Location="..."/> in the asserting party's <IDPSSODescriptor>.
- Returns:
- the SingleLogoutService Location
- Since:
- 5.6
-
getSingleLogoutServiceResponseLocation
public java.lang.String getSingleLogoutServiceResponseLocation()
Get the SingleLogoutService Response LocationEquivalent to the value found in <SingleLogoutService Location="..."/> in the asserting party's <IDPSSODescriptor>.
- Returns:
- the SingleLogoutService Response Location
- Since:
- 5.6
-
getSingleLogoutServiceBinding
public Saml2MessageBinding getSingleLogoutServiceBinding()
Get the SingleLogoutService BindingEquivalent to the value found in <SingleLogoutService Binding="..."/> in the asserting party's <IDPSSODescriptor>.
- Returns:
- the SingleLogoutService Binding
- Since:
- 5.6
-
-