Class SAML2Parameters

java.lang.Object
io.vertigo.connectors.saml2.SAML2Parameters

public final class SAML2Parameters extends Object
  • Constructor Details

    • SAML2Parameters

      public SAML2Parameters(String samlClientName, Optional<String> externalUrlOpt, String signatureType, boolean cryptAssertion, boolean extractPublicKeyFromCertificate, int clockSkewSeconds, boolean checkAudience, boolean checkDestination, boolean checkInResponseTo, List<org.opensaml.security.credential.Credential> spCredentials, String loginUrl, String logoutUrl, List<org.opensaml.security.credential.Credential> ipPublicCredentials)
  • Method Details

    • getSamlClientName

      public String getSamlClientName()
    • getExternalUrlOpt

      public Optional<String> getExternalUrlOpt()
    • getSignatureType

      public String getSignatureType()
    • isCryptAssertion

      public boolean isCryptAssertion()
    • isExtractPublicKeyFromCertificate

      public boolean isExtractPublicKeyFromCertificate()
    • getClockSkewSeconds

      public int getClockSkewSeconds()
      Returns:
      tolerance (seconds) on the validity times of the assertion, for the clock gap between the IdP and this server
    • isCheckAudience

      public boolean isCheckAudience()
      Returns:
      true if the assertion audience must be this SP (samlClientName)
    • isCheckDestination

      public boolean isCheckDestination()
      Returns:
      true if the response destination and the assertion recipient must be the callback url
    • isCheckInResponseTo

      public boolean isCheckInResponseTo()
      Returns:
      true if the assertion must answer a request sent from this session
    • getSpCredentials

      public List<org.opensaml.security.credential.Credential> getSpCredentials()
    • getSpCredential

      public org.opensaml.security.credential.Credential getSpCredential()
    • getLoginUrl

      public String getLoginUrl()
    • getLogoutUrl

      public String getLogoutUrl()
    • getIpPublicCredentials

      public List<org.opensaml.security.credential.Credential> getIpPublicCredentials()