org.opensaml.saml2.core
Interface AuthnContext

All Superinterfaces:
SAMLObject, ValidatingXMLObject, XMLObject
All Known Implementing Classes:
AuthnContextImpl

public interface AuthnContext
extends SAMLObject

SAML 2.0 Core AuthnContext.


Field Summary
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Local Name of AuthnContext.
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name.
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type.
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type.
 
Method Summary
 AuthnContextDecl getAuthContextDecl()
          Gets Declaration of this Authentication Context.
 java.util.List<AuthenticatingAuthority> getAuthenticatingAuthorities()
          Gets the Authenticating Athorities of this Authentication Context.
 AuthnContextClassRef getAuthnContextClassRef()
          Gets the URI identifying the Context Class of this Authentication Context.
 AuthnContextDeclRef getAuthnContextDeclRef()
          Gets the URI of the Declaration of this Authentication Context.
 void setAuthnContextClassRef(AuthnContextClassRef newAuthnContextClassRef)
          Sets the URI identifying the Context Class of this Authentication Context.
 void setAuthnContextDecl(AuthnContextDecl newAuthnContextDecl)
          Sets the Declaration of this Authentication Context.
 void setAuthnContextDeclRef(AuthnContextDeclRef newAuthnContextDeclRef)
          Sets the URI of the Declaration of this Authentication Context.
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Local Name of AuthnContext.

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name.


TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type.

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type.

Method Detail

getAuthnContextClassRef

AuthnContextClassRef getAuthnContextClassRef()
Gets the URI identifying the Context Class of this Authentication Context.

Returns:
AuthnContext AuthnContextClassRef

setAuthnContextClassRef

void setAuthnContextClassRef(AuthnContextClassRef newAuthnContextClassRef)
Sets the URI identifying the Context Class of this Authentication Context.

Parameters:
newAuthnContextClassRef - the URI of this Authentication Context's Class.

getAuthContextDecl

AuthnContextDecl getAuthContextDecl()
Gets Declaration of this Authentication Context.

Returns:
AuthnContext AuthnContextDecl

setAuthnContextDecl

void setAuthnContextDecl(AuthnContextDecl newAuthnContextDecl)
Sets the Declaration of this Authentication Context.

Parameters:
newAuthnContextDecl - the Declaration of this Authentication Context

getAuthnContextDeclRef

AuthnContextDeclRef getAuthnContextDeclRef()
Gets the URI of the Declaration of this Authentication Context.

Returns:
AuthnContext AuthnContextDeclRef

setAuthnContextDeclRef

void setAuthnContextDeclRef(AuthnContextDeclRef newAuthnContextDeclRef)
Sets the URI of the Declaration of this Authentication Context.

Parameters:
newAuthnContextDeclRef - the URI of the Declaration of this Authentication Context

getAuthenticatingAuthorities

java.util.List<AuthenticatingAuthority> getAuthenticatingAuthorities()
Gets the Authenticating Athorities of this Authentication Context.

Returns:
AuthnContext AuthenticatingAuthorities