Uses of Class
com.sun.identity.saml2.common.SAML2Exception
-
Packages that use SAML2Exception Package Description com.sun.identity.federation.common Defines Federation Common Utils.com.sun.identity.saml2.assertion Defines SAMLv2 assertion.com.sun.identity.saml2.assertion.impl com.sun.identity.saml2.common Defines common SAMLv2 utilities and constants.com.sun.identity.saml2.ecp Defines classes for SAMLv2 ECP profile.com.sun.identity.saml2.ecp.impl com.sun.identity.saml2.meta Package that handles SAML v2 metadata operations.com.sun.identity.saml2.plugins Defines SAMLv2 Plugin SPIs.com.sun.identity.saml2.profile Package that handles SAML v2 profiles.com.sun.identity.saml2.protocol SAMLv2 Protocol Classes.com.sun.identity.saml2.protocol.impl SAMLv2 Protocol Implemenetation Classes.com.sun.identity.saml2.soapbinding com.sun.identity.saml2.xmlenc com.sun.identity.saml2.xmlsig com.sun.identity.wss.security Defines Web Services Security Token specification and Token interfaces with their respective implementation classes for different WS-* Security Tokens.com.sun.identity.xacml.client Defines classes to handle XACML requests.com.sun.identity.xacml.common Defines common XACML Utilities and Constantscom.sun.identity.xacml.context Defines XACML2 context classescom.sun.identity.xacml.plugins com.sun.identity.xacml.saml2.impl Defines XACML implementations for SAMLv2.org.forgerock.openam.oauth2.saml2.core org.forgerock.openam.sts.tokengeneration.saml2.statements This package contains classes defining the interfaces consumed to obtain the various statements contituting SAML2 assertions. -
-
Uses of SAML2Exception in com.sun.identity.federation.common
Methods in com.sun.identity.federation.common that throw SAML2Exception Modifier and Type Method Description static voidFSUtils. postToTarget(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String SAMLmessageName, String SAMLmessageValue, String relayStateName, String relayStateValue, String targetURL) -
Uses of SAML2Exception in com.sun.identity.saml2.assertion
Methods in com.sun.identity.saml2.assertion that throw SAML2Exception Modifier and Type Method Description ActionAssertionFactory. createAction(String xml)Returns a new instance ofAction.ActionAssertionFactory. createAction(Element elem)Returns a new instance ofAction.AdviceAssertionFactory. createAdvice(String xml)Returns a new instance ofAdviceThe return object is immutable.AdviceAssertionFactory. createAdvice(Element elem)Returns a new instance ofAdvice.AssertionAssertionFactory. createAssertion(String xml)Returns a new instance ofAssertion.AssertionAssertionFactory. createAssertion(Element elem)Returns a new instance ofAssertion.AssertionIDRefAssertionFactory. createAssertionIDRef(String xml)Returns a new instance ofAssertionIDRef.AssertionIDRefAssertionFactory. createAssertionIDRef(Element elem)Returns a new instance ofAssertionIDRef.AttributeAssertionFactory. createAttribute(String xml)Returns a new instance ofAttribute.AttributeAssertionFactory. createAttribute(Element elem)Returns a new instance ofAttribute.AttributeStatementAssertionFactory. createAttributeStatement(String xml)Returns a new instance ofAttributeStatement.AttributeStatementAssertionFactory. createAttributeStatement(Element elem)Returns a new instance ofAttributeStatement.AudienceRestrictionAssertionFactory. createAudienceRestriction(String xml)Returns a new instance ofAudienceRestriction.AudienceRestrictionAssertionFactory. createAudienceRestriction(Element elem)Returns a new instance ofAudienceRestriction.AuthnContextAssertionFactory. createAuthnContext(String xml)Returns a new instance ofAuthnContext.AuthnContextAssertionFactory. createAuthnContext(Element elem)Returns a new instance ofAuthnContext.AuthnStatementAssertionFactory. createAuthnStatement(String xml)Returns a new instance ofAuthnStatement.AuthnStatementAssertionFactory. createAuthnStatement(Element elem)Returns a new instance ofAuthnStatement.AuthzDecisionStatementAssertionFactory. createAuthzDecisionStatement(String xml)Returns a new instance ofAuthzDecisionStatement.AuthzDecisionStatementAssertionFactory. createAuthzDecisionStatement(Element elem)Returns a new instance ofAuthzDecisionStatement.BaseIDAssertionFactory. createBaseID(String xml)Returns a new instance ofBaseID.BaseIDAssertionFactory. createBaseID(Element elem)Returns a new instance ofBaseID.ConditionAssertionFactory. createCondition(String xml)Returns a new instance ofCondition.ConditionAssertionFactory. createCondition(Element elem)Returns a new instance ofCondition.ConditionsAssertionFactory. createConditions(String xml)Returns a new instance ofConditions.ConditionsAssertionFactory. createConditions(Element elem)Returns a new instance ofConditions.EncryptedAssertionAssertionFactory. createEncryptedAssertion(String xml)Returns a new instance ofEncryptedAssertion.EncryptedAssertionAssertionFactory. createEncryptedAssertion(Element elem)Returns a new instance ofEncryptedAssertion.EncryptedAttributeAssertionFactory. createEncryptedAttribute(String xml)Returns a new instance ofEncryptedAttribute.EncryptedAttributeAssertionFactory. createEncryptedAttribute(Element elem)Returns a new instance ofEncryptedAttribute.EncryptedIDAssertionFactory. createEncryptedID(String xml)Returns a new instance ofEncryptedID.EncryptedIDAssertionFactory. createEncryptedID(Element elem)Returns a new instance ofEncryptedID.EvidenceAssertionFactory. createEvidence(String xml)Returns a new instance ofEvidence.EvidenceAssertionFactory. createEvidence(Element elem)Returns a new instance ofEvidence.IssuerAssertionFactory. createIssuer(String xml)Returns a new instance ofIssuer.IssuerAssertionFactory. createIssuer(Element elem)Returns a new instance ofIssuer.KeyInfoConfirmationDataAssertionFactory. createKeyInfoConfirmationData(String xml)Returns a new instance ofKeyInfoConfirmationData.KeyInfoConfirmationDataAssertionFactory. createKeyInfoConfirmationData(Element elem)Returns a new instance ofKeyInfoConfirmationData.NameIDAssertionFactory. createNameID(String xml)Returns a new instance ofNameID.NameIDAssertionFactory. createNameID(Element elem)Returns a new instance ofNameID.OneTimeUseAssertionFactory. createOneTimeUse(String xml)Returns a new instance ofOneTimeUse.OneTimeUseAssertionFactory. createOneTimeUse(Element elem)Returns a new instance ofOneTimeUse.ProxyRestrictionAssertionFactory. createProxyRestriction(String xml)Returns a new instance ofProxyRestriction.ProxyRestrictionAssertionFactory. createProxyRestriction(Element elem)Returns a new instance ofProxyRestriction.SubjectAssertionFactory. createSubject(String xml)Returns a new instance ofSubject.SubjectAssertionFactory. createSubject(Element elem)Returns a new instance ofSubject.SubjectConfirmationAssertionFactory. createSubjectConfirmation(String xml)Returns a new instance ofSubjectConfirmation.SubjectConfirmationAssertionFactory. createSubjectConfirmation(Element elem)Returns a new instance ofSubjectConfirmation.SubjectConfirmationDataAssertionFactory. createSubjectConfirmationData(String xml)Returns a new instance ofSubjectConfirmationData.SubjectConfirmationDataAssertionFactory. createSubjectConfirmationData(Element elem)Returns a new instance ofSubjectConfirmationData.SubjectLocalityAssertionFactory. createSubjectLocality(String xml)Returns a new instance ofSubjectLocality.SubjectLocalityAssertionFactory. createSubjectLocality(Element elem)Returns a new instance ofSubjectLocality.AssertionEncryptedAssertion. decrypt(Set<PrivateKey> privateKeys)Decrypt the encrypted assertion.AttributeEncryptedAttribute. decrypt(Set<PrivateKey> privateKeys)Returns an instance ofAttributeobject.NameIDEncryptedID. decrypt(Set<PrivateKey> privateKeys)Decrypts the encrypted ID.EncryptedAssertionAssertion. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anEncryptedAssertionobject.EncryptedAttributeAttribute. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anEncryptedAttributeobject.EncryptedIDNameID. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anEncryptedIDobject.booleanAssertion. isSignatureValid(Set<X509Certificate> verificationCerts)Return whether the signature is valid or not.voidAuthzDecisionStatement. setAction(List value)Sets theAction(s) of the statement.voidAdvice. setAdditionalInfo(List info)Sets a list of additional informationvoidSubjectConfirmationData. setAddress(String value)Sets the network address/location from which an attesting entity can present the assertionvoidSubjectLocality. setAddress(String value)Sets the value of theAddressattribute.voidAssertion. setAdvice(Advice advice)Sets the advice of the assertionvoidAttribute. setAnyAttribute(Map value)Sets theanyAttributeof the attribute.voidEvidence. setAssertion(List value)Sets theAssertion(s) in the element.voidEvidence. setAssertionIDRef(List value)Sets theAssertionIDRef(s) in the element.voidAdvice. setAssertionIDRefs(List idRefs)Sets a list ofAssertionIDRefvoidAdvice. setAssertions(List assertions)Sets a list ofAssertionvoidEvidence. setAssertionURIRef(List value)Sets theAssertionURIRef(s) in the element.voidAdvice. setAssertionURIRefs(List uriRefs)Sets a list ofAssertionURIRefvoidAttributeStatement. setAttribute(List<Attribute> value)SetsAttribute(s) of the statement.voidAssertion. setAttributeStatements(List<AttributeStatement> statements)Sets the attribute statements of the assertionvoidAttribute. setAttributeValue(List value)Sets theAttributeValue(s) of theAttribute.voidAttribute. setAttributeValueString(List value)Sets the value ofAttributeValueelement(s).voidAudienceRestriction. setAudience(List audiences)Sets the audiencesvoidProxyRestriction. setAudience(List audiences)Sets the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.voidConditions. setAudienceRestrictions(List ars)Sets a list ofAudienceRestrictionvoidAuthnContext. setAuthenticatingAuthority(List<String> value)Sets the value of theAuthenticatingAuthorityproperty.voidAuthnStatement. setAuthnContext(AuthnContext value)Sets the value of theAuthnContextproperty.voidAuthnContext. setAuthnContextClassRef(String value)Sets the value of theAuthnContextClassRefproperty.voidAuthnContext. setAuthnContextDecl(String value)Sets the value of theAuthnContextDeclproperty.voidAuthnContext. setAuthnContextDeclRef(String value)Sets the value of theAuthnContextDeclRefproperty.voidAuthnStatement. setAuthnInstant(Date value)Sets the value of theAuthnInstantattribute.voidAssertion. setAuthnStatements(List<AuthnStatement> statements)Sets theAuthnStatementsof the assertionvoidAssertion. setAuthzDecisionStatements(List<AuthzDecisionStatement> statements)Sets theAuthzDecisionStatementsof the assertionvoidSubject. setBaseID(BaseID value)Sets the identifier inBaseIDformatvoidSubjectConfirmation. setBaseID(BaseID value)Sets the base IDvoidAssertion. setConditions(Conditions conditions)Sets the conditions of the assertionvoidConditions. setConditions(List conditions)Sets a list ofConditionvoidSubjectConfirmationData. setContent(List content)Sets a list of arbitrary XML elements to be added to thisSubjectConfirmationDataobject.voidSubjectConfirmationData. setContentType(String attribute)Sets the content type attributevoidProxyRestriction. setCount(int value)Sets the maximum number of indirections that the asserting party permits to exist between this assertion and an assertion which has ultimately been issued on the basis of it.voidAuthzDecisionStatement. setDecision(String value)Sets theDecisionattribute.voidSubjectLocality. setDNSName(String value)Sets the value of theDNSNameattribute.voidEvidence. setEncryptedAssertion(List value)Sets theEncryptedAssertion(s) in the element.voidAdvice. setEncryptedAssertions(List encryptedAssertions)Sets a list ofEncryptedAssertionvoidAttributeStatement. setEncryptedAttribute(List<EncryptedAttribute> value)SetsEncryptedAttribute(s) of the statement.voidSubject. setEncryptedID(EncryptedID value)Sets the encrypted identifiervoidSubjectConfirmation. setEncryptedID(EncryptedID value)Sets the encrypted IDvoidAuthzDecisionStatement. setEvidence(Evidence value)Sets theEvidenceof the statement.voidNameIDType. setFormat(String value)Sets the formatvoidAttribute. setFriendlyName(String value)Sets theFriendlyNameof the attribute.voidAssertion. setID(String id)Sets the id of the assertionvoidSubjectConfirmationData. setInResponseTo(String value)Sets the ID of a SAML protocol message in response to which an attesting entity can present the assertionvoidAssertion. setIssueInstant(Date issueInstant)Sets the time when the assertion was issuedvoidAssertion. setIssuer(Issuer issuer)Sets the issuer of the assertionvoidKeyInfoConfirmationData. setKeyInfo(List info)Sets the key infovoidSubjectConfirmation. setMethod(String value)Sets the confirmation methodvoidAttribute. setName(String value)Sets theNameof the attribute.voidAttribute. setNameFormat(String value)Sets theNameFormatof the attribute.voidSubject. setNameID(NameID value)Sets the identifier inNameIDformatvoidSubjectConfirmation. setNameID(NameID value)Sets the name identifiervoidBaseIDAbstract. setNameQualifier(String nameQualifier)Sets the name qualifiervoidNameIDType. setNameQualifier(String value)Sets the name qualifiervoidAction. setNamespace(String value)Sets the value of theNamespaceattribute.voidConditions. setNotBefore(Date value)Sets the time instant before which the subject cannot be confirmed.voidSubjectConfirmationData. setNotBefore(Date value)Sets the time instant before which the subject cannot be confirmedvoidConditions. setNotOnOrAfter(Date value)Sets the time instant at which the subject can no longer be confirmed.voidSubjectConfirmationData. setNotOnOrAfter(Date value)Sets the time instant at which the subject can no longer be confirmedvoidConditions. setOneTimeUses(List oneTimeUses)Sets a list ofOneTimeUsevoidConditions. setProxyRestrictions(List prs)Sets a list ofProxyRestrictionvoidSubjectConfirmationData. setRecipient(String value)Sets the URI specifying the entity or location to which an attesting entity can present the assertionvoidAuthzDecisionStatement. setResource(String value)Sets theResourceof the statement.voidAuthnStatement. setSessionIndex(String value)Sets the value of theSessionIndexattribute.voidAuthnStatement. setSessionNotOnOrAfter(Date value)Sets the value of theSessionNotOnOrAfterattribute.voidBaseIDAbstract. setSPNameQualifier(String spNameQualifier)Sets theSPname qualifiervoidNameIDType. setSPNameQualifier(String value)Sets theSPname qualifiervoidNameIDType. setSPProvidedID(String value)Sets theSPprovided IDvoidAssertion. setStatements(List<Object> statements)Sets the statements of the assertionvoidAssertion. setSubject(Subject subject)Sets the subject of the assertionvoidSubject. setSubjectConfirmation(List confirmations)Sets a list of subject confirmationsvoidSubjectConfirmation. setSubjectConfirmationData(SubjectConfirmationData value)Sets the subject confirmation datavoidAuthnStatement. setSubjectLocality(SubjectLocality value)Sets the value of theSubjectLocalityproperty.voidAction. setValue(String value)Sets the value of thisAction.voidAssertionIDRef. setValue(String value)Sets the value of thisAssertionIDRef.voidNameIDType. setValue(String value)Sets the string-valued identifiervoidAssertion. setVersion(String version)Sets the version number of the assertion.voidAssertion. sign(PrivateKey privateKey, X509Certificate cert)Signs the Assertion.StringAction. toXMLString()Returns a String representation of the element.StringAction. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAdvice. toXMLString()Returns a String representationStringAdvice. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringAssertion. toXMLString()Returns a String representationStringAssertion. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringAssertionIDRef. toXMLString()Returns a String representation of the element.StringAssertionIDRef. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAttribute. toXMLString()Returns a String representation of the element.StringAttribute. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAudienceRestriction. toXMLString()Returns a String representationStringAudienceRestriction. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringAuthnContext. toXMLString()Returns a String representation of the element.StringAuthnContext. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringBaseID. toXMLString()Returns a String representationStringBaseID. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringConditionAbstract. toXMLString()Returns a String representationStringConditionAbstract. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringConditions. toXMLString()Returns a String representationStringConditions. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringEncryptedElement. toXMLString()Returns a String representationStringEncryptedElement. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringEvidence. toXMLString()Returns a String representation of the element.StringEvidence. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringNameIDType. toXMLString()Returns a String representationStringNameIDType. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringStatement. toXMLString()Returns a String representation of the element.StringStatement. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringSubject. toXMLString()Returns a String representationStringSubject. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringSubjectConfirmation. toXMLString()Returns a String representationStringSubjectConfirmation. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringSubjectConfirmationData. toXMLString()Returns a String representationStringSubjectConfirmationData. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringSubjectLocality. toXMLString()Returns a String representation of the element.StringSubjectLocality. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of theSubjectLocalityelement. -
Uses of SAML2Exception in com.sun.identity.saml2.assertion.impl
Methods in com.sun.identity.saml2.assertion.impl that throw SAML2Exception Modifier and Type Method Description AssertionEncryptedAssertionImpl. decrypt(Set<PrivateKey> privateKeys)AttributeEncryptedAttributeImpl. decrypt(Set<PrivateKey> privateKeys)NameIDEncryptedIDImpl. decrypt(Set<PrivateKey> privateKeys)EncryptedAssertionAssertionImpl. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anEncryptedAssertionobject.EncryptedAttributeAttributeImpl. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anEncryptedAttributeobject.EncryptedIDNameIDImpl. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anEncryptedIDobject.protected StringSubjectConfirmationDataImpl. getElementValue(boolean includeNSPrefix, boolean declareNS)Returns a String representation of the element valueprotected voidNameIDTypeImpl. getValueAndAttributes(Element element)booleanAssertionImpl. isSignatureValid(Set<X509Certificate> verificationCerts)protected voidSubjectConfirmationDataImpl. parseAttributes(NamedNodeMap attrs)Sets all the attribute valuesprotected voidSubjectConfirmationDataImpl. parseContent(Element element)Parse and sets content valuesvoidAdviceImpl. setAdditionalInfo(List info)Sets a list of additional informationvoidSubjectConfirmationDataImpl. setAddress(String value)Sets the network address/location from which an attesting entity can present the assertionvoidSubjectLocalityImpl. setAddress(String value)Sets the value of theAddressattribute.voidAssertionImpl. setAdvice(Advice advice)Sets the advice of the assertionvoidAttributeImpl. setAnyAttribute(Map value)Sets theanyAttributeof the attribute.voidAdviceImpl. setAssertionIDRefs(List idRefs)Sets a list ofAssertionIDRefvoidAdviceImpl. setAssertions(List assertions)Sets a list ofAssertionvoidAdviceImpl. setAssertionURIRefs(List uriRefs)Sets a list ofAssertionURIRefvoidAttributeStatementImpl. setAttribute(List<Attribute> value)SetsAttribute(s) of the statement.voidAssertionImpl. setAttributeStatements(List<AttributeStatement> statements)Sets the attribute statements of the assertionvoidAttributeImpl. setAttributeValue(List value)Sets theAttributeValue(s) of theAttribute.voidAttributeImpl. setAttributeValueString(List value)Sets the value ofAttributeValueelement(s).voidAudienceRestrictionImpl. setAudience(List audiences)Sets the audiencesvoidProxyRestrictionImpl. setAudience(List audiences)Sets the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.voidConditionsImpl. setAudienceRestrictions(List ars)Sets a list ofAudienceRestrictionvoidAuthnContextImpl. setAuthenticatingAuthority(List<String> value)Sets the value of theAuthenticatingAuthorityproperty.voidAuthnStatementImpl. setAuthnContext(AuthnContext value)Sets the value of theAuthnContextproperty.voidAuthnContextImpl. setAuthnContextClassRef(String value)Sets the value of theAuthnContextClassRefproperty.voidAuthnContextImpl. setAuthnContextDecl(String value)Sets the value of theAuthnContextDeclproperty.voidAuthnContextImpl. setAuthnContextDeclRef(String value)Sets the value of theAuthnContextDeclRefproperty.voidAuthnStatementImpl. setAuthnInstant(Date value)Sets the value of theAuthnInstantattribute.voidAssertionImpl. setAuthnStatements(List<AuthnStatement> statements)Sets theAuthnStatementsof the assertionvoidAssertionImpl. setAuthzDecisionStatements(List<AuthzDecisionStatement> statements)Sets theAuthzDecisionStatementsof the assertionvoidSubjectConfirmationImpl. setBaseID(BaseID value)Sets the base IDvoidSubjectImpl. setBaseID(BaseID value)Sets the identifier inBaseIDformatvoidAssertionImpl. setConditions(Conditions conditions)Sets the conditions of the assertionvoidConditionsImpl. setConditions(List conditions)Sets a list ofConditionvoidSubjectConfirmationDataImpl. setContent(List value)Sets a list of arbitrary XML elements to be added to thisSubejctConfirmationDataobject.voidSubjectConfirmationDataImpl. setContentType(String attribute)Sets the content type attribute.voidProxyRestrictionImpl. setCount(int value)Sets the maximum number of indirections that the asserting party permits to exist between this assertion and an assertion which has ultimately been issued on the basis of it.voidSubjectLocalityImpl. setDNSName(String value)Sets the value of theDNSNameattribute.voidAdviceImpl. setEncryptedAssertions(List encryptedAssertions)Sets a list ofEncryptedAssertionvoidAttributeStatementImpl. setEncryptedAttribute(List value)SetsEncryptedAttribute(s) of the statement.voidSubjectConfirmationImpl. setEncryptedID(EncryptedID value)Sets the encrypted IDvoidSubjectImpl. setEncryptedID(EncryptedID value)Sets the encrypted identifiervoidNameIDTypeImpl. setFormat(String value)Sets the formatvoidAttributeImpl. setFriendlyName(String value)Sets theFriendlyNameof the attribute.voidAssertionImpl. setID(String id)Sets the id of the assertionvoidSubjectConfirmationDataImpl. setInResponseTo(String value)Sets the ID of a SAML protocol message in response to which an attesting entity can present the assertionvoidAssertionImpl. setIssueInstant(Date issueInstant)Set the time when the assertion was issuedvoidAssertionImpl. setIssuer(Issuer issuer)Sets the issuer of the assertionvoidKeyInfoConfirmationDataImpl. setKeyInfo(List info)Sets the List ofKeyInfoobject.voidSubjectConfirmationImpl. setMethod(String value)Sets the confirmation methodvoidAttributeImpl. setName(String value)Sets theNameof the attribute.voidAttributeImpl. setNameFormat(String value)Sets theNameFormatof the attribute.voidSubjectConfirmationImpl. setNameID(NameID value)Sets the identifier inNameIDformatvoidSubjectImpl. setNameID(NameID value)Sets the identifier inNameIDformatvoidBaseIDAbstractImpl. setNameQualifier(String nameQualifier)Sets the name qualifiervoidNameIDTypeImpl. setNameQualifier(String value)Sets the name qualifiervoidActionImpl. setNamespace(String value)Sets the value of theNamespaceproperty.voidConditionsImpl. setNotBefore(Date value)Sets the time instant before which the subject cannot be confirmed.voidSubjectConfirmationDataImpl. setNotBefore(Date value)Sets the time instant before which the subject cannot be confirmedvoidConditionsImpl. setNotOnOrAfter(Date value)Sets the time instant at which the subject can no longer be confirmed.voidSubjectConfirmationDataImpl. setNotOnOrAfter(Date value)Sets the time instant at which the subject can no longer be confirmedvoidConditionsImpl. setOneTimeUses(List oneTimeUses)Sets a list ofOneTimeUsevoidConditionsImpl. setProxyRestrictions(List prs)Sets a list ofProxyRestrictionvoidSubjectConfirmationDataImpl. setRecipient(String value)Sets the URI specifying the entity or location to which an attesting entity can present the assertionvoidAuthnStatementImpl. setSessionIndex(String value)Sets the value of theSessionIndexattribute.voidAuthnStatementImpl. setSessionNotOnOrAfter(Date value)Sets the value of theSessionNotOnOrAfterattribute.voidBaseIDAbstractImpl. setSPNameQualifier(String spNameQualifier)Sets theSPname qualifiervoidNameIDTypeImpl. setSPNameQualifier(String value)Sets the SP name qualifiervoidNameIDTypeImpl. setSPProvidedID(String value)Sets the SP provided IDvoidAssertionImpl. setStatements(List<Object> statements)Sets the statements of the assertionvoidAssertionImpl. setSubject(Subject subject)Sets the subject of the assertionvoidSubjectImpl. setSubjectConfirmation(List confirmations)Sets a list of subject confirmationsvoidSubjectConfirmationImpl. setSubjectConfirmationData(SubjectConfirmationData value)Sets the subject confirmation datavoidAuthnStatementImpl. setSubjectLocality(SubjectLocality value)Sets the value of theSubjectLocalityproperty.voidActionImpl. setValue(String value)Sets the value of the value property.voidAssertionIDRefImpl. setValue(String value)Sets the value of thisAssertionIDRef.voidNameIDTypeImpl. setValue(String value)Sets the string-valued identifiervoidAssertionImpl. setVersion(String version)Sets the version number of the assertion.voidAssertionImpl. sign(PrivateKey privateKey, X509Certificate cert)Sign the Assertion.StringActionImpl. toXMLString()Returns a String representation of the element.StringActionImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAdviceImpl. toXMLString()Returns a String representationStringAdviceImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringAssertionIDRefImpl. toXMLString()Returns a String representation of the element.StringAssertionIDRefImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAssertionImpl. toXMLString()Returns a String representationStringAssertionImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringAttributeImpl. toXMLString()Returns a String representation of the element.StringAttributeImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAttributeStatementImpl. toXMLString()Returns a String representation of the element.StringAttributeStatementImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAudienceRestrictionImpl. toXMLString()Returns a String representationStringAudienceRestrictionImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringAuthnContextImpl. toXMLString()Returns a String representation of the element.StringAuthnContextImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringAuthnStatementImpl. toXMLString()Returns a String representation of the element.StringAuthnStatementImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringBaseIDImpl. toXMLString()Returns a String representationStringBaseIDImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringConditionImpl. toXMLString()Returns a String representationStringConditionImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringConditionsImpl. toXMLString()Returns a String representationStringConditionsImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringEncryptedAttributeImpl. toXMLString()Returns a String representation of the element.StringEncryptedAttributeImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringEncryptedElementImpl. toXMLString()Returns a String representation of the element.StringEncryptedElementImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringIssuerImpl. toXMLString()Returns a String representationStringIssuerImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringKeyInfoConfirmationDataImpl. toXMLString()Returns a String representationStringKeyInfoConfirmationDataImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)StringNameIDImpl. toXMLString()Returns a String representationStringNameIDImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringNameIDImplWithoutSPNameQualifier. toXMLString(boolean includeNSPrefix, boolean declareNS)abstract StringNameIDTypeImpl. toXMLString()Returns a String representationabstract StringNameIDTypeImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringOneTimeUseImpl. toXMLString()Returns a String representationStringOneTimeUseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringProxyRestrictionImpl. toXMLString()Returns a String representationStringProxyRestrictionImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringSubjectConfirmationDataImpl. toXMLString()Returns a String representation of the elementStringSubjectConfirmationDataImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of the elementStringSubjectConfirmationImpl. toXMLString()Returns a String representationStringSubjectConfirmationImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringSubjectImpl. toXMLString()Returns a String representationStringSubjectImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringSubjectLocalityImpl. toXMLString()Returns a String representation of the element.StringSubjectLocalityImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of theSubjectLocalityelement.Constructors in com.sun.identity.saml2.assertion.impl that throw SAML2Exception Constructor Description ActionImpl(String xmlString)Class constructor withActionin xml string format.ActionImpl(Element element)Class constructor withActioninElementformat.AdviceImpl(String xml)This constructor is used to buildAdviceobject from a XML string.AdviceImpl(Element element)This constructor is used to buildAdviceobject from a block of existing XML that has already been built into a DOM.AssertionIDRefImpl(String xmlString)Class constructor withAssertionIDRefin xml string format.AssertionIDRefImpl(Element element)Class constructor withAssertionIDRefinElementformat.AssertionImpl(String xml)This constructor is used to buildAssertionobject from a XML string.AssertionImpl(Element element)This constructor is used to buildAssertionobject from a block of existing XML that has already been built into a DOM.AttributeImpl(String xmlString)Class constructor withAttributein xml string format.AttributeImpl(Element element)Class constructor withAttributeinElementformat.AttributeStatementImpl(String xmlString)Class constructor withAttributeStatementin xml string format.AttributeStatementImpl(Element element)Class constructor withAttributeStatementinElementformat.AudienceRestrictionImpl(String xml)This constructor is used to buildAudienceRestrictionobject from a XML string.AudienceRestrictionImpl(Element element)This constructor is used to buildAudienceRestrictionobject from a block of existing XML that has already been built into a DOM.AuthnContextImpl(String xmlString)Class constructor withAuthnContextin xml string format.AuthnContextImpl(Element element)Class constructor withAuthnContextinElementformat.AuthnStatementImpl(String xmlString)Class constructor withAuthnStatementin xml string format.AuthnStatementImpl(Element element)Class constructor withAuthnStatementinElementformat.BaseIDImpl(String xml)This constructor is used to buildBaseIDobject from a XML string.BaseIDImpl(Element element)This constructor is used to buildBaseIDobject from a block of existing XML that has already been built into a DOM.ConditionImpl(String xml)This constructor is used to buildCondtionobject from a XML string.ConditionImpl(Element element)This constructor is used to buildCondtionobject from a block of existing XML that has already been built into a DOM.ConditionsImpl(String xml)This constructor is used to buildConditionsobject from a XML string.ConditionsImpl(Element element)This constructor is used to buildConditionsobject from a block of existing XML that has already been built into a DOM.EncryptedAssertionImpl(String xmlString)Class constructor withEncryptedAssertionin xml string format.EncryptedAssertionImpl(Element element)Class constructor withEncryptedAssertioninElementformat.EncryptedAttributeImpl(String xmlString)Class constructor withEncryptedAttributein xml string format.EncryptedAttributeImpl(Element element)Class constructor withEncryptedAttributeinElementformat.EncryptedIDImpl(String xmlString)Class constructor withEncryptedIDin xml string format.EncryptedIDImpl(Element element)Class constructor withEncryptedIDinElementformat.IssuerImpl(String xml)This constructor is used to buildIssuerobject from a XML string.IssuerImpl(Element element)This constructor is used to buildIssuerobject from a block of existing XML that has already been built into a DOM.KeyInfoConfirmationDataImpl(String xmlString)KeyInfoConfirmationDataImpl(Element element)NameIDImpl(String xml)This constructor is used to buildNameIDobject from a XML string.NameIDImpl(Element element)This constructor is used to buildNameIDobject from a block of existing XML that has already been built into a DOM.NameIDImplWithoutSPNameQualifier(String xml)This constructor is used to buildNameIDobject from a XML string.NameIDImplWithoutSPNameQualifier(Element element)This constructor is used to buildNameIDobject from a block of existing XML that has already been built into a DOM.OneTimeUseImpl(String xml)This constructor is used to buildOneTimeUseobject from a XML string.OneTimeUseImpl(Element element)This constructor is used to buildOneTimeUseobject from a block of existing XML that has already been built into a DOM.ProxyRestrictionImpl(String xml)This constructor is used to buildProxyRestrictionobject from a XML string.ProxyRestrictionImpl(Element element)This constructor is used to buildProxyRestrictionobject from a block of existing XML that has already been built into a DOM.SubjectConfirmationDataImpl(String xmlString)SubjectConfirmationDataImpl(Element element)SubjectConfirmationImpl(String xml)This constructor is used to buildSubjectConfirmationobject from a XML string.SubjectConfirmationImpl(Element element)This constructor is used to buildSubjectConfirmationobject from a block of existing XML that has already been built into a DOM.SubjectImpl(String xml)This constructor is used to buildSubjectobject from a XML string.SubjectImpl(Element element)This constructor is used to buildSubjectobject from a block of existing XML that has already been built into a DOM.SubjectLocalityImpl(String xmlString)Class constructor withSubjectLocalityin xml string format.SubjectLocalityImpl(Element element)Class constructor withSubjectLocalityinElementformat. -
Uses of SAML2Exception in com.sun.identity.saml2.common
Subclasses of SAML2Exception in com.sun.identity.saml2.common Modifier and Type Class Description classInvalidStatusCodeSaml2ExceptionThis class is an extension point for proxying saml2 firstlevel and secondlevel status code related exceptions.classSAML2InvalidNameIDPolicyExceptionThis class is an extension point for all SAML related exceptions.Methods in com.sun.identity.saml2.common that throw SAML2Exception Modifier and Type Method Description static ObjectSAML2Utils. checkSession(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String metaAlias, Map paramsMap)Parses the request parameters and return session object or redirect to login url.static Map<String,Set<String>>AccountUtils. convertToAttributes(NameIDInfo info, NameIDInfoKey infoKey)Converts the provided NameIDInfo and NameIDInfoKey to a Map<String, Set<String>> structure.static IssuerSAML2Utils. createIssuer(String entityID)Returns url for redirection.jakarta.xml.soap.SOAPMessageSOAPCommunicator. createSOAPMessage(String xmlString, boolean isClientMessage)CreatesSOAPMessagewith the input XML String as message body.jakarta.xml.soap.SOAPMessageSOAPCommunicator. createSOAPMessage(String header, String body, boolean isClientMessage)CreatesSOAPMessagewith the input XML String as message header and body.static StringSAML2SDKUtils. createSOAPMessageString(String xmlString)CreatesSOAPMessagewith the input XML String as message body.static NameIDInfoAccountUtils. getAccountFederation(String userID, String hostEntityID, String remoteEntityID)Returns the account federation information of a user for the given identity provider and a service provider.static MapSAML2Utils. getConfigAttributeMap(String realm, String hostEntityID, String role)Returns the attribute map by parsing the configured map in hosted provider configurationstatic DataStoreProviderSAML2Utils. getDataStoreProvider()ReturnsDataStoreProviderobject.static SAML2IDPFinderSAML2Utils. getECPIDPFinder(String realm, String spEntityID)Returns anSAML2IDPFinderwhich is used to find a list of IDP's for ECP Request.static ResponseSAML2Utils. getErrorResponse(RequestAbstract request, String code, String subCode, String statusMsg, String issuerEntityID)Returns aSAML Responseobject containing error statusstatic FedletAdapterSAML2Utils. getFedletAdapterClass(String spEntityID, String realm)Returns aFedletadapter class.static StringSAML2Utils. getHostEntityRole(Map paramsMap)Returns the role of host entity.static IDPAccountMapperSAML2Utils. getIDPAccountMapper(String realm, String idpEntityID)Returns anIDPAccountMapperstatic SAML2IdentityProviderAdapterSAML2Utils. getIDPAdapterClass(String realm, String idpEntityID)Returns aSAML2IdentityProviderAdapterNameIDInfoKeyNameIDInfo. getNameIDInfoKey()Returns theNameIDInfoKeystatic MapSAML2Utils. getNameIDKeyMap(NameID nameID, String hostEntityID, String remoteEntityID, String realm, String hostEntityRole)Returns theNameIDInfoKeykey value pair that can be used for searching the user.static AttributeSAML2Utils. getSAMLAttribute(String name, String[] values)Returns the SAMLAttributeobject.ElementSOAPCommunicator. getSamlpElement(jakarta.xml.soap.SOAPMessage message, String localName)Returns first Element with given local name in samlp name space inside SOAP message.ElementSOAPCommunicator. getSOAPBody(jakarta.xml.soap.SOAPMessage message)Returns SOAP body as DOM Element from SOAPMessage.static SPAccountMapperSAML2Utils. getSPAccountMapper(String realm, String spEntityID)Returns anSPAccountMapperstatic SAML2ServiceProviderAdapterSAML2Utils. getSPAdapterClass(String spEntityID, String realm)Returns anSPadapter classstatic SPAttributeMapperSAML2Utils. getSPAttributeMapper(String realm, String spEntityID)Gets theSPAttributeMapper.static byte[]SAML2SDKUtils. intToTwoBytes(int i)Converts integer to byte array.static NameIDInfoNameIDInfo. parse(String info)Returns theNameIDInfoby parsing the string value.static NameIDInfoKeyNameIDInfoKey. parse(String infoKey)Returns theNameIDInfoKeyby parsing the string value.static voidSAML2Utils. postToTarget(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String SAMLmessageName, String SAMLmessageValue, String relayStateName, String relayStateValue, String targetURL)static booleanAccountUtils. removeAccountFederation(NameIDInfo info, String userID)Removes the account federation of a user.jakarta.xml.soap.SOAPMessageSOAPCommunicator. sendSOAPMessage(String xmlMessage, String soapUrl, boolean isClientMessage)Send SOAP Message to specified url and returns message from peer.static voidAccountUtils. setAccountFederation(NameIDInfo info, String userID)Sets the account federation information to the datastore for a user.static StringQuerySignatureUtil. sign(String queryString, PrivateKey privateKey)Signs the query string.static StringSAML2Utils. signQueryString(String queryString, String realm, String hostEntity, String hostEntityRole)Sign Query string.static BooleanSAML2SDKUtils. StringToBoolean(String str)Converts a value of XML boolean type to Boolean object.static intSAML2SDKUtils. twoBytesToInt(byte[] bytes)Converts two bytes to an integer.static voidSAML2Utils. validateRecipient(SPSSODescriptorElement spDesc, String assertionID, SubjectConfirmationData subjectConfData)Validates the Recipient value stored within the SubjectConfirmationData element based on the following rules: The value MUST not be null. The value must correspond to one of the hosted SP's ACS endpoints.static voidSAML2Utils. validateRelayStateURL(String orgName, String hostEntityId, String relayState, String role)Validates the Relay State URL against a list of valid Relay State URLs created on the hosted service provider.static booleanQuerySignatureUtil. verify(String queryString, Set<X509Certificate> verificationCerts)Verifies the query string signature.static StringSAML2Utils. verifyNameIDFormat(String nameIDFormat, SPSSODescriptorElement spsso, IDPSSODescriptorElement idpsso)Verifies specified name ID format and returns it.static booleanSAML2Utils. verifyQueryString(String queryString, String realm, String hostEntityRole, String remoteEntity)Verify Signed Query string.static booleanSAML2Utils. verifyRequestIssuer(String realm, String hostEntity, Issuer reqIssuer, String requestId)VerifiesIssuerinRequestand returns true if the Issuer is part of COT SAML2 auth module only.static MapSAML2Utils. verifyResponse(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, Response response, String orgName, String hostEntityId, String profileBinding)Verifies single sign onResponseand returns information to SAML2 auth module for further processing.static booleanSAML2Utils. verifyResponseIssuer(String realm, String hostEntity, Issuer resIssuer, String requestId)VerifiesIssuerinResponseand returns true if the Issuer is part of COTConstructors in com.sun.identity.saml2.common that throw SAML2Exception Constructor Description NameIDInfo(String hostEntityID, String remoteEntityID, NameID nameID, String hostEntityRole, boolean isAffiliation)ConstructorNameIDInfoKey(String nameIDValue, String hostEntityID, String remoteEntityID)Constructor -
Uses of SAML2Exception in com.sun.identity.saml2.ecp
Methods in com.sun.identity.saml2.ecp that throw SAML2Exception Modifier and Type Method Description ECPRelayStateECPFactory. createECPRelayState()Returns theECPRelayStateObject.ECPRelayStateECPFactory. createECPRelayState(String value)Returns theECPRelayStateObject.ECPRelayStateECPFactory. createECPRelayState(Element value)Returns theECPRelayStateObject.ECPRequestECPFactory. createECPRequest()Returns theECPRequestObject.ECPRequestECPFactory. createECPRequest(String value)Returns theECPRequestObject.ECPRequestECPFactory. createECPRequest(Element value)Returns theECPRequestObject.ECPResponseECPFactory. createECPResponse()Returns theECPResponseObject.ECPResponseECPFactory. createECPResponse(String value)Returns theECPResponseObject.ECPResponseECPFactory. createECPResponse(Element value)Returns theECPResponseObject.voidECPRelayState. setActor(String actor)Sets the value ofactorattribute.voidECPRequest. setActor(String actor)Sets the value ofactorattribute.voidECPResponse. setActor(String actor)Sets the value ofactorattribute.voidECPResponse. setAssertionConsumerServiceURL(String url)Sets the value of theAssertionConsumerServiceURLattribute.voidECPRequest. setIDPList(IDPList idpList)Sets theIDPListObject.voidECPRequest. setIsPassive(Boolean isPassive)Sets the value of theIsPassiveattribute.voidECPRequest. setIssuer(Issuer issuer)Sets the value of the issuer attribute.voidECPRelayState. setMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidECPRequest. setMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidECPResponse. setMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidECPRequest. setProviderName(String providerName)Sets theProviderNameattribute value.voidECPRelayState. setValue(String value)Sets the value of theRelayState.StringECPRelayState. toXMLString()Returns a String representation of this Object.StringECPRelayState. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringECPRequest. toXMLString()Returns a String representation of this Object.StringECPRequest. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringECPResponse. toXMLString()Returns a String representation of this Object.StringECPResponse. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object. -
Uses of SAML2Exception in com.sun.identity.saml2.ecp.impl
Methods in com.sun.identity.saml2.ecp.impl that throw SAML2Exception Modifier and Type Method Description voidECPRelayStateImpl. setActor(String actor)Sets the value ofactorattribute.voidECPRequestImpl. setActor(String actor)Sets the value ofactorattribute.voidECPResponseImpl. setActor(String actor)Sets the value ofactorattribute.voidECPResponseImpl. setAssertionConsumerServiceURL(String url)Sets the value of theAssertionConsumerServiceURLattribute.voidECPRequestImpl. setIDPList(IDPList idpList)Sets theIDPListObject.voidECPRequestImpl. setIsPassive(Boolean isPassive)Sets the value of theIsPassiveattribute.voidECPRequestImpl. setIssuer(Issuer issuer)Sets the value of the issuer attribute.voidECPRelayStateImpl. setMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidECPRequestImpl. setMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidECPResponseImpl. setMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidECPRequestImpl. setProviderName(String providerName)Sets theProviderNameattribute value.voidECPRelayStateImpl. setValue(String value)Sets the value of theRelayState.StringECPRelayStateImpl. toXMLString()Returns a String representation of this Object.StringECPRelayStateImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringECPRequestImpl. toXMLString()Returns a String representation of this Object.StringECPRequestImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringECPResponseImpl. toXMLString()Returns a String representation of this Object.StringECPResponseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationprotected voidECPRelayStateImpl. validateData()protected voidECPRequestImpl. validateData()protected voidECPResponseImpl. validateData()Constructors in com.sun.identity.saml2.ecp.impl that throw SAML2Exception Constructor Description ECPRelayStateImpl(String xmlString)Constructs theECPRelayStateObject.ECPRelayStateImpl(Element element)Constructs theECPRelayStateObject.ECPRequestImpl(String xmlString)Constructs theECPRequestObject.ECPRequestImpl(Element element)Constructs theECPRequestObject.ECPResponseImpl(String xmlString)Constructs theECPResponseObject.ECPResponseImpl(Element element)Constructs theECPRequestObject. -
Uses of SAML2Exception in com.sun.identity.saml2.meta
Subclasses of SAML2Exception in com.sun.identity.saml2.meta Modifier and Type Class Description classSAML2MetaExceptionThis class is an extension point for all SAML2 Meta related exceptions. -
Uses of SAML2Exception in com.sun.identity.saml2.plugins
Methods in com.sun.identity.saml2.plugins that throw SAML2Exception Modifier and Type Method Description voidAttributeAuthorityMapper. authenticateRequester(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Checks if the attribute query requester is valid.voidDefaultAttributeAuthorityMapper. authenticateRequester(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Checks if the attribute query requester is valid.voidX509SubjectAttributeAuthorityMapper. authenticateRequester(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Checks if the attribute query requester is valid.voidAssertionIDRequestMapper. authenticateRequesterURI(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String samlAuthorityEntityID, String role, String realm)Checks if the assertion requester using URI binding is valid.voidDefaultAssertionIDRequestMapper. authenticateRequesterURI(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String samlAuthorityEntityID, String role, String realm)Checks if the assertion requester using URI binding is valid.booleanDefaultFedletAdapter. doFedletSLO(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, String hostedEntityID, String idpEntityID, List siList, String nameIDValue, String binding)Invokes after Fedlet receives SLO request from IDP.booleanFedletAdapter. doFedletSLO(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, String hostedEntityID, String idpEntityID, List siList, String nameIDValue, String binding)Invokes after Fedlet receives SLO request from IDP.ListAttributeAuthorityMapper. getAttributes(Object identity, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Returns attributes of the specifed identity.ListDefaultAttributeAuthorityMapper. getAttributes(Object identity, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Returns attributes of the specifed identity.ListDefaultLibraryIDPAttributeMapper. getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm)Returns list of SAMLAttributeobjects for the IDP framework to insert into the generatedAssertion.Map<String,Set<String>>DefaultSPAttributeMapper. getAttributes(List<Attribute> attributes, String userID, String hostEntityID, String remoteEntityID, String realm)Returns attribute map for the given list ofAttributeobjects.ListIDPAttributeMapper. getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm)Returns list of SAMLAttributeobjects for an authenticated user local attributes.Map<String,Set<String>>SPAttributeMapper. getAttributes(List<Attribute> attributes, String userID, String hostEntityID, String remoteEntityID, String realm)Returns the map of user attribute values for the corresponding SAMLAttributes.ListX509SubjectAttributeAuthorityMapper. getAttributes(Object identity, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Returns attributes of the specifed identity.intDefaultSPAuthnContextMapper. getAuthLevel(RequestedAuthnContext reqCtx, AuthnContext authnContext, String realm, String hostEntityID, String idpEntityID)Returns the auth level for the AuthContextintSPAuthnContextMapper. getAuthLevel(RequestedAuthnContext reqCtx, AuthnContext authContext, String realm, String hostEntityID, String idpEntityID)Returns the Auth Level for theAuthContext.AuthnContextDefaultIDPAuthnContextMapper. getAuthnContextFromAuthLevel(String authLevel, String realm, String idpEntityID)ReturnsAuthnContextthat matches the authenticated level.AuthnContextIDPAuthnContextMapper. getAuthnContextFromAuthLevel(String authLevel, String realm, String idpEntityID)ReturnsAuthnContextthat matches the authenticated level.protected StringDefaultLibrarySPAccountMapper. getAutoFedUser(String realm, String entityID, Assertion assertion, String decryptedNameID, Set<PrivateKey> decryptionKeys)Returns user for the auto federate attribute.Map<String,String>DefaultAttributeMapper. getConfigAttributeMap(String realm, String hostEntityID, String role)Returns the attribute map by parsing the configured map in hosted provider configurationObjectAttributeAuthorityMapper. getIdentity(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Returns an identity that matches the subject in the attribute query.StringDefaultAccountMapper. getIdentity(ManageNameIDRequest manageNameIDRequest, String hostEntityID, String realm)Returns the user's disntinguished name or the universal ID for the correspondingSAMLManageNameIDRequest.ObjectDefaultAttributeAuthorityMapper. getIdentity(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Returns an identity that matches the subject in the attribute query.StringDefaultIDPAccountMapper. getIdentity(NameID nameID, String hostEntityID, String remoteEntityID, String realm)StringDefaultLibrarySPAccountMapper. getIdentity(Assertion assertion, String hostEntityID, String realm)Returns the user's distinguished name or the universal ID for the correspondingSAML Assertion.StringIDPAccountMapper. getIdentity(NameID nameID, String hostEntityID, String remoteEntityID, String realm)Returns the user's distinguished name or the universal ID for the correspondingSAML NameID.StringIDPAccountMapper. getIdentity(ManageNameIDRequest manageNameIDRequest, String hostEntityID, String realm)Returns the user's distinguished name or the universal ID for the correspondingSAML ManageNameIDRequest.StringSPAccountMapper. getIdentity(Assertion assertion, String hostEntityID, String realm)Returns the user's distinguished name or the universal ID for the correspondingSAML Assertion.StringSPAccountMapper. getIdentity(ManageNameIDRequest manageNameIDRequest, String hostEntityID, String realm)Returns the user's distinguished name or the universal ID for the correspondingSAML ManageNameIDRequest.ObjectX509SubjectAttributeAuthorityMapper. getIdentity(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Returns an identity that matches the subject in the attribute query.IDPAuthnContextInfoDefaultIDPAuthnContextMapper. getIDPAuthnContextInfo(AuthnRequest authnRequest, String idpEntityID, String realm)Returns anIDPAuthnContextInfoobject.IDPAuthnContextInfoIDPAuthnContextMapper. getIDPAuthnContextInfo(AuthnRequest authnRequest, String idpEntityID, String realm)Returns anIDPAuthnContextInfoobject.NameIDDefaultIDPAccountMapper. getNameID(Object session, String hostEntityID, String remoteEntityID, String realm, String nameIDFormat)NameIDIDPAccountMapper. getNameID(Object session, String hostEntityID, String remoteEntityID, String realm, String nameIDFormat)Returns the user'sNameIDinformation that contains account federation with the corresponding remote and local entities.ListECPIDPFinder. getPreferredIDP(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Returns a list of preferred IDP providerID's.ListSAML2IDPFinder. getPreferredIDP(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Returns a list of preferred IDP providerID's.ListSAML2IDPProxyFRImpl. getPreferredIDP(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Returns a list of preferred IDP providerIDs.ListSAML2IDPProxyImpl. getPreferredIDP(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Returns a list of preferred IDP providerIDs.RequestedAuthnContextDefaultSPAuthnContextMapper. getRequestedAuthnContext(String realm, String hostEntityID, Map paramsMap)Returns theRequestedAuthnContextobject.RequestedAuthnContextSPAuthnContextMapper. getRequestedAuthnContext(String realm, String hostEntityID, Map paramsMap)Returns theRequestedAuthnContextObject .protected AttributeDefaultLibraryIDPAttributeMapper. getSAMLAttribute(String name, String nameFormat, Set<String> values, String hostEntityID, String remoteEntityID, String realm)Returns the SAMLAttributeobject.ObjectDefaultIDPECPSessionMapper. getSession(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Returns user valid session.ObjectIDPECPSessionMapper. getSession(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Returns user valid session.voidDefaultFedletAdapter. onFedletSLOFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, LogoutResponse logoutRes, String hostedEntityID, String idpEntityID, String binding)Invokes after Fedlet receives SLO response from IDP and the SLO status is not success.voidFedletAdapter. onFedletSLOFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, LogoutResponse logoutRes, String hostedEntityID, String idpEntityID, String binding)Invokes after Fedlet receives SLO response from IDP and the SLO status is not success.voidDefaultFedletAdapter. onFedletSLOSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, LogoutResponse logoutRes, String hostedEntityID, String idpEntityID, String binding)Invokes after Fedlet receives SLO response from IDP and the SLO status is success.voidFedletAdapter. onFedletSLOSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, LogoutResponse logoutRes, String hostedEntityID, String idpEntityID, String binding)Invokes after Fedlet receives SLO response from IDP and the SLO status is success.booleanSAML2ServiceProviderAdapter. postSingleSignOnSuccess(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, Object session, AuthnRequest authnRequest, Response ssoResponse, String profile, boolean isFederation)Invokes after Single-Sign-On processing succeeded.booleanDefaultIDPAdapter. preAuthentication(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, Object session, String reqID, String relayState)Default implementation, takes no action and returns false (no interruption to processing).booleanSAML2IdentityProviderAdapter. preAuthentication(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, Object session, String reqID, String relayState)Invokes when OpenAM has received the authn request, processed it, and is ready to redirect to authentication.voidDefaultIDPAdapter. preSendFailureResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String faultCode, String faultDetail)Default implementation, takes no action.voidSAML2IdentityProviderAdapter. preSendFailureResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String faultCode, String faultDetail)Called before a SAML error message is returned.booleanDefaultIDPAdapter. preSendResponse(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object session, String reqID, String relayState)Default implementation, takes no action and returns false (no interruption to processing).booleanSAML2IdentityProviderAdapter. preSendResponse(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object session, String reqID, String relayState)This method is invoked before sending a non-error SAML2 Response, but before the SAML Response object is constructed.voidDefaultIDPAdapter. preSignResponse(AuthnRequest authnRequest, Response res, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, Object session, String relayState)voidSAML2IdentityProviderAdapter. preSignResponse(AuthnRequest authnRequest, Response res, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, Object session, String relayState)Called after the SAML Response object is created, but before the Response is signed/encrypted.voidSAML2ServiceProviderAdapter. preSingleLogoutProcess(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String userID, LogoutRequest logoutRequest, LogoutResponse logoutResponse, String binding)Invokes before single logout process started onSPside.booleanDefaultIDPAdapter. preSingleSignOn(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, String reqID)Default implementation, takes no action and returns false (no interruption to processing).booleanSAML2IdentityProviderAdapter. preSingleSignOn(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, String reqID)Invokes when OpenAM receives the authentication request for the first time from the SP, and is called before any processing started on the IDP side.voidSAML2ServiceProviderAdapter. preSingleSignOnProcess(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, Response ssoResponse, String profile)Invokes when theFAMreceived the Single-Sign-On response from the IDP, this is called before any processing started on SP side.voidSAML2ServiceProviderAdapter. preSingleSignOnRequest(String hostedEntityID, String idpEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest)Invokes before OpenAM sends the Single-Sign-On request to IDP.voidAttributeAuthorityMapper. validateAttributeQuery(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Checks if the attribute query is valid.voidDefaultAttributeAuthorityMapper. validateAttributeQuery(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Checks if the attribute query is valid.voidX509SubjectAttributeAuthorityMapper. validateAttributeQuery(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Checks if the attribute query is valid. -
Uses of SAML2Exception in com.sun.identity.saml2.profile
Methods in com.sun.identity.saml2.profile that throw SAML2Exception Modifier and Type Method Description static voidIDPProxyUtil. addRequesterIDToScope(Scoping scoping, String requesterId)static AuthnRequestSPSSOFederate. createAuthnRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realmName, String spEntityID, String idpEntityID, Map paramsMap, Map spConfigMap, List extensionsList, SPSSODescriptorElement spsso, IDPSSODescriptorElement idpsso, String ssourl, boolean isForECP)Create an AuthnRequest.static StringBufferLogoutUtil. doLogout(String metaAlias, String recipientEntityID, List<EndpointType> recipientSLOList, List extensionsList, String binding, String relayState, String sessionIndex, NameID nameID, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap, BaseConfigType config)Builds theLogoutRequestand executes the required processing logic for sendingLogoutRequestfrom SP to IDP.static StringBufferLogoutUtil. doLogout(String metaAlias, String recipientEntityID, List extensionsList, EndpointType logoutEndpoint, String relayState, String sessionIndex, NameID nameID, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap, BaseConfigType config)static voidIDPSSOUtil. doSSOFederate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, AuthnRequest authnReq, String spEntityID, String idpMetaAlias, String nameIDFormat, String relayState, Object newSession, SAML2EventLogger auditor)Does SSO with existing federation or new federationstatic voidIDPSSOUtil. doSSOFederate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, AuthnRequest authnReq, String spEntityID, String idpMetaAlias, String nameIDFormat, String relayState, SAML2EventLogger auditor)Does SSO with existing federation or new federationstatic voidIDPProxyUtil. generateProxyResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String metaAlias, ResponseInfo respInfo, Object newSession, SAML2EventLogger auditor)Generates the AuthnResponse by the IDP Proxy and send to the service provider.static StringIDPSSOUtil. getACSurl(String spEntityID, String realm, AuthnRequest authnReq, jakarta.servlet.http.HttpServletRequest request, StringBuffer rBinding)Returns the assertion consumer serviceURLstatic StringIDPSSOUtil. getACSurl(String spEntityID, String realm, String acsURL, String binding, Integer index, jakarta.servlet.http.HttpServletRequest request, StringBuffer rBinding)Returns the assertion consumer serviceURL.static StringIDPSSOUtil. getACSurlFromMetaByBinding(String spEntityID, String realm, String desiredBinding, StringBuffer returnedBinding)Returns the assertion consumer serviceURLfrom meta data by bindingstatic StringIDPSSOUtil. getACSurlFromMetaByIndex(String spEntityID, String realm, int acsIndex, StringBuffer returnedBinding)Returns the assertion consumer serviceURLfrom meta data by bindingstatic Map<String,String>AttributeQueryUtil. getAttributeMapForFedlet(String spEntityID, String idpEntityID, String nameIDValue, List<String> attrsList, String attrQueryProfileAlias, String subjectDN)static Map<String,Set<String>>AttributeQueryUtil. getAttributesForFedlet(String spEntityID, String idpEntityID, String nameIDValue, List<String> attrsList, String attrQueryProfileAlias, String subjectDN)Sends the AttributeQuery to specified attribute authority, validates the response and returns the attribute mapMap<String, Set<String>>to the FedletAuthnRequestInfoAuthnRequestInfoCopy. getAuthnRequestInfo(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)static StringIDPSSOUtil. getBindingForAcsUrl(String spEntityID, String realm, String acsURL)Returns the assertion consumer service url binding from the metadata.protected static ConditionsIDPSSOUtil. getConditions(String audienceEntityID, int notBeforeSkewTime, int effectiveTime)Returns aSAML ConditionsobjectAdviceDiscoveryBootstrap. getCredentials()Gets the credential for discovery boot strap resource offeringstatic StringIDPSSOUtil. getDefaultACSurl(String spEntityID, String realm, StringBuffer returnedBinding)Returns the default assertion consumer service url and binding from the metadata.static StringAttributeQueryUtil. getIdentity(AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)static StringAttributeQueryUtil. getIdentityFromDataStoreX509Subject(AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)static SAML2IdentityProviderAdapterIDPSSOUtil. getIDPAdapterClass(String realm, String idpEntityID)Returns aSAML2IdentityProviderAdapterstatic IDPAuthnContextMapperIDPSSOUtil. getIDPAuthnContextMapper(String realm, String idpEntityID)Returns anIDPAuthnContextMapperstatic IDPECPSessionMapperIDPSSOUtil. getIDPECPSessionMapper(String realm, String idpEntityID)Returns anIDPECPSessionMapperstatic StringDoManageNameID. getMNIBindingInfo(jakarta.servlet.http.HttpServletRequest request, String metaAlias, String hostEntityRole, String remoteEntityID)Returns binding information of MNI Service for remote entity from request or meta configuration.static StringXACMLQueryUtil. getPolicyDecisionForFedlet(jakarta.servlet.http.HttpServletRequest request, String pepEntityID, String pdpEntityID, String nameIDValue, String serviceName, String resource, String action)Sends the XACML query to specifiied PDP, gets the policy decision and sends it back to the Fedletstatic StringSPSSOFederate. getPostBindingMsg(IDPSSODescriptorElement idpsso, SPSSODescriptorElement spsso, Map spConfigAttrsMap, AuthnRequest authnRequest)Gets the Post Binding messagestatic StringIDPProxyUtil. getPreferredIDP(AuthnRequest authnRequest, String hostedEntityId, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Gets the preferred IDP Id to be proxied.static StringSPACSUtils. getPrincipalWithoutLogin(Subject assertionSubject, Assertion authnAssertion, String realm, String spEntityId, SAML2MetaManager metaManager, String idpEntityId, String storageKey)Returns the username if there was one from the Assertion we were able to map into a local user account.static StringSPSSOFederate. getRedirect(String authReqXMLString, String relayStateID, String ssoURL, IDPSSODescriptorElement idpsso, SPSSODescriptorElement spsso, Map spConfigAttrsMap)Gets the redirect String.static ResponseIDPSSOUtil. getResponse(jakarta.servlet.http.HttpServletRequest request, Object session, AuthnRequest authnReq, String recipientEntityID, String idpEntityID, String idpMetaAlias, String realm, String nameIDFormat, String acsURL, String affiliationID, AuthnContext matchingAuthnContext)Returns aSAML Responseobject.static ResponseInfoSPACSUtils. getResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String orgName, String hostEntityId, SAML2MetaManager metaManager)RetrievesSAMLResponsefrom http request.static StringIDPSingleLogout. getSingleLogoutLocation(String spEntityID, String realm, String binding)Returns single logout location for the service provider.static StringLogoutUtil. getSLOBindingInfo(jakarta.servlet.http.HttpServletRequest request, String metaAlias, String hostEntityRole, String remoteEntityID)Returns binding information of SLO Service for remote entity from request or meta configuration.static List<SingleLogoutServiceElement>IDPSingleLogout. getSPSLOServiceEndpoints(String realm, String spEntityID)Gets the single log out end points for the Service Provider.static ListAttributeQueryUtil. getUserAttributes(String userId, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)static longIDPSSOUtil. getValidTimeofResponse(String realm, String idpEntityID, Response response)static voidSPSSOFederate. initiateAuthnRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String metaAlias, String idpEntityID, Map paramsMap, SAML2EventLogger auditor)Parses the request parameters and builds the Authentication Request to sent to the IDP.static voidSPSSOFederate. initiateECPRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Parses the request parameters and builds ECP Request to sent to the IDP.static voidIDPSingleLogout. initiateLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String binding, Map paramsMap)Parses the request parameters and initiates the Logout Request to be sent to the SP.static voidSPSingleLogout. initiateLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String binding, Map paramsMap, LogoutRequest origLogoutRequest, jakarta.xml.soap.SOAPMessage msg, Object newSession, SAML2EventLogger audit)Parses the request parameters and initiates the Logout Request to be sent to the IDP.static voidSPSingleLogout. initiateLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String binding, Map paramsMap, SAML2EventLogger auditor)Parses the request parameters and initiates the Logout Request to be sent to the IDP.static voidDoManageNameID. initiateManageNameIDRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String metaAlias, String remoteEntityID, Map paramsMap)Parses the request parameters and builds the ManageNameID Request to sent to remote Entity.static NameIDMappingResponseNameIDMapping. initiateNameIDMappingRequest(Object session, String realm, String spEntityID, String idpEntityID, String targetSPEntityID, String targetNameIDFormat, Map paramsMap)Parses the request parameters and builds the NameIDMappingRequest to sent to remote identity provider.static booleanIDPProxyUtil. isIDPProxyEnabled(AuthnRequest authnRequest, String realm)Checks if the identity provider is configured for proxying the authentication requests for a requesting service provider.static jakarta.xml.soap.SOAPMessageIDPArtifactResolution. onMessage(jakarta.xml.soap.SOAPMessage message, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String idpEntityID)This method generates aSOAPMessagecontaining theArtifactResponsethat is corresponding to theArtifactResolvecontained in theSOAPMessagepassed in.static ResponseAssertionIDRequestUtil. processAssertionIDRequest(AssertionIDRequest assertionIDRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String samlAuthorityEntityID, String role, String realm)This method processes theAssertionIDRequestcoming from a requester.static ResponseAttributeQueryUtil. processAttributeQuery(AttributeQuery attrQuery, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String attrAuthorityEntityID, String realm, String attrQueryProfileAlias)Processes theAttributeQuerycoming from a requester.static ResponseAuthnQueryUtil. processAuthnQuery(AuthnQuery authnQuery, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String authnAuthorityEntityID, String realm)This method processes theAuthnQuerycoming from a requester.static voidDoManageNameID. processHttpRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap)Parses the request parameters and process the ManageNameID Request from the remote entity.static LogoutResponseIDPSingleLogout. processLogoutRequest(LogoutRequest logoutReq, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String binding, String relayState, String idpEntityID, String realm, boolean isVerified)Gets and processes the SingleLogoutRequestfrom SP and returnLogoutResponse.static voidIDPSingleLogout. processLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String samlRequest, String relayState)Gets and processes the SingleLogoutRequestfrom SP.static voidSPSingleLogout. processLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String samlRequest, String relayState)Gets and processes the SingleLogoutRequestfrom IDP.static booleanIDPSingleLogout. processLogoutResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String samlResponse, String relayState)Gets and processes the SingleLogoutResponsefrom SP, destroys the local session, checks response's issuer and inResponseTo.static Map<String,String>SPSingleLogout. processLogoutResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String samlResponse, String relayState)Gets and processes the SingleLogoutResponsefrom IDP, destroys the local session, checks response's issuer and inResponseTo.static booleanDoManageNameID. processManageNameIDResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap)Parses the request parameters and builds the Authentication Request to sent to the IDP.static booleanDoManageNameID. processMNIResponsePOST(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap)static NameIDMappingResponseNameIDMapping. processNameIDMappingRequest(NameIDMappingRequest nimRequest, String realm, String idpEntityID)static voidDoManageNameID. processPOSTRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap)static ObjectSPACSUtils. processResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String metaAlias, Object session, ResponseInfo respInfo, String realm, String hostEntityId, SAML2MetaManager metaManager, SAML2EventLogger auditor)Authenticates user withResponse.static MapSPACSUtils. processResponseForFedlet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out)Processes response from Identity Provider to Fedlet (SP).static voidDoManageNameID. processSOAPRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap)Parses the request parameters and process the ManageNameID Request from the remote entity.static voidSPACSUtils. saveInfoInMemory(SessionProvider sessionProvider, Object session, String sessionIndex, String metaAlias, NameIDInfo info, boolean isIDPProxy, boolean isTransient)static ResponseAssertionIDRequestUtil. sendAssertionIDRequest(AssertionIDRequest assertionIDRequest, String samlAuthorityEntityID, String role, String realm, String binding)Sends theAssertionIDRequestto specifiied Assertion ID Request Service and returnsResponsecoming from the Assertion ID Request Service.static AssertionAssertionIDRequestUtil. sendAssertionIDRequestURI(String assertionID, String samlAuthorityEntityID, String role, String realm)Sends the Assertion ID to specifiied Assertion ID Request Service and returnsAssertioncoming from the Assertion ID Request Service.static voidAttributeQueryUtil. sendAttributeQuery(AttributeQuery attrQuery, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String attrAuthorityEntityID, String realm, String attrQueryProfile, String attrProfile, String binding)Sends theAttributeQueryto specified attribute authority and returnsResponsecoming from the attribute authority.static ResponseAttributeQueryUtil. sendAttributeQuery(AttributeQuery attrQuery, String attrAuthorityEntityID, String realm, String attrQueryProfile, String attrProfile, String binding)Sends theAttributeQueryto specified attribute authority and returnsResponsecoming from the attribute authority.static ResponseAuthnQueryUtil. sendAuthnQuery(AuthnQuery authnQuery, String authnAuthorityEntityID, String realm, String binding)This method sends theAuthnQueryto specifiied authentication authority and returnsResponsecoming from the authentication authority.static voidIDPProxyUtil. sendIDPInitProxyLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, LogoutResponse logoutResponse, String location, String spEntityID, String idpEntityID, String binding, String realm)static voidIDPProxyUtil. sendProxyAuthnRequest(AuthnRequest authnRequest, String preferredIDP, SPSSODescriptorElement spSSODescriptor, String hostedEntityId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String relayState, String originalBinding)Sends a new AuthnRequest to the authenticating provider.static voidIDPProxyUtil. sendProxyLogoutResponse(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request, String originatingRequestID, Map<String,String> infoMap, String remoteEntity, String binding)static voidIDPSSOUtil. sendResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String cachedResID)Sends a response to service providerstatic voidIDPSSOUtil. sendResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String acsBinding, String spEntityID, String idpEntityID, String idpMetaAlias, String realm, String relayState, String acsURL, Response res, Object session)Sends a response to service providerstatic voidIDPSSOUtil. sendResponseArtifact(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String idpEntityID, String spEntityID, String realm, String acsURL, String relayState, Response res, Object session, Map props)This method opens a URL connection to the target specified and sends artifact response to it using theHttpServletResponseobject.static voidIDPSSOUtil. sendResponseECP(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String idpEntityID, String realm, String acsURL, Response res)This method sends SAML Response back to ECP.static voidIDPSSOUtil. sendResponseToACS(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, Object session, AuthnRequest authnReq, String spEntityID, String idpEntityID, String idpMetaAlias, String realm, String nameIDFormat, String relayState, AuthnContext matchingAuthnContext)SendsResponsecontaining anAssertionback to the requesting service providerstatic voidIDPProxyUtil. sendResponseWithStatus(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String requestID, String idpMetaAlias, String hostEntityID, String realm, String firstlevelStatusCodeValue, String secondlevelStatusCodeValue)Sends back response with firstlevel and secondlevel status code if available for the original AuthnRequest.static voidIDPSSOUtil. sendResponseWithStatus(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String idpMetaAlias, String idpEntityID, String realm, AuthnRequest authnReq, String relayState, String spEntityID, String firstlevelStatusCodeValue, String secondlevelStatusCodeValue)A convenience method to construct response with First-level and Second-level status code for SAML authentication requests.static voidLogoutUtil. sendSLOResponse(jakarta.servlet.http.HttpServletResponse response, LogoutResponse sloResponse, String sloURL, String relayState, String realm, String hostEntity, String hostEntityRole, String remoteEntity)static voidLogoutUtil. sendSLOResponse(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request, LogoutResponse sloResponse, String sloURL, String relayState, String realm, String hostEntity, String hostEntityRole, String remoteEntity, String binding)static voidLogoutUtil. sendSLOResponsePost(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request, LogoutResponse sloResponse, String sloURL, String relayState, String realm, String hostEntity, String hostEntityRole, String remoteEntity)static voidLogoutUtil. sendSLOResponseRedirect(jakarta.servlet.http.HttpServletResponse response, LogoutResponse sloResponse, String sloURL, String relayState, String realm, String hostEntity, String hostEntityRole, String remoteEntity)static voidLogoutUtil. setNameIDForSLORequest(LogoutRequest request, NameID nameID, String realm, String hostEntity, String hostEntityRole, String remoteEntity)static voidSPSSOFederate. signAuthnRequest(String certAlias, AuthnRequest authnRequest)Sign an authentication request.static voidDoManageNameID. signMNIRequest(String certAlias, ManageNameIDRequest mniRequest)static StringSPSSOFederate. signQueryString(String queryString, String certAlias)Signs the query string.static voidAttributeQueryUtil. signResponse(Response response, String attrAuthorityEntityID, String realm, boolean includeCert)static voidLogoutUtil. signSLORequest(LogoutRequest sloRequest, String realm, String hostEntity, String hostEntityRole, String remoteEntity)Sign LogoutRequest.static voidLogoutUtil. signSLOResponse(LogoutResponse sloResponse, String realm, String hostEntity, String hostEntityRole, String remoteEntity)Sign LogoutResponse.static voidAttributeQueryUtil. validateEntityRequester(AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)static voidAttributeQueryUtil. verifyAttrQuerySignature(AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)Checks if the attribute query signature is valid.static booleanLogoutUtil. verifySLORequest(LogoutRequest sloRequest, String realm, String remoteEntity, String hostEntity, String hostEntityRole)Verify the signature in LogoutRequest.static booleanLogoutUtil. verifySLOResponse(LogoutResponse sloResponse, String realm, String remoteEntity, String hostEntity, String hostEntityRole)Verify the signature in LogoutResponse.Constructors in com.sun.identity.saml2.profile that throw SAML2Exception Constructor Description AuthnRequestInfoCopy(AuthnRequestInfo info)DiscoveryBootstrap(Object session, Subject sub, String authnContextClassRef, String wscID, String realm)Constructor. -
Uses of SAML2Exception in com.sun.identity.saml2.protocol
Methods in com.sun.identity.saml2.protocol that throw SAML2Exception Modifier and Type Method Description ArtifactProtocolFactory. createArtifact(byte[] typecode, int endpointIndex, String sourceID, String messageHandle)Returns a new instance ofArtifact.ArtifactProtocolFactory. createArtifact(String encodedArtifactValue)Returns a new instance ofArtifact.ArtifactProtocolFactory. createArtifact(Element elem)Returns a new instance ofArtifact.ArtifactResolveProtocolFactory. createArtifactResolve(String xml)Returns a new instance ofArtifactResolve.ArtifactResolveProtocolFactory. createArtifactResolve(Element elem)Returns a new instance ofArtifactResolve.ArtifactResponseProtocolFactory. createArtifactResponse(String xml)Returns a new instance ofArtifactResponse.ArtifactResponseProtocolFactory. createArtifactResponse(Element elem)Returns a new instance ofArtifactResponse.AssertionIDRequestProtocolFactory. createAssertionIDRequest()Returns theAssertionIDRequestObject.AssertionIDRequestProtocolFactory. createAssertionIDRequest(String value)Returns theAssertionIDRequestObject.AssertionIDRequestProtocolFactory. createAssertionIDRequest(Element value)Returns theAssertionIDRequestObject.AttributeQueryProtocolFactory. createAttributeQuery()Returns theAttributeQueryObject.AttributeQueryProtocolFactory. createAttributeQuery(String value)Returns theAttributeQueryObject.AttributeQueryProtocolFactory. createAttributeQuery(Element value)Returns theAttributeQueryObject.AuthnQueryProtocolFactory. createAuthnQuery()Returns theAuthnQueryObject.AuthnQueryProtocolFactory. createAuthnQuery(String value)Returns theAuthnQueryObject.AuthnQueryProtocolFactory. createAuthnQuery(Element value)Returns theAuthnQueryObject.AuthnRequestProtocolFactory. createAuthnRequest()Returns theAuthnRequestObject.AuthnRequestProtocolFactory. createAuthnRequest(String value)Returns theAuthnRequestObject.AuthnRequestProtocolFactory. createAuthnRequest(Element value)Returns theAuthnRequestObject.ExtensionsProtocolFactory. createExtensions()Returns theExtensionsObject.ExtensionsProtocolFactory. createExtensions(String value)Returns theExtensionsObject.ExtensionsProtocolFactory. createExtensions(Element value)Returns theExtensionsObject.GetCompleteProtocolFactory. createGetComplete()Returns theGetCompleteObject.GetCompleteProtocolFactory. createGetComplete(String value)Returns theGetCompleteObject.GetCompleteProtocolFactory. createGetComplete(Element value)Returns theGetCompleteObject.IDPEntryProtocolFactory. createIDPEntry()Returns theIDPEntryObject.IDPEntryProtocolFactory. createIDPEntry(String value)Returns theIDPEntryObject.IDPEntryProtocolFactory. createIDPEntry(Element value)Returns theIDPEntryObject.IDPListProtocolFactory. createIDPList()Returns theIDPListObject.IDPListProtocolFactory. createIDPList(String value)Returns theIDPListObject.IDPListProtocolFactory. createIDPList(Element value)Returns theIDPListObject.LogoutRequestProtocolFactory. createLogoutRequest(String value)Returns theLogoutRequestObject.LogoutRequestProtocolFactory. createLogoutRequest(Element value)Returns theLogoutRequestObject.LogoutResponseProtocolFactory. createLogoutResponse(String value)Returns theLogoutResponseObject.LogoutResponseProtocolFactory. createLogoutResponse(Element value)Returns theLogoutResponseObject.ManageNameIDRequestProtocolFactory. createManageNameIDRequest(String value)Returns an immutable manage name identifier request object.ManageNameIDRequestProtocolFactory. createManageNameIDRequest(Element value)Returns an immutable manage name identifier request object.ManageNameIDResponseProtocolFactory. createManageNameIDResponse(String value)Returns an immutable manage name identifier response object.ManageNameIDResponseProtocolFactory. createManageNameIDResponse(Element value)Returns an immutable manage name identifier response object.NameIDMappingRequestProtocolFactory. createNameIDMappingRequest(String value)Returns theNameIDMappingRequestObject.NameIDMappingRequestProtocolFactory. createNameIDMappingRequest(Element elem)Returns theNameIDMappingRequestObject.NameIDMappingResponseProtocolFactory. createNameIDMappingResponse(String value)Returns theNameIDMappingResponseObject.NameIDMappingResponseProtocolFactory. createNameIDMappingResponse(Element elem)Returns theNameIDMappingResponseObject.NameIDPolicyProtocolFactory. createNameIDPolicy()Returns theNameIDPolicyObject.NameIDPolicyProtocolFactory. createNameIDPolicy(String value)Returns theNameIDPolicyObject.NameIDPolicyProtocolFactory. createNameIDPolicy(Element value)Returns theNameIDPolicyObject.NewEncryptedIDProtocolFactory. createNewEncryptedID(String value)Returns an immutable new encrypted identifier object.NewEncryptedIDProtocolFactory. createNewEncryptedID(Element value)Returns an immutable new encrypted identifier object.NewIDProtocolFactory. createNewID(String value)Returns an new identifier object.NewIDProtocolFactory. createNewID(Element value)Returns an new identifier object.RequestedAuthnContextProtocolFactory. createRequestedAuthnContext()Returns a mutable requested authentication context object.RequestedAuthnContextProtocolFactory. createRequestedAuthnContext(String value)Returns an immutable requested authentication context object.RequestedAuthnContextProtocolFactory. createRequestedAuthnContext(Element value)Returns an immutable requested authentication context object.RequesterIDProtocolFactory. createRequesterID()Returns theRequesterIDObject.RequesterIDProtocolFactory. createRequesterID(String value)Returns theRequesterIDObject.RequesterIDProtocolFactory. createRequesterID(Element value)Returns theRequesterIDObject.ResponseProtocolFactory. createResponse(String xml)Returns a new instance ofResponse.ResponseProtocolFactory. createResponse(Element elem)Returns a new instance ofResponse.ScopingProtocolFactory. createScoping()Returns theScopingObject.ScopingProtocolFactory. createScoping(String value)Returns theScopingObject.ScopingProtocolFactory. createScoping(Element value)Returns theScopingObject.StatusProtocolFactory. createStatus()Returns theStatusObject.StatusProtocolFactory. createStatus(String value)Returns theStatusObject.StatusProtocolFactory. createStatus(Element value)Returns theStatusObject.StatusCodeProtocolFactory. createStatusCode()Returns theStatusCodeObject.StatusCodeProtocolFactory. createStatusCode(String value)Returns theStatusCodeObject.StatusCodeProtocolFactory. createStatusCode(Element value)Returns theStatusCodeObject.StatusDetailProtocolFactory. createStatusDetail()Returns theStatusDetailObject.StatusDetailProtocolFactory. createStatusDetail(String value)Returns theStatusDetailObject.StatusDetailProtocolFactory. createStatusDetail(Element value)Returns theStatusDetailObject.NewIDNewEncryptedID. decrypt(Set<PrivateKey> privateKeys)Returns an instance ofNewIDobject.NewEncryptedIDNewID. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anNewEncryptedIDobject.booleanRequestAbstract. isSignatureValid(Set<X509Certificate> verificationCerts)Return whether the signature is valid or not.booleanStatusResponse. isSignatureValid(Set<X509Certificate> verificationCerts)Returns whether the signature on theStatusResponseis valid or not.voidNameIDPolicy. setAllowCreate(boolean allowCreate)Sets the value ofAllowCreateattribute.voidArtifactResponse. setAny(String value)Sets theanyelement of the response.voidExtensions. setAny(List value)Sets theExtensionsobject.voidStatusDetail. setAny(List anyList)Sets the value of the Any property.voidArtifactResolve. setArtifact(Artifact value)Sets theArtifactof the request.voidResponse. setAssertion(List value)Sets Assertion(s) of the response.voidAuthnRequest. setAssertionConsumerServiceIndex(Integer index)Sets the value of theAssertionConsumerServiceIndexattribute.voidAuthnRequest. setAssertionConsumerServiceURL(String url)Sets the value of theAssertionConsumerServiceURLattribute.voidAssertionIDRequest. setAssertionIDRefs(List assertionIDRefs)Sets a list ofAssertionIDRefObjects.voidAuthnRequest. setAttributeConsumingServiceIndex(Integer index)Sets the value of theAttributeConsumingServiceIndexattribute.voidAttributeQuery. setAttributes(List attributes)Sets theAttributeobjects.voidRequestedAuthnContext. setAuthnContextClassRef(List references)Sets authentication context class references.voidRequestedAuthnContext. setAuthnContextDeclRef(List references)Sets authentication context declaration class references.voidLogoutRequest. setBaseID(BaseID value)Sets the value of the baseID property.voidNameIDMappingRequest. setBaseID(BaseID value)Sets the value of the baseID property.voidRequestedAuthnContext. setComparison(String value)Sets the value of theComparisonproperty.voidAuthnRequest. setConditions(Conditions conditions)Sets theConditionsobject.voidRequestAbstract. setConsent(String consent)Sets the value of theConsentattribute.voidStatusResponse. setConsent(String value)Sets the value of the consent property.voidRequestAbstract. setDestination(String destinationURI)Sets the value of theDestinationattribute.voidStatusResponse. setDestination(String value)Sets the value of the destination property.voidResponse. setEncryptedAssertion(List value)SetsEncryptedAssertion(s) of the response.voidLogoutRequest. setEncryptedID(EncryptedID value)Sets the value of the encryptedID property.voidManageNameIDRequest. setEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidNameIDMappingRequest. setEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidNameIDMappingResponse. setEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidRequestAbstract. setExtensions(Extensions extensions)Sets theExtensionsObject.voidStatusResponse. setExtensions(Extensions value)Sets the value of the extensions property.voidAuthnRequest. setForceAuthn(Boolean value)Sets the value of theForceAuthnattribute.voidNameIDPolicy. setFormat(String uri)Sets the value of theFormatattribute.voidIDPList. setGetComplete(GetComplete getComplete)Sets theGetCompleteObject.voidRequestAbstract. setID(String id)Sets the value of theIDattribute.voidStatusResponse. setID(String value)Sets the value of the id property.voidIDPList. setIDPEntries(List idpEntryList)Sets theIDPEntryObject.voidScoping. setIDPList(IDPList idpList)Sets theIDPListObject.voidStatusResponse. setInResponseTo(String value)Sets the value of the inResponseTo property.voidAuthnRequest. setIsPassive(Boolean value)Sets the value of theIsPassiveattribute.voidRequestAbstract. setIssueInstant(Date dateTime)Sets the value ofIssueInstantattribute.voidStatusResponse. setIssueInstant(Date value)Sets the value of the issueInstant property.voidRequestAbstract. setIssuer(Issuer nameID)Sets theIssuerobject.voidStatusResponse. setIssuer(Issuer value)Sets the value of the issuer property.voidIDPEntry. setLoc(String locationURI)Sets the value ofLocattribute.voidIDPEntry. setName(String name)Sets the value ofNameattribute.voidLogoutRequest. setNameID(NameID value)Sets the value of the nameID property.voidManageNameIDRequest. setNameID(NameID value)Sets the value of thenameIDproperty.voidNameIDMappingRequest. setNameID(NameID value)Sets the value of thenameIDproperty.voidNameIDMappingResponse. setNameID(NameID value)Sets the value of thenameIDproperty.voidAuthnRequest. setNameIDPolicy(NameIDPolicy nameIDPolicy)Sets theNameIDPolicyobject.voidNameIDMappingRequest. setNameIDPolicy(NameIDPolicy nameIDPolicy)Sets theNameIDPolicyobject.voidManageNameIDRequest. setNewEncryptedID(NewEncryptedID value)Sets the value of thenewEncryptedIDproperty.voidManageNameIDRequest. setNewID(NewID value)Sets the value of theNewIDproperty.voidLogoutRequest. setNotOnOrAfter(Date value)Sets the value of the notOnOrAfter property.voidAuthnRequest. setProtocolBinding(String protocolBinding)Sets the value of theProtocolBindingattribute.voidIDPEntry. setProviderID(String uri)Sets theProviderIDattribute value.voidAuthnRequest. setProviderName(String providerName)Sets theProviderNameattribute value.voidScoping. setProxyCount(Integer proxyCount)Sets the value ofProxyCountattribute.voidLogoutRequest. setReason(String value)Sets the value of the reason property.voidAuthnQuery. setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext)Sets theRequestedAuthnContextobject.voidAuthnRequest. setRequestedAuthnContext(RequestedAuthnContext reqAuthnContext)Sets theRequestedAuthnContext.voidScoping. setRequesterIDs(List<RequesterID> requesterIDList)Sets a list ofRequesterIDObjects.voidAuthnRequest. setScoping(Scoping scoping)Sets theScopingobject.voidAuthnQuery. setSessionIndex(String sessionIndex)Sets the value ofSessionIndexattribute.voidLogoutRequest. setSessionIndex(List sessionIndexList)Sets the value of the SessionIndex property.voidNameIDPolicy. setSPNameQualifier(String spNameQualifier)Sets the value ofSPNameQualifierattribute.voidStatusResponse. setStatus(Status value)Sets the value of the status property.voidStatus. setStatusCode(StatusCode value)Sets the value of the statusCode property.voidStatusCode. setStatusCode(StatusCode value)Sets the value of the statusCode property.voidStatus. setStatusDetail(StatusDetail value)Sets the value of the statusDetail property.voidStatus. setStatusMessage(String value)Sets the value of the statusMessage property.voidAuthnRequest. setSubject(Subject subject)Sets theSubjectobject.voidSubjectQueryAbstract. setSubject(Subject subject)Sets theSubjectobject.voidManageNameIDRequest. setTerminate(boolean terminate)Set this request as terminating request.voidGetComplete. setValue(String value)Sets the value of theGetCompleteURI.voidRequesterID. setValue(String value)Sets the value of theRequesterIDURI.voidStatusCode. setValue(String value)Sets the value of the value property.voidRequestAbstract. setVersion(String version)Sets the value of theVersionattribute.voidStatusResponse. setVersion(String value)Sets the value of the version property.voidRequestAbstract. sign(PrivateKey privateKey, X509Certificate cert)Signs the Request.voidStatusResponse. sign(PrivateKey privateKey, X509Certificate cert)Signs theStatusResponse.StringArtifact. toXMLString()Returns a String representation of the element.StringArtifact. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringExtensions. toXMLString()Returns a String representation of this object.StringExtensions. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this object.StringGetComplete. toXMLString()Returns a String representation of this Object.StringGetComplete. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringIDPEntry. toXMLString()Returns a String representation of this Object.StringIDPEntry. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringIDPList. toXMLString()Returns a String representation of this Object.StringIDPList. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringNameIDPolicy. toXMLString()Returns a String representation of this Object.StringNameIDPolicy. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this object.StringNewID. toXMLString()Returns a String representation of this Object.StringNewID. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringRequestAbstract. toXMLString()Returns a String representation of this Object.StringRequestAbstract. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringRequestedAuthnContext. toXMLString()Returns a String representation of this Object.StringRequestedAuthnContext. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringRequesterID. toXMLString()Returns a String representation of this Object.StringRequesterID. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringScoping. toXMLString()Returns a String representation of this Object.StringScoping. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringSessionIndex. toXMLString()Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.StringSessionIndex. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.StringStatus. toXMLString()Returns theStatusin an XML document String format based on theStatusschema described above.StringStatus. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusin an XML document String format based on theStatusschema described above.StringStatusCode. toXMLString()Returns theStatusCodein an XML document String format based on theStatusCodeschema described above.StringStatusCode. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusCodein an XML document String format based on theStatusCodeschema described above.StringStatusDetail. toXMLString()Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.StringStatusDetail. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.StringStatusMessage. toXMLString()Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.StringStatusMessage. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.StringStatusResponse. toXMLString()Returns theStatusResponsein an XML document String format based on theStatusResponseschema described above.StringStatusResponse. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusResponsein an XML document String format based on theStatusResponseschema described above. -
Uses of SAML2Exception in com.sun.identity.saml2.protocol.impl
Methods in com.sun.identity.saml2.protocol.impl that throw SAML2Exception Modifier and Type Method Description NewIDNewEncryptedIDImpl. decrypt(Set<PrivateKey> privateKeys)NewEncryptedIDNewIDImpl. encrypt(Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID)Returns anNewEncryptedIDobject.protected StringRequestAbstractImpl. getAttributesString()protected StringRequestAbstractImpl. getElements(boolean includeNSPrefix, boolean declareNS)protected voidAssertionIDRequestImpl. getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)protected voidAttributeQueryImpl. getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)protected voidAuthnQueryImpl. getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)protected voidNameIDMappingRequestImpl. getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)protected voidRequestAbstractImpl. getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)protected voidSubjectQueryAbstractImpl. getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)booleanRequestAbstractImpl. isSignatureValid(Set<X509Certificate> verificationCerts)booleanStatusResponseImpl. isSignatureValid(Set<X509Certificate> verificationCerts)protected voidAssertionIDRequestImpl. parseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidAttributeQueryImpl. parseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidAuthnQueryImpl. parseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidNameIDMappingRequestImpl. parseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidRequestAbstractImpl. parseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidSubjectQueryAbstractImpl. parseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidAssertionIDRequestImpl. parseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.protected voidAttributeQueryImpl. parseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.protected voidAuthnQueryImpl. parseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.protected voidNameIDMappingRequestImpl. parseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.protected voidRequestAbstractImpl. parseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.protected voidSubjectQueryAbstractImpl. parseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.protected voidAuthnRequestImpl. parseDOMElement(Element element)Parses the Docuemnt Element for this object.protected voidRequestAbstractImpl. parseDOMElement(Element element)Parses the Docuemnt Element for this object.voidNameIDPolicyImpl. setAllowCreate(boolean value)Sets the value ofAllowCreateattribute.voidArtifactResponseImpl. setAny(String value)Sets theanyelement of the response.voidExtensionsImpl. setAny(List value)Sets theExtensionsobject.voidStatusDetailImpl. setAny(List value)Sets theStatusDetailobject.voidArtifactResolveImpl. setArtifact(Artifact value)Sets theArtifactof the request.voidResponseImpl. setAssertion(List value)Sets Assertion(s) of the response.voidAuthnRequestImpl. setAssertionConsumerServiceIndex(Integer index)Sets the value of theAssertionConsumerServiceIndexattribute.voidAuthnRequestImpl. setAssertionConsumerServiceURL(String url)Sets the value of theAssertionConsumerServiceURLattribute.voidAssertionIDRequestImpl. setAssertionIDRefs(List assertionIDRefs)Sets a list ofAssertionIDRefObjects.voidAuthnRequestImpl. setAttributeConsumingServiceIndex(Integer index)Sets the value of theAttributeConsumingServiceIndexattribute.voidAttributeQueryImpl. setAttributes(List attributes)Sets theAttributeobjects.voidRequestedAuthnContextImpl. setAuthnContextClassRef(List value)Sets the value of AuthnContextClassRef property.voidRequestedAuthnContextImpl. setAuthnContextDeclRef(List value)Sets the value of theAuthnContextDeclRefproperty.voidLogoutRequestImpl. setBaseID(BaseID value)Sets the value of the baseID property.voidNameIDMappingRequestImpl. setBaseID(BaseID value)Sets the value of the baseID property.voidRequestedAuthnContextImpl. setComparison(String value)Sets the value of the comparison property.voidAuthnRequestImpl. setConditions(Conditions conditions)Sets theConditionsobject.voidRequestAbstractImpl. setConsent(String consent)Sets the value of the Consent property.voidStatusResponseImpl. setConsent(String value)Sets the value of the consent property.voidRequestAbstractImpl. setDestination(String destinationURI)Sets the value of theDestinationattribute.voidStatusResponseImpl. setDestination(String value)Sets the value of the destination property.voidResponseImpl. setEncryptedAssertion(List value)SetsEncryptedAssertion(s) of the response.voidLogoutRequestImpl. setEncryptedID(EncryptedID value)Sets the value of the encryptedID property.voidManageNameIDRequestImpl. setEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidNameIDMappingRequestImpl. setEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidNameIDMappingResponseImpl. setEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidRequestAbstractImpl. setExtensions(Extensions extensions)Sets theExtensionsObject.voidStatusResponseImpl. setExtensions(Extensions value)Sets the value of the extensions property.voidAuthnRequestImpl. setForceAuthn(Boolean value)Sets the value of theForceAuthnattribute.voidNameIDPolicyImpl. setFormat(String uri)Sets the value of theFormatattribute.voidIDPListImpl. setGetComplete(GetComplete getComplete)Sets theGetCompleteObject.voidRequestAbstractImpl. setID(String id)Sets the value of theIDattribute.voidStatusResponseImpl. setID(String value)Sets the value of the id property.voidIDPListImpl. setIDPEntries(List idpEntryList)Sets the list ofIDPEntryObjects.voidScopingImpl. setIDPList(IDPList idpList)Sets theIDPListObject.voidStatusResponseImpl. setInResponseTo(String value)Sets the value of the inResponseTo property.voidAuthnRequestImpl. setIsPassive(Boolean value)Sets the value of theIsPassiveattribute.voidRequestAbstractImpl. setIssueInstant(Date dateTime)Sets the value ofIssueInstantattribute.voidStatusResponseImpl. setIssueInstant(Date value)Sets the value of the issueInstant property.voidRequestAbstractImpl. setIssuer(Issuer nameID)Sets theIssuerobject.voidStatusResponseImpl. setIssuer(Issuer value)Sets the value of the issuer property.voidIDPEntryImpl. setLoc(String locationURI)Sets the value ofLocattribute.voidIDPEntryImpl. setName(String name)Sets the value ofNameattribute.voidLogoutRequestImpl. setNameID(NameID value)Sets the value of the nameID property.voidManageNameIDRequestImpl. setNameID(NameID value)Sets the value of thenameIDproperty.voidNameIDMappingRequestImpl. setNameID(NameID value)Sets the value of thenameIDproperty.voidNameIDMappingResponseImpl. setNameID(NameID value)Sets the value of thenameIDproperty.voidAuthnRequestImpl. setNameIDPolicy(NameIDPolicy nameIDPolicy)Sets theNameIDPolicyobject.voidNameIDMappingRequestImpl. setNameIDPolicy(NameIDPolicy nameIDPolicy)Sets theNameIDPolicyobject.voidManageNameIDRequestImpl. setNewEncryptedID(NewEncryptedID value)Sets the value of thenewEncryptedIDproperty.voidManageNameIDRequestImpl. setNewID(NewID value)Sets the value of theNewIDproperty.voidLogoutRequestImpl. setNotOnOrAfter(Date value)Sets the value of the notOnOrAfter property.voidAuthnRequestImpl. setProtocolBinding(String protocolBinding)Sets the value of theProtocolBindingattribute.voidIDPEntryImpl. setProviderID(String uri)Sets the value ofProviderIDattribute.voidAuthnRequestImpl. setProviderName(String providerName)Sets theProviderNameattribute value.voidScopingImpl. setProxyCount(Integer proxyCount)Sets the value ofProxyCountattribute.voidLogoutRequestImpl. setReason(String value)Sets the value of the reason property.voidAuthnQueryImpl. setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext)Sets theRequestedAuthnContextobject.voidAuthnRequestImpl. setRequestedAuthnContext(RequestedAuthnContext reqAuthnContext)Sets theRequestedAuthnContext.voidScopingImpl. setRequesterIDs(List<RequesterID> value)Sets theRequesterIDObject.voidAuthnRequestImpl. setScoping(Scoping scoping)Sets theScopingobject.voidAuthnQueryImpl. setSessionIndex(String sessionIndex)Sets the value ofSessionIndexattribute.voidLogoutRequestImpl. setSessionIndex(List sessionIndexList)Sets the value of the SessionIndex property.voidNameIDPolicyImpl. setSPNameQualifier(String spNameQualifier)Sets the value ofSPNameQualifierattribute.voidStatusResponseImpl. setStatus(Status value)Sets the value of the status property.voidStatusCodeImpl. setStatusCode(StatusCode value)Sets the value of the statusCode property.voidStatusImpl. setStatusCode(StatusCode value)Sets the value of the statusCode property.voidStatusImpl. setStatusDetail(StatusDetail value)Sets the value of the statusDetail property.voidStatusImpl. setStatusMessage(String value)Sets the value of the statusMessage property.voidAuthnRequestImpl. setSubject(Subject subject)Sets theSubjectobject.voidSubjectQueryAbstractImpl. setSubject(Subject subject)Sets theSubjectobject.voidManageNameIDRequestImpl. setTerminate(boolean value)Set this request as terminating request.voidGetCompleteImpl. setValue(String value)Sets the value of theGetCompleteURI.voidRequesterIDImpl. setValue(String value)Sets the value of theRequesterIDURI.voidStatusCodeImpl. setValue(String value)Sets the status code value of the value property.voidRequestAbstractImpl. setVersion(String version)Sets the value of theVersionattribute.voidStatusResponseImpl. setVersion(String value)Sets the value of the version property.voidRequestAbstractImpl. sign(PrivateKey privateKey, X509Certificate cert)Signs the Request.voidStatusResponseImpl. sign(PrivateKey privateKey, X509Certificate cert)Signs the StatusResponseStringArtifactImpl. toXMLString()Returns a String representation of the element.StringArtifactImpl. toXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.StringArtifactResolveImpl. toXMLString()Returns a String representation of this Object.StringArtifactResolveImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringArtifactResponseImpl. toXMLString()Returns a String representation of this Object.StringArtifactResponseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringAuthnRequestImpl. toXMLString()Returns a String representation of this Object.StringAuthnRequestImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringExtensionsImpl. toXMLString()Returns a String representation of this object.StringExtensionsImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this object.StringGetCompleteImpl. toXMLString()Returns a String representation of this Object.StringGetCompleteImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringIDPEntryImpl. toXMLString()Returns a String representation of this Object.StringIDPEntryImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringIDPListImpl. toXMLString()Returns a String representation of this Object.StringIDPListImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringLogoutRequestImpl. toXMLString()Returns theLogoutRequestin an XML document String format based on theLogoutRequestschema described above.StringLogoutRequestImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theLogoutRequestin an XML document String format based on theLogoutRequestschema described above.StringLogoutResponseImpl. toXMLString()Returns theLogoutResponsein an XML document String format based on theLogoutResponseschema described above.StringLogoutResponseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theLogoutResponsein an XML document String format based on theLogoutResponseschema described above.StringManageNameIDRequestImpl. toXMLString()Returns a String representation of this Object.StringManageNameIDRequestImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringManageNameIDResponseImpl. toXMLString()Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.StringManageNameIDResponseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.StringNameIDMappingResponseImpl. toXMLString()Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.StringNameIDMappingResponseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.StringNameIDPolicyImpl. toXMLString()Returns a String representation of this Object.StringNameIDPolicyImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringNewIDImpl. toXMLString()Returns a String representation of this Object.StringNewIDImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringRequestAbstractImpl. toXMLString()Returns a String representation of this Object.StringRequestAbstractImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringRequestedAuthnContextImpl. toXMLString()Returns an XML Representation of this object.StringRequestedAuthnContextImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Converts into an XML String.StringRequesterIDImpl. toXMLString()Returns a String representation of this Object.StringRequesterIDImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringResponseImpl. toXMLString()Returns a String representation of this Object.StringResponseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.StringScopingImpl. toXMLString()Returns a String representation of this Object.StringScopingImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationStringSessionIndexImpl. toXMLString()Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.StringSessionIndexImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.StringStatusCodeImpl. toXMLString()Returns theStatusCodein an XML document String format based on theStatusCodeschema described above.StringStatusCodeImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusCodein an XML document String format based on theStatusCodeschema described above.StringStatusDetailImpl. toXMLString()Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.StringStatusDetailImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusDetailin an XML document String format based on theStatusDetailschema described above.StringStatusImpl. toXMLString()Returns theStatusin an XML document String format based on theStatusschema described above.StringStatusImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusin an XML document String format based on theStatusschema described above.StringStatusMessageImpl. toXMLString()Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.StringStatusMessageImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.StringStatusResponseImpl. toXMLString()Returns theStatusResponsein an XML document String format based on theStatusResponseschema described above.StringStatusResponseImpl. toXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusResponsein an XML document String format based on theStatusResponseschema described above.protected voidArtifactResolveImpl. validateData()protected voidAssertionIDRequestImpl. validateData()protected voidNameIDMappingRequestImpl. validateData()protected voidNameIDMappingResponseImpl. validateData()protected voidRequestAbstractImpl. validateData()protected voidStatusResponseImpl. validateData()protected voidSubjectQueryAbstractImpl. validateData()protected voidRequestAbstractImpl. validateID(String requestID)protected voidStatusResponseImpl. validateID(String responseId)protected voidRequestAbstractImpl. validateIssueInstant(String issueInstantStr)protected voidStatusResponseImpl. validateIssueInstant(String issueInstantStr)protected voidStatusResponseImpl. validateStatus()protected voidStatusImpl. validateStatusCode(StatusCode statusCode)protected voidRequestAbstractImpl. validateVersion(String version)protected voidStatusResponseImpl. validateVersion(String version)Constructors in com.sun.identity.saml2.protocol.impl that throw SAML2Exception Constructor Description ArtifactImpl(byte[] typecode, int endpointindex, String sourceid, String messagehandle)Constructor.ArtifactImpl(String encodedArtifactValue)Constructor withBase64encodedArtifactvalue.ArtifactImpl(Element element)Class constructor withArtifactinElementformat.ArtifactResolveImpl(String xmlString)Class constructor withArtifactResolvein xml string format.ArtifactResolveImpl(Element element)Class constructor withArtifactResolveinElementformat.ArtifactResponseImpl(String xmlString)Constructor withArtifactResponsein xml string format.ArtifactResponseImpl(Element element)Constructor withArtifactResponseinElementformat.AssertionIDRequestImpl(String xmlString)Constructor to createAssertionIDRequestObject.AssertionIDRequestImpl(Element element)Constructor to createAssertionIDRequestObject.AttributeQueryImpl(String xmlString)Constructor to createAttributeQueryObject.AttributeQueryImpl(Element element)Constructor to createAttributeQueryObject.AuthnQueryImpl(String xmlString)Constructor to createAuthnQueryObject.AuthnQueryImpl(Element element)Constructor to createAuthnQueryObject.AuthnRequestImpl(String xmlString)Constructor to createAuthnRequestObject.AuthnRequestImpl(Element element)Constructor to createAuthnRequestObject.ExtensionsImpl(String xmlString)Constructor to create theExtensionsObject.ExtensionsImpl(Element element)Constructor to create theExtensionsObject.GetCompleteImpl(String xmlString)Constructor createsGetCompleteobjectGetCompleteImpl(Element element)Constructor createsGetCompleteobjectIDPEntryImpl(String xmlString)Constructor to createIDPEntryObject.IDPEntryImpl(Element element)Constructor to createIDPEntryObject.IDPListImpl(String xmlString)Constructor to create theIDPListObject.IDPListImpl(Element element)Constructor to create theIDPListObject.LogoutRequestImpl(String xmlString)Constructs theLogoutRequestObject.LogoutRequestImpl(Element element)Constructs theLogoutRequestObject.LogoutResponseImpl(String xmlString)Constructs theLogoutResponseObject.LogoutResponseImpl(Element element)Constructs theLogoutResponseObject.ManageNameIDRequestImpl(String xmlString)Constructor to createManageNameIDRequestObject.ManageNameIDRequestImpl(Element element)Constructor to createManageNameIDRequestObject.ManageNameIDResponseImpl(String xmlString)Constructor to createManageNameIDResponseObject.ManageNameIDResponseImpl(Element element)Constructor to createManageNameIDResponseObject.NameIDMappingRequestImpl(String xmlString)Constructor to createManageNameIDRequestObject.NameIDMappingRequestImpl(Element element)Constructor to createManageNameIDRequestObject.NameIDMappingResponseImpl(String xmlString)Constructor to createManageNameIDResponseObject.NameIDMappingResponseImpl(Element element)Constructor to createManageNameIDResponseObject.NameIDPolicyImpl(String xmlString)Returns theNameIDPolicyObject.NameIDPolicyImpl(Element element)Constructor createsNameIDPolicyobject.NewEncryptedIDImpl(String xmlString)Constructor to createNewEncryptedIDObject.NewEncryptedIDImpl(Element element)Constructor to createNewEncryptedIDObject.NewIDImpl(String value)Constructor to create theNewIDObject.NewIDImpl(Element element)Constructor to create theNewIDObject.RequestedAuthnContextImpl(String xmlString)ConstructorRequestedAuthnContextImpl(Element element)ConstructorRequesterIDImpl(String xmlString)Constructor to create theRequesterIDObject.RequesterIDImpl(Element element)Constructor to create theRequesterIDObject.ResponseImpl(String xmlString)Class constructor withResponsein xml string format.ResponseImpl(Element element)Class constructor withResponseinElementformat.ScopingImpl(String xmlString)Constructor to create theScopingObject.ScopingImpl(Element element)Constructor to create theScopingObject.StatusCodeImpl(String xmlString)Constructs theStatusCodeObject.StatusCodeImpl(Element element)Constructs theStatusCodeObject.StatusDetailImpl(String xmlString)Constructs theStatusDetailObject.StatusDetailImpl(Element element)Constructs theStatusDetailObject.StatusImpl(String xmlString)Constructs theStatusObject.StatusImpl(Element element)Constructs theStatusObject. -
Uses of SAML2Exception in com.sun.identity.saml2.soapbinding
Methods in com.sun.identity.saml2.soapbinding that throw SAML2Exception Modifier and Type Method Description ResponseRequestHandler. handleQuery(String hostedEntityID, String remoteEntityID, RequestAbstract request, jakarta.xml.soap.SOAPMessage soapMessage)Returns a SAMLv2 Query Response for the received Query Request.static ResponseQueryClient. processXACMLQuery(RequestAbstract request, String pepEntityID, String pdpEntityID)Returns SAMLv2Response.static booleanQueryClient. verifySignedResponse(String pepEntityID, String pdpEntityID, Response response)Verify the signature inResponse. -
Uses of SAML2Exception in com.sun.identity.saml2.xmlenc
Methods in com.sun.identity.saml2.xmlenc that throw SAML2Exception Modifier and Type Method Description ElementEncProvider. decrypt(String xmlString, Set<PrivateKey> privateKeys)Decrypts an XML document that contains encrypted data.ElementFMEncProvider. decrypt(String xmlString, Set<PrivateKey> privateKeys)ElementEncProvider. encrypt(String xmlString, Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID, String outerElementName)Encrypts the root element of the given XML document.ElementEncProvider. encrypt(String xmlString, Key recipientPublicKey, SecretKey secretKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID, String outerElementName)Encrypts the root element of the given XML document.ElementFMEncProvider. encrypt(String xmlString, Key recipientPublicKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID, String outerElementName)Encrypts the root element of the given XML document.ElementFMEncProvider. encrypt(String xmlString, Key recipientPublicKey, SecretKey secretKey, String dataEncAlgorithm, int dataEncStrength, String recipientEntityID, String outerElementName)Encrypts the root element of the given XML document.SecretKeyEncProvider. getSecretKey(String xmlString, Set<PrivateKey> privateKeys)Returns the secret key that encrypts encrypted data and is encrypted with recipient's public key in the XML document.SecretKeyFMEncProvider. getSecretKey(String xmlString, Set<PrivateKey> privateKeys) -
Uses of SAML2Exception in com.sun.identity.saml2.xmlsig
Methods in com.sun.identity.saml2.xmlsig that throw SAML2Exception Modifier and Type Method Description ElementFMSigProvider. sign(String xmlString, String idValue, PrivateKey privateKey, X509Certificate cert)Sign the xml document node whose identifying attribute value is as supplied, using enveloped signatures and use exclusive xml canonicalization.ElementSigProvider. sign(String xmlString, String idValue, PrivateKey privateKey, X509Certificate cert)Sign the xml document node whose identifying attribute value is as supplied, using enveloped signatures and use exclusive xml canonicalization.booleanFMSigProvider. verify(String xmlString, String idValue, Set<X509Certificate> verificationCerts)booleanSigProvider. verify(String xmlString, String idValue, Set<X509Certificate> verificationCerts)Verify the signature of the xml document. -
Uses of SAML2Exception in com.sun.identity.wss.security
Constructors in com.sun.identity.wss.security that throw SAML2Exception Constructor Description SAML2Token(Element element) -
Uses of SAML2Exception in com.sun.identity.xacml.client
Methods in com.sun.identity.xacml.client that throw SAML2Exception Modifier and Type Method Description ResponseXACMLRequestProcessor. processRequest(Request xacmlRequest, String pdpEntityId, String pepEntityId)Processes an XACML context Request and returns an XACML context Response. -
Uses of SAML2Exception in com.sun.identity.xacml.common
Subclasses of SAML2Exception in com.sun.identity.xacml.common Modifier and Type Class Description classXACMLExceptionThis class is an extension point for all XACML related exceptions. -
Uses of SAML2Exception in com.sun.identity.xacml.context
Methods in com.sun.identity.xacml.context that throw SAML2Exception Modifier and Type Method Description XACMLAuthzDecisionQueryContextFactory. createXACMLAuthzDecisionQuery(String xml)Returns a new instance ofXACMLAuthzDecisionQuery.XACMLAuthzDecisionQueryContextFactory. createXACMLAuthzDecisionQuery(Element elem)Returns a new instance ofXACMLAuthzDecisionQuery. -
Uses of SAML2Exception in com.sun.identity.xacml.plugins
Methods in com.sun.identity.xacml.plugins that throw SAML2Exception Modifier and Type Method Description ResponseXACMLAuthzDecisionQueryHandler. handleQuery(String pdpEntityId, String pepEntityId, RequestAbstract samlpRequest, jakarta.xml.soap.SOAPMessage soapMessage)Processes an XACMLAuthzDecisionQuery and retruns a SAML2 Response. -
Uses of SAML2Exception in com.sun.identity.xacml.saml2.impl
Methods in com.sun.identity.xacml.saml2.impl that throw SAML2Exception Modifier and Type Method Description protected voidXACMLAuthzDecisionQueryImpl. parseDOMElement(Element element)protected voidXACMLAuthzDecisionQueryImpl. validateData()Constructors in com.sun.identity.xacml.saml2.impl that throw SAML2Exception Constructor Description XACMLAuthzDecisionQueryImpl(String xml)This constructor is used to buildXACMLAuthzDecisionQueryobject from a XML string.XACMLAuthzDecisionQueryImpl(Element element)This constructor is used to buildXACMLAuthzDecisionQueryobject from a block of existing XML that has already been built into a DOM. -
Uses of SAML2Exception in org.forgerock.openam.oauth2.saml2.core
Methods in org.forgerock.openam.oauth2.saml2.core that throw SAML2Exception Modifier and Type Method Description booleanOAuth2Saml2GrantSPAdapter. postSingleSignOnSuccess(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, Object session, AuthnRequest authnRequest, Response ssoResponse, String profile, boolean isFederation)voidOAuth2Saml2GrantSPAdapter. preSingleLogoutProcess(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String userID, LogoutRequest logoutRequest, LogoutResponse logoutResponse, String binding)voidOAuth2Saml2GrantSPAdapter. preSingleSignOnProcess(String hostedEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, Response ssoResponse, String profile)voidOAuth2Saml2GrantSPAdapter. preSingleSignOnRequest(String hostedEntityID, String idpEntityID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthnRequest authnRequest) -
Uses of SAML2Exception in org.forgerock.openam.sts.tokengeneration.saml2.statements
Methods in org.forgerock.openam.sts.tokengeneration.saml2.statements that throw SAML2Exception Modifier and Type Method Description Map<String,String>DefaultAttributeMapper. getConfigAttributeMap(String realm, String hostEntityID, String role)This method is called to obtain the attribute mappings defined for the hosted provider corresponding to the entity id and realm.
-