Package com.sun.identity.saml.assertion
Class Advice
java.lang.Object
com.sun.identity.saml.assertion.AdviceBase
com.sun.identity.saml.assertion.Advice
The
Advice
element contains additional information that the
issuer wish to provide. This information MAY be ignored by applications
without affecting either the semantics or validity. Advice elements MAY
be specified in an extension schema.-
Field Summary
Fields inherited from class com.sun.identity.saml.assertion.AdviceBase
_assertion, _assertionIDRef, _otherElements
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AssertionBase
createAssertion
(Element assertionElement) Creates appropriate Assertion Instanceprotected AssertionIDReference
createAssertionIDReference
(Element assertionIDRefElement) Creates appropriate AssertionIDReference InstanceMethods inherited from class com.sun.identity.saml.assertion.AdviceBase
getAssertion, getAssertionIDReference, getOtherElement, toString, toString
-
Constructor Details
-
Advice
Constructs an Advice element from an existing XML block.- Parameters:
element
- representing a DOM tree element- Throws:
SAMLException
- if there is an error in the sender or in the element definition.
-
Advice
Constructor- Parameters:
assertionidreference
- A List ofAssertionIDReference
.assertion
- A List of Assertionotherelement
- A List of any element defined asany namespace="##other" processContents="lax"
;
-
-
Method Details
-
createAssertion
Description copied from class:AdviceBase
Creates appropriate Assertion Instance- Specified by:
createAssertion
in classAdviceBase
- Parameters:
assertionElement
- the assertion Element- Returns:
- the assertion instance
- Throws:
SAMLException
-
createAssertionIDReference
protected AssertionIDReference createAssertionIDReference(Element assertionIDRefElement) throws SAMLException Description copied from class:AdviceBase
Creates appropriate AssertionIDReference Instance- Specified by:
createAssertionIDReference
in classAdviceBase
- Parameters:
assertionIDRefElement
- the assertion ID reference Element- Returns:
- the assertion ID reference instance
- Throws:
SAMLException
-