com.sun.xml.wss.saml.assertion.saml11.jaxb20
Class AuthorityBinding

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorityBindingType
      extended by com.sun.xml.wss.saml.assertion.saml11.jaxb20.AuthorityBinding
All Implemented Interfaces:
AuthorityBinding

public class AuthorityBinding
extends AuthorityBindingType
implements AuthorityBinding

The AuthorityBinding 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 Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorityBindingType
authorityKind, binding, location
 
Constructor Summary
AuthorityBinding(AuthorityBindingType authBinType)
           
AuthorityBinding(QName authKind, String location, String binding)
          Constructor
 
Method Summary
static AuthorityBindingType fromElement(Element element)
          Constructs an AuthorityBinding element from an existing XML block.
 QName getAuthorityKind()
          Gets the value of the authorityKind property.
 String getBinding()
          Gets the value of the binding property.
 String getLocation()
          Gets the value of the location property.
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorityBindingType
setAuthorityKind, setBinding, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

AuthorityBinding

public AuthorityBinding(QName authKind,
                        String location,
                        String binding)
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.

AuthorityBinding

public AuthorityBinding(AuthorityBindingType authBinType)
Method Detail

fromElement

public static AuthorityBindingType fromElement(Element element)
                                        throws SAMLException
Constructs an AuthorityBinding 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.

getAuthorityKind

public QName getAuthorityKind()
Description copied from class: AuthorityBindingType
Gets the value of the authorityKind property.

Specified by:
getAuthorityKind in interface AuthorityBinding
Overrides:
getAuthorityKind in class AuthorityBindingType
Returns:
possible object is QName

getBinding

public String getBinding()
Description copied from class: AuthorityBindingType
Gets the value of the binding property.

Specified by:
getBinding in interface AuthorityBinding
Overrides:
getBinding in class AuthorityBindingType
Returns:
possible object is String

getLocation

public String getLocation()
Description copied from class: AuthorityBindingType
Gets the value of the location property.

Specified by:
getLocation in interface AuthorityBinding
Overrides:
getLocation in class AuthorityBindingType
Returns:
possible object is String


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.