|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.saml.assertion.AssertionBase
com.sun.identity.saml.assertion.Assertion
com.sun.identity.federation.message.FSAssertion
public class FSAssertion
The class FSAssertion creates and parses Liberty
Assertion during the Single Sign-On process.
This class extends from SAML Assertion.
| フィールドの概要 | |
|---|---|
protected String |
id
The value of the id attribute in the Assertion. |
protected String |
inResponseTo
The value of the InResponseTo attribute in the
Assertion. |
protected int |
minorVersion
The value of the MinorVersion attribute in
the |
| クラス com.sun.identity.saml.assertion.AssertionBase から継承されたフィールド |
|---|
_advice, _assertionID, _conditions, _issueInstant, _issuer, _majorVersion, _minorVersion, _statements, ASSERTION_ID_ATTRIBUTE, signature, signatureString, signed, valid, validationDone, xmlString |
| コンストラクタの概要 | |
|---|---|
FSAssertion(Element assertionElement)
Constructor to create an FSAssertion object
from the Document Element. |
|
FSAssertion(String assertionID,
String issuer,
Date issueInstant,
Conditions conditions,
Advice advice,
Set statements,
String inResponseTo)
Constructor to create an FSAssertion object. |
|
FSAssertion(String assertionID,
String issuer,
Date issueInstant,
Conditions conditions,
Set statements,
String inResponseTo)
Constructor to create FSAssertion object. |
|
FSAssertion(String assertionID,
String issuer,
Date issueInstant,
Set statements,
String inResponseTo)
Constructor to create FSAssertion object. |
|
| メソッドの概要 | |
|---|---|
boolean |
addStatement(Statement statement)
Adds the Statement object to the
Statment's object Set. |
List |
getDiscoveryCredential()
Returns the discovery service credentials from the boot strap. |
Element |
getDOMElement()
Returns the Document Element for this object. |
String |
getID()
Returns value of id attribute. |
String |
getInResponseTo()
Returns the value of InResponseTo attribute. |
int |
getMinorVersion()
Returns the MinorVersion attribute. |
String |
getSignatureString()
Returns the Signature string. |
String |
getSignedXMLString()
Returns Signed XML String. |
boolean |
isTimeValid()
Checks validity of time in the assertion. |
void |
parseAdvice(Element element)
Parses the advice element to extract the Security Assertion. |
void |
setID(String id)
Sets value of id |
void |
setInResponseTo(String inResponseTo)
Sets the value of InResponseTo attribute. |
void |
setMinorVersion(int version)
Sets the MinorVersion attribute. |
boolean |
setSignature(Element elem)
Sets the Element's signature. |
void |
signXML(String certAlias)
Signs the Assertion. |
String |
toXMLString()
Returns a XML String representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a XML String representation of this object. |
| クラス com.sun.identity.saml.assertion.AssertionBase から継承されたメソッド |
|---|
getAssertionID, getConditions, getIssueInstant, getIssuer, getMajorVersion, getSignature, getStatement, isSigned, setAdvice, setAssertionID, setConditions, setIssueInstant, setIssuer, setMajorVersion, toString, toString |
| フィールドの詳細 |
|---|
protected String id
id attribute in the Assertion.
protected int minorVersion
MinorVersion attribute in
the Assertion.
protected String inResponseTo
InResponseTo attribute in the
Assertion.
| コンストラクタの詳細 |
|---|
public FSAssertion(Element assertionElement)
throws FSMsgException,
SAMLException
FSAssertion object
from the Document Element.
assertionElement - the Assertion Document Element.
FSMsgException - if the document element is null
or cannot be retrieved.
SAMLException - if the SAML Assertion version is
incorrect
public FSAssertion(String assertionID,
String issuer,
Date issueInstant,
Set statements,
String inResponseTo)
throws FSMsgException,
SAMLException
FSAssertion object.
assertionID - the AssertionID element.issuer - the Issuer element.issueInstant - the IssueInstant element.statements - the Statement elements.
List of statements that need to be added in assertion.inResponseTo - value of InResponseTo attribute in the
assertion.
FSMsgException - if the document element is null
or cannot be retrieved.
SAMLException - if the SAML Assertion version is
incorrect.
public FSAssertion(String assertionID,
String issuer,
Date issueInstant,
Conditions conditions,
Set statements,
String inResponseTo)
throws FSMsgException,
SAMLException
FSAssertion object.
assertionID - the AssertionID element.issuer - the Issuer element.issueInstant - the IssueInstant element.conditions - the Conditions object.statements - the Statement elements.
List of statements that need to be added in assertion.inResponseTo - value of InResponseTo attribute in
the assertion.
FSMsgException - if the document element is null
or cannot be retrieved.
SAMLException - if the SAML Assertion version is
incorrect.
public FSAssertion(String assertionID,
String issuer,
Date issueInstant,
Conditions conditions,
Advice advice,
Set statements,
String inResponseTo)
throws FSMsgException,
SAMLException
FSAssertion object.
assertionID - the AssertionID element.issuer - the Issuer element.issueInstant - the IssueInstant element.conditions - the Conditions object.advice - the Advice object.statements - the Statement elements.
List of statements that need to be added in assertion.inResponseTo - value of InResponseTo attribute
in the assertion.
FSMsgException - if the document element is null
or cannot be retrieved.
SAMLException - if the SAML Assertion version is
incorrect.| メソッドの詳細 |
|---|
public String getID()
id attribute.
id attribute.FSAssertion.setID(String)public void setID(String id)
id attribute.
- パラメータ:
id - value of id attribute.- 関連項目:
FSAssertion.getID()
public int getMinorVersion()
MinorVersion attribute.
AssertionBase 内の getMinorVersionMinorVersion attribute.FSAssertion.setMinorVersion(int)public void setMinorVersion(int version)
MinorVersion attribute.
AssertionBase 内の setMinorVersionversion - the MinorVersion attribute.FSAssertion.getMinorVersion()public Element getDOMElement()
public String getInResponseTo()
InResponseTo attribute.
InResponseTo attribute.FSAssertion.setInResponseTo(String)public void setInResponseTo(String inResponseTo)
InResponseTo attribute.
inResponseTo - value of InResponseTo attribute.FSAssertion.getInResponseTo()public String getSignedXMLString()
public String getSignatureString()
Signature string.
Signature string.public boolean isTimeValid()
AssertionBase 内の isTimeValidpublic boolean addStatement(Statement statement)
Statement object to the
Statment's object Set.
AssertionBase 内の addStatementstatement - the Statement object.
public String toXMLString()
throws FSMsgException
XML String representation of this object.
FSMsgException - if there is an error creating
the XML string.
public String toXMLString(boolean includeNS,
boolean declareNS)
throws FSMsgException
XML String representation of this object.
includeNS - determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS - determines whether or not the namespace is declared
within the Element.
XML for this object.
FSMsgException - if there is an error creating
the XML string.
public void signXML(String certAlias)
throws SAMLException
Assertion.
Assertion 内の signXMLcertAlias - the alias/name of the certificate.
SAMLException - if FSAssertion
cannot be signed.public boolean setSignature(Element elem)
Element's signature.
AssertionBase 内の setSignatureelem - the Element object
public void parseAdvice(Element element)
Assertion.
element - the Advice Element.public List getDiscoveryCredential()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||