Class AuthorityBinding
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorityBindingType
-
- com.sun.xml.wss.saml.assertion.saml11.jaxb20.AuthorityBinding
-
- All Implemented Interfaces:
AuthorityBinding
public class AuthorityBinding extends AuthorityBindingType implements AuthorityBinding
TheAuthorityBindingelement may be used to indicate to a replying party receiving anAuthenticationStatementthat 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
Fields Modifier and Type Field Description protected static Loggerlog-
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorityBindingType
authorityKind, binding, location
-
-
Constructor Summary
Constructors Constructor Description AuthorityBinding(AuthorityBindingType authBinType)AuthorityBinding(QName authKind, String location, String binding)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthorityBindingTypefromElement(Element element)Constructs anAuthorityBindingelement from an existing XML block.QNamegetAuthorityKind()Gets the value of the authorityKind property.StringgetBinding()Gets the value of the binding property.StringgetLocation()Gets the value of the location property.-
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.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(AuthorityBindingType authBinType)
-
-
Method Detail
-
fromElement
public static AuthorityBindingType fromElement(Element element) throws SAMLException
Constructs anAuthorityBindingelement 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:AuthorityBindingTypeGets the value of the authorityKind property.- Specified by:
getAuthorityKindin interfaceAuthorityBinding- Overrides:
getAuthorityKindin classAuthorityBindingType- Returns:
- possible object is
QName
-
getBinding
public String getBinding()
Description copied from class:AuthorityBindingTypeGets the value of the binding property.- Specified by:
getBindingin interfaceAuthorityBinding- Overrides:
getBindingin classAuthorityBindingType- Returns:
- possible object is
String
-
getLocation
public String getLocation()
Description copied from class:AuthorityBindingTypeGets the value of the location property.- Specified by:
getLocationin interfaceAuthorityBinding- Overrides:
getLocationin classAuthorityBindingType- Returns:
- possible object is
String
-
-