Package com.sun.identity.saml2.protocol
Interface SessionIndex
-
- All Known Implementing Classes:
SessionIndexImpl
public interface SessionIndexThis class represents theSessionIndexelement in SAML protocol schema. TheSessionIndexelement specifies a session index value of a authenticated principal.<element name="SessionIndex" type="{http://www.w3.org/2001/XMLSchema}string"/>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetValue()Returns theSessionIndexvalue.StringtoXMLString()Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.
-
-
-
Method Detail
-
getValue
String getValue()
Returns theSessionIndexvalue.- Returns:
- A String value of the
SessionIndex
-
toXMLString
String toXMLString() throws SAML2Exception
Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.- Returns:
- A XML String representing the
SessionIndex. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.- Parameters:
includeNSPrefix- 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.- Returns:
- A XML String representing the
SessionIndex. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
-