Package com.sun.identity.saml.assertion
Class Advice
- java.lang.Object
-
- com.sun.identity.saml.assertion.AdviceBase
-
- com.sun.identity.saml.assertion.Advice
-
@SupportedAll public class Advice extends AdviceBase
TheAdvice
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AssertionBase
createAssertion(Element assertionElement)
Creates appropriate Assertion Instanceprotected AssertionIDReference
createAssertionIDReference(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: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
-
-