Class SamlValidator.Request

java.lang.Object
ddf.security.samlp.impl.SamlValidator
ddf.security.samlp.impl.SamlValidator.Request
Direct Known Subclasses:
SamlValidator.PostRequest, SamlValidator.RedirectRequest
Enclosing class:
SamlValidator

public abstract static class SamlValidator.Request extends SamlValidator
  • Field Details

    • logoutRequest

      protected final org.opensaml.saml.saml2.core.LogoutRequest logoutRequest
  • Method Details

    • checkSessionIndexes

      protected void checkSessionIndexes()
      A SAML LogoutRequest must include at least one SessionIndex, if the logout is initiated by Session Participant. However, if the Session Authority initiates the logout, a SessionIndex is optional. In that case, the absence of a SessionIndex means to logout of all sessions associated with the Principal. Because the SAMLValidator does not have enough information to determine who initiated the logout, this method does not throw a ValidationException. Instead, it logs the condition.
    • getSamlVersion

      protected org.opensaml.saml.common.SAMLVersion getSamlVersion()
      Specified by:
      getSamlVersion in class SamlValidator
    • getIssueInstant

      protected org.joda.time.DateTime getIssueInstant()
      Specified by:
      getIssueInstant in class SamlValidator
    • checkRequiredFields

      protected void checkRequiredFields() throws ValidationException
      Specified by:
      checkRequiredFields in class SamlValidator
      Throws:
      ValidationException
    • checkDestination

      protected void checkDestination() throws ValidationException
      Specified by:
      checkDestination in class SamlValidator
      Throws:
      ValidationException