|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.federation.message.common.AuthnContext
public class AuthnContext
This class AuthnContext
represents an Authentication Context
for the authenticated user with a requested authn context.
Field Summary | |
---|---|
protected String |
authnContextClassRef
|
protected String |
authnContextStatementRef
|
protected int |
minorVersion
|
Constructor Summary | |
---|---|
AuthnContext()
Default constructor |
|
AuthnContext(Element root)
Constructor creates AuthnContext object
from the Document Element. |
|
AuthnContext(String authnContextClassRef,
String authnContextStatementRef)
Constructor creates AuthnContext object. |
Method Summary | |
---|---|
String |
getAuthnContextClassRef()
Returns the AuthnContext Class Reference URI. |
String |
getAuthnContextStatementRef()
Returns the AuthnContext Statement Reference URI. |
int |
getMinorVersion()
Returns the MinorVersion attribute. |
void |
setAuthnContextClassRef(String authnContextClassRef)
Sets the AuthnContext Class Reference URI. |
void |
setAuthnContextStatementRef(String authnContextStatementRef)
Sets AuthnContext Statement Reference URI. |
void |
setMinorVersion(int version)
Sets the MinorVersion . |
String |
toXMLString()
Returns the string representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Returns a String representation of this object. |
Field Detail |
---|
protected String authnContextClassRef
protected String authnContextStatementRef
protected int minorVersion
Constructor Detail |
---|
public AuthnContext()
public AuthnContext(String authnContextClassRef, String authnContextStatementRef)
AuthnContext
object.
authnContextClassRef
- Authentication Context Class Reference URIauthnContextStatementRef
- Authentication Context
Statement Reference URIpublic AuthnContext(Element root) throws FSMsgException
AuthnContext
object
from the Document Element.
root
- the Document Element.
FSMsgException
- on error.Method Detail |
---|
public String getAuthnContextClassRef()
AuthnContext.setAuthnContextClassRef(java.lang.String)
public void setAuthnContextClassRef(String authnContextClassRef)
authnContextClassRef
- AuthnContext Class Ref URI.AuthnContext.getAuthnContextClassRef()
public String getAuthnContextStatementRef()
AuthnContext.setAuthnContextStatementRef(java.lang.String)
public void setAuthnContextStatementRef(String authnContextStatementRef)
authnContextStatementRef
- AuthnContext Statement Ref URI.AuthnContext.getAuthnContextStatementRef()
public int getMinorVersion()
MinorVersion
attribute.
AuthnContext.setMinorVersion(int)
public void setMinorVersion(int version)
MinorVersion
.
version
- the minor version in the assertion.AuthnContext.setMinorVersion(int)
public String toXMLString() throws FSMsgException
FSMsgException
public 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 there is an error converting
this object ot a string.public 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 there is an error converting
this object ot a string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |