com.sun.identity.liberty.ws.security
クラス SessionContextStatement

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.Statement
      上位を拡張 com.sun.identity.saml.assertion.SubjectStatement
          上位を拡張 com.sun.identity.liberty.ws.security.SessionContextStatement

public class SessionContextStatement
extends SubjectStatement

The SessionContextStatement element conveys session status of an entity to another system entity within the body of an <saml:assertion> element.


フィールドの概要
protected  ProxySubject _proxySubject
           
protected  SessionContext _sessionContext
           
static int SESSIONCONTEXT_STATEMENT
          The Statement is an Session Context Statement.
 
クラス com.sun.identity.saml.assertion.SubjectStatement から継承されたフィールド
_subject
 
クラス com.sun.identity.saml.assertion.Statement から継承されたフィールド
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT, NOT_SUPPORTED
 
コンストラクタの概要
SessionContextStatement(Element element)
          Constructs a SessionContextStatement object from a DOM element.
SessionContextStatement(SessionContext sessionContext, ProxySubject proxySubject, Subject subject)
          Constructs a SessionContextStatement object from a SessionContext object, a proxySubject and a Subject object.
SessionContextStatement(SessionContext sessionContext, Subject subject)
          Constructs a SessionContextStatement object from a SessionContext object and a Subject object.
 
メソッドの概要
 ProxySubject getProxySubject()
          Return the ProxySubject in the SessionContextStatement.
 SessionContext getSessionContext()
          Returns the SessionContext in the SessionContextStatement.
 int getStatementType()
          Returns the real type of the Statement.
 boolean setProxySubject(ProxySubject proxySubject)
          Sets the ProxySubject for SessionContextStatement.
 String toString()
          Returns a String representation of SessionContextStatement.
 String toString(boolean includeNS, boolean declareNS)
          Returns a String representation of the ResourceAccessStatement.
 
クラス com.sun.identity.saml.assertion.SubjectStatement から継承されたメソッド
getSubject, setSubject
 

フィールドの詳細

SESSIONCONTEXT_STATEMENT

public static final int SESSIONCONTEXT_STATEMENT
The Statement is an Session Context Statement.

関連項目:
定数フィールド値

_proxySubject

protected ProxySubject _proxySubject

_sessionContext

protected SessionContext _sessionContext
コンストラクタの詳細

SessionContextStatement

public SessionContextStatement(SessionContext sessionContext,
                               Subject subject)
                        throws SAMLException
Constructs a SessionContextStatement object from a SessionContext object and a Subject object.

パラメータ:
sessionContext - SessionContext object.
subject - Subject object.
例外:
SAMLException - if sessionContext is null or subject is null.

SessionContextStatement

public SessionContextStatement(SessionContext sessionContext,
                               ProxySubject proxySubject,
                               Subject subject)
                        throws SAMLException
Constructs a SessionContextStatement object from a SessionContext object, a proxySubject and a Subject object.

パラメータ:
sessionContext - SessionContext object.
proxySubject - ProxySubject object.
subject - Subject object.
例外:
SAMLException - if sessionContext is null or subject is null.

SessionContextStatement

public SessionContextStatement(Element element)
                        throws SAMLException
Constructs a SessionContextStatement object from a DOM element.

パラメータ:
element - the Document Element
例外:
SAMLException - if there is an error in the sender or in the element definition.
メソッドの詳細

getProxySubject

public ProxySubject getProxySubject()
Return the ProxySubject in the SessionContextStatement.

戻り値:
ProxySubject.

getSessionContext

public SessionContext getSessionContext()
Returns the SessionContext in the SessionContextStatement.

戻り値:
SessionContext

setProxySubject

public boolean setProxySubject(ProxySubject proxySubject)
Sets the ProxySubject for SessionContextStatement.

パラメータ:
proxySubject - the object to be set.
戻り値:
true if the operation is successful.

getStatementType

public int getStatementType()
Returns the real type of the Statement.

定義:
クラス Statement 内の getStatementType
戻り値:
An integer which represents SessionContextStatement internally.

toString

public String toString()
Returns a String representation of SessionContextStatement.

オーバーライド:
クラス Object 内の toString
戻り値:
String representation of the SessionContextStatement. object.

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Returns a String representation of the ResourceAccessStatement.

定義:
クラス SubjectStatement 内の toString
パラメータ:
includeNS - Determines whether or not the namespace qualifier is prepended to the Element when converted.
declareNS - Determines whether or not the namespace is declared within the Element.
戻り値:
String representation of the <saml:ResourceAccessStatement> element.