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

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl
          extended by com.sun.xml.wss.saml.assertion.saml11.jaxb10.AuthorityBinding
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBinding, com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingType, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable, Element

public class AuthorityBinding
extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl
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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl
com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl.Unmarshaller
 
Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl
version
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl
_AuthorityKind, _Binding, _Location
 
Constructor Summary
AuthorityBinding(com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingType authBinType)
           
AuthorityBinding(QName authKind, String location, String binding)
          Constructor
 
Method Summary
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl 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.jaxb10.impl.AuthorityBindingImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl
setAuthorityKind, setBinding, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingType
setAuthorityKind, setBinding, setLocation
 

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(com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingType authBinType)
Method Detail

fromElement

public static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl 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 interface: AuthorityBinding
Gets the value of the authorityKind property.

Specified by:
getAuthorityKind in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingType
Overrides:
getAuthorityKind in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl
Returns:
object is QName

getBinding

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

Specified by:
getBinding in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingType
Overrides:
getBinding in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl
Returns:
object is String

getLocation

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

Specified by:
getLocation in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingType
Overrides:
getLocation in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl
Returns:
object is String


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