|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.identity.federation.message.common.AuthnContext
This class AuthnContext represents an Authentication Context
for the authenticated user with a requested authn context. Currently,
there is no authentication statement included, however, eventually, we
need to provider a plugin for adding an AuthnContextStatement.
| Constructor Summary | |
AuthnContext()
Default constructor |
|
AuthnContext(org.w3c.dom.Element root)
Constructor which parses the dom element. |
|
AuthnContext(java.lang.String authnContextClassRef,
java.lang.String authnContextStatementRef)
Constructor |
|
| Method Summary | |
java.lang.String |
getAuthnContextClassRef()
Gets AuthnContext Class Reference URI |
java.lang.String |
getAuthnContextStatementRef()
Gets AuthnContext Statement Reference URI. |
int |
getMinorVersion()
Gets minor version |
void |
setAuthnContextClassRef(java.lang.String authnContextClassRef)
Sets AuthnContext Class Reference URI. |
void |
setAuthnContextStatementRef(java.lang.String authnContextStatementRef)
Sets AuthnContext Statement Reference URI. |
void |
setMinorVersion(int version)
Sets Minor Version |
java.lang.String |
toXMLString()
Converts into an XML String. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Converts into an XML String. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Converts into an XML String. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthnContext(java.lang.String authnContextClassRef,
java.lang.String authnContextStatementRef)
authnContextClassRef - Authentication Context Class Reference URIauthnContextStatementRef - Authentication Context
Statement Reference URIpublic AuthnContext()
public AuthnContext(org.w3c.dom.Element root)
throws FSMsgException
root - AuthnContext DOM Element.
FSMsgException - for parsing failures.| Method Detail |
public java.lang.String getAuthnContextClassRef()
public void setAuthnContextClassRef(java.lang.String authnContextClassRef)
authnContextClassRef - AuthnContext Class Ref URI.public java.lang.String getAuthnContextStatementRef()
public void setAuthnContextStatementRef(java.lang.String authnContextStatementRef)
authnContextStatementRef - AuthnContext Statement Ref URI.public int getMinorVersion()
public void setMinorVersion(int version)
version - minor version to be set
public java.lang.String toXMLString()
throws FSMsgException
FSMsgException - if unable to get the XML string
public java.lang.String toXMLString(boolean includeNS,
boolean declareNS)
throws FSMsgException
includeNS - 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.
FSMsgException - if unable to get the XML string
public java.lang.String toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
throws FSMsgException
includeNS - 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.includeHeader - Determines whether the output include the xml
declaration header.
FSMsgException - if unable to get the XML string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||