Package com.sun.identity.saml.assertion
Class Advice
- java.lang.Object
-
- com.sun.identity.saml.assertion.AdviceBase
-
- com.sun.identity.saml.assertion.Advice
-
public class Advice extends AdviceBase
TheAdviceelement 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AssertionBasecreateAssertion(Element assertionElement)Creates appropriate Assertion Instanceprotected AssertionIDReferencecreateAssertionIDReference(Element assertionIDRefElement)Creates appropriate AssertionIDReference Instance-
Methods inherited from class com.sun.identity.saml.assertion.AdviceBase
getAssertion, getAssertionIDReference, getOtherElement, toString, toString
-
-
-
-
Constructor Detail
-
Advice
public Advice(Element element) throws SAMLException
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.
-
-
Method Detail
-
createAssertion
protected AssertionBase createAssertion(Element assertionElement) throws SAMLException
Description copied from class:AdviceBaseCreates appropriate Assertion Instance- Specified by:
createAssertionin classAdviceBase- Parameters:
assertionElement- the assertion Element- Returns:
- the assertion instance
- Throws:
SAMLException
-
createAssertionIDReference
protected AssertionIDReference createAssertionIDReference(Element assertionIDRefElement) throws SAMLException
Description copied from class:AdviceBaseCreates appropriate AssertionIDReference Instance- Specified by:
createAssertionIDReferencein classAdviceBase- Parameters:
assertionIDRefElement- the assertion ID reference Element- Returns:
- the assertion ID reference instance
- Throws:
SAMLException
-
-