com.sun.identity.saml2.protocol
インタフェース Response

すべてのスーパーインタフェース:
StatusResponse

public interface Response
extends StatusResponse

The Response message element is used when a response consists of a list of zero or more assertions that satisfy the request. It has the complex type ResponseType.

 <complexType name="ResponseType">
   <complexContent>
     <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 


メソッドの概要
 List getAssertion()
          Returns Assertion(s) of the response.
 List getEncryptedAssertion()
          Returns EncryptedAssertion(s) of the response.
 void setAssertion(List value)
          Sets Assertion(s) of the response.
 void setEncryptedAssertion(List value)
          Sets EncryptedAssertion(s) of the response.
 
インタフェース com.sun.identity.saml2.protocol.StatusResponse から継承されたメソッド
getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, sign, toXMLString, toXMLString
 

メソッドの詳細

getAssertion

List getAssertion()
Returns Assertion(s) of the response.

戻り値:
List of Assertion(s) in the response.
関連項目:
Response.setAssertion(List)

setAssertion

void setAssertion(List value)
                  throws SAML2Exception
Sets Assertion(s) of the response.

パラメータ:
value - List of new Assertion(s).
例外:
SAML2Exception - if the object is immutable.
関連項目:
Response.getAssertion()

getEncryptedAssertion

List getEncryptedAssertion()
Returns EncryptedAssertion(s) of the response.

戻り値:
List of EncryptedAssertion(s) in the response.
関連項目:
Response.setEncryptedAssertion(List)

setEncryptedAssertion

void setEncryptedAssertion(List value)
                           throws SAML2Exception
Sets EncryptedAssertion(s) of the response.

パラメータ:
value - List of new EncryptedAssertion(s).
例外:
SAML2Exception - if the object is immutable.
関連項目:
Response.getEncryptedAssertion()