com.sun.xml.wss.saml.assertion.saml20.jaxb20
Class AuthnContext
java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.AuthnContextType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.AuthnContext
- All Implemented Interfaces:
- AuthnContext
public class AuthnContext
- extends AuthnContextType
- implements AuthnContext
The AuthnContext element may be used to indicate
to a replying party receiving an AuthenticationStatement that
a SAML authority may be available to provide additional information about
the subject of the statement. A single SAML authority may advertise its
presence over multiple protocol binding, at multiple locations, and as
more than one kind of authority by sending multiple elements as needed.
|
Field Summary |
protected static java.util.logging.Logger |
log
|
|
Constructor Summary |
AuthnContext()
Constructor |
AuthnContext(java.lang.String authContextClassref,
java.lang.String authenticatingAuthority)
|
|
Method Summary |
static AuthnContextType |
fromElement(org.w3c.dom.Element element)
Constructs an AuthnContext element from an existing XML
block. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
AuthnContext
public AuthnContext()
- Constructor
- Parameters:
authKind - A integer representing the type of SAML protocol queries
to which the authority described by this element will
respond. If you do NO specify this attribute, pass in
value "-1".location - A URI describing how to locate and communicate with the
authority, the exact syntax of which depends on the
protocol binding in use.binding - A String representing a URI reference identifying the SAML
protocol binding to use in communicating with the authority.
- Throws:
SAMLException - if there is an error in the sender or in the
element definition.
AuthnContext
public AuthnContext(java.lang.String authContextClassref,
java.lang.String authenticatingAuthority)
fromElement
public static AuthnContextType fromElement(org.w3c.dom.Element element)
throws SAMLException
- Constructs an
AuthnContext element from an existing XML
block.
- Parameters:
element - representing a DOM tree element.
- Throws:
SAMLException - if there is an error in the sender or in the
element definition.
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.