|
|||||||||
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
public class SessionContextStatement
The SessionContextStatement
element conveys session status
of an entity to another system entity within the body of an
<saml:assertion>
element.
Field Summary | |
---|---|
protected ProxySubject |
_proxySubject
|
protected SessionContext |
_sessionContext
|
static int |
SESSIONCONTEXT_STATEMENT
The Statement is an Session Context Statement. |
Fields inherited from class com.sun.identity.saml.assertion.SubjectStatement |
---|
_subject |
Fields inherited from class com.sun.identity.saml.assertion.Statement |
---|
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT, NOT_SUPPORTED |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class com.sun.identity.saml.assertion.SubjectStatement |
---|
getSubject, setSubject |
Field Detail |
---|
public static final int SESSIONCONTEXT_STATEMENT
protected ProxySubject _proxySubject
protected SessionContext _sessionContext
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(Element element) throws SAMLException
SessionContextStatement
object from a DOM
element.
element
- the Document Element
SAMLException
- if there is an error in the sender or in
the element definition.Method Detail |
---|
public ProxySubject getProxySubject()
ProxySubject
in the
SessionContextStatement
.
ProxySubject
.public SessionContext getSessionContext()
SessionContext
in the
SessionContextStatement
.
SessionContext
public boolean setProxySubject(ProxySubject proxySubject)
ProxySubject
for
SessionContextStatement
.
proxySubject
- the object to be set.
public int getStatementType()
getStatementType
in class Statement
SessionContextStatement
internally.public String toString()
SessionContextStatement
.
toString
in class Object
SessionContextStatement
.
object.public String toString(boolean includeNS, boolean declareNS)
ResourceAccessStatement
.
toString
in class SubjectStatement
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.
<saml:ResourceAccessStatement>
element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |