Uses of Class
com.onelogin.saml2.exception.ValidationError
-
Packages that use ValidationError Package Description com.onelogin.saml2.authn com.onelogin.saml2.logout com.onelogin.saml2.util -
-
Uses of ValidationError in com.onelogin.saml2.authn
Methods in com.onelogin.saml2.authn that throw ValidationError Modifier and Type Method Description voidSamlResponse. checkStatus()Checks the Statusprivate org.w3c.dom.DocumentSamlResponse. decryptAssertion(org.w3c.dom.Document dom)Decrypt assertion.java.lang.StringSamlResponse. getAssertionIssuer()Gets the Assertion Issuer.java.util.HashMap<java.lang.String,java.util.List<java.lang.String>>SamlResponse. getAttributes()Gets the Attributes from the AttributeStatement element.java.util.List<java.lang.String>SamlResponse. getIssuers()Deprecated.useSamlResponse.getResponseIssuer()and/orSamlResponse.getAssertionIssuer(); the contract of this method is quite controversialjava.util.CalendarSamlResponse. getResponseIssueInstant()Returns the issue instant of this message.java.lang.StringSamlResponse. getResponseIssuer()Gets the Response Issuer.static SamlResponseStatusSamlResponse. getStatus(org.w3c.dom.Document dom)Get Status from a ResponsevoidSamlResponse. loadXmlFromBase64(java.lang.String responseStr)Load a XML base64encoded SAMLResponsejava.util.ArrayList<java.lang.String>SamlResponse. processSignedElements()Verifies the signature nodes: - Checks that are Response or Assertion - Check that IDs and reference URI are unique and consistent.protected voidSamlResponse. validateAudiences()Validates the audiences.protected voidSamlResponse. validateDestination(org.w3c.dom.Element element)Validate the destination.booleanSamlResponse. validateSignedElements(java.util.ArrayList<java.lang.String> signedElements)Verifies that the document has the expected signed nodes.protected voidSamlResponse. validateSpNameQualifier(java.lang.String spNameQualifier)Validates a SPNameQualifier.private voidSamlResponse. validateSubjectConfirmation(java.lang.String responseInResponseTo)Check SubjectConfirmation, at least one SubjectConfirmation must be validbooleanSamlResponse. validateTimestamps()Verifies that the document is still valid according Conditions Element.Constructors in com.onelogin.saml2.authn that throw ValidationError Constructor Description SamlResponse(Saml2Settings settings, HttpRequest request)Constructor to have a Response object fully built and ready to validate the saml response.SamlResponse(Saml2Settings settings, java.lang.String currentUrl, java.lang.String samlResponse)Constructor to have a Response object fully built and ready to validate the saml response. -
Uses of ValidationError in com.onelogin.saml2.logout
Methods in com.onelogin.saml2.logout that throw ValidationError Modifier and Type Method Description java.util.CalendarLogoutResponse. getIssueInstant()Returns the issue instant of this message.SamlResponseStatusLogoutResponse. getSamlResponseStatus()Gets the Status of the Logout Response. -
Uses of ValidationError in com.onelogin.saml2.util
Methods in com.onelogin.saml2.util that throw ValidationError Modifier and Type Method Description static SamlResponseStatusUtil. getStatus(java.lang.String statusXpath, org.w3c.dom.Document dom)Get Status from a Responseprivate static voidUtil. validateEncryptedData(org.w3c.dom.Element encryptedDataElement)Validates the encrypted data and checks whether it contains a retrieval method to obtain the encrypted key or not.
-