Uses of Class
com.onelogin.saml2.exception.ValidationError
Packages that use ValidationError
-
Uses of ValidationError in com.onelogin.saml2.authn
Methods in com.onelogin.saml2.authn that throw ValidationErrorModifier and TypeMethodDescriptionvoidSamlResponse.checkStatus()Checks the Statusprivate DocumentSamlResponse.decryptAssertion(Document dom) Decrypt assertion.SamlResponse.getAssertionIssuer()Gets the Assertion Issuer.SamlResponse.getAttributes()Gets the Attributes from the AttributeStatement element.SamlResponse.getIssuers()Deprecated.SamlResponse.getResponseIssueInstant()Returns the issue instant of this message.SamlResponse.getResponseIssuer()Gets the Response Issuer.static SamlResponseStatusGet Status from a ResponsevoidSamlResponse.loadXmlFromBase64(String responseStr) Load a XML base64encoded SAMLResponseSamlResponse.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(Element element) Validate the destination.booleanSamlResponse.validateSignedElements(ArrayList<String> signedElements) Verifies that the document has the expected signed nodes.protected voidSamlResponse.validateSpNameQualifier(String spNameQualifier) Validates a SPNameQualifier.private voidSamlResponse.validateSubjectConfirmation(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 ValidationErrorModifierConstructorDescriptionSamlResponse(Saml2Settings settings, HttpRequest request) Constructor to have a Response object fully built and ready to validate the saml response.SamlResponse(Saml2Settings settings, String currentUrl, 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 ValidationErrorModifier and TypeMethodDescriptionLogoutResponse.getIssueInstant()Returns the issue instant of this message.LogoutResponse.getSamlResponseStatus()Gets the Status of the Logout Response. -
Uses of ValidationError in com.onelogin.saml2.util
Methods in com.onelogin.saml2.util that throw ValidationErrorModifier and TypeMethodDescriptionstatic SamlResponseStatusGet Status from a Responseprivate static voidUtil.validateEncryptedData(Element encryptedDataElement) Validates the encrypted data and checks whether it contains a retrieval method to obtain the encrypted key or not.
SamlResponse.getResponseIssuer()and/orSamlResponse.getAssertionIssuer(); the contract of this method is quite controversial