|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sun.identity.saml.assertion.Statement
|
+--com.sun.identity.saml.assertion.SubjectStatement
|
+--com.sun.identity.liberty.ws.security.SessionContextStatement
The SessionContextStatement element conveys session status
of an entity to another system entity within the body of an
<saml:assertion> element.
| Field Summary | |
static int |
SESSIONCONTEXT_STATEMENT
The Statement is an Session Context Statement. |
| Fields inherited from class com.sun.identity.saml.assertion.Statement |
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT, NOT_SUPPORTED |
| Constructor Summary | |
SessionContextStatement(org.w3c.dom.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. |
|
| Method Summary | |
ProxySubject |
getProxySubject()
Gets the ProxySubject from
SessionContextStatement. |
SessionContext |
getSessionContext()
Gets the SessionContext from
SessionContextStatement. |
int |
getStatementType()
Gets the real type of the Statement. |
boolean |
setProxySubject(ProxySubject proxySubject)
Sets the ProxySubject for
SessionContextStatement. |
java.lang.String |
toString()
Create a String representation of the SessionContextStatement. |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the ResourceAccessStatement. |
| Methods inherited from class com.sun.identity.saml.assertion.SubjectStatement |
getSubject, setSubject |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SESSIONCONTEXT_STATEMENT
| Constructor Detail |
public SessionContextStatement(SessionContext sessionContext,
Subject subject)
throws SAMLException
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.
public SessionContextStatement(SessionContext sessionContext,
ProxySubject proxySubject,
Subject subject)
throws SAMLException
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.
public SessionContextStatement(org.w3c.dom.Element element)
throws SAMLException
SessionContextStatement object from a DOM
element.
element - representing a DOM tree element.
SAMLException - if there is an error in the sender or in
the element definition.| Method Detail |
public ProxySubject getProxySubject()
ProxySubject from
SessionContextStatement.
ProxySubject.public SessionContext getSessionContext()
SessionContext from
SessionContextStatement.
SessionContextpublic boolean setProxySubject(ProxySubject proxySubject)
ProxySubject for
SessionContextStatement.
proxySubject - the object to be set.
public int getStatementType()
getStatementType in class StatementSessionContextStatement
internally.public java.lang.String toString()
SessionContextStatement.
toString in class java.lang.ObjectSessionContextStatement.
element.
public java.lang.String toString(boolean includeNS,
boolean declareNS)
ResourceAccessStatement.
toString in class SubjectStatementincludeNS - 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.
<saml:ResourceAccessStatement> element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||