public class AuthorityBinding extends AuthorityBindingType implements AuthorityBinding
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.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
authorityKind, binding, location| Constructor and Description |
|---|
AuthorityBinding(AuthorityBindingType authBinType) |
AuthorityBinding(QName authKind,
String location,
String binding)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
setAuthorityKind, setBinding, setLocationprotected static final Logger log
public AuthorityBinding(QName authKind, String location, String binding)
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.SAMLException - if there is an error in the sender or in the
element definition.public AuthorityBinding(AuthorityBindingType authBinType)
public static AuthorityBindingType fromElement(Element element) throws SAMLException
AuthorityBinding element from an existing XML
block.element - representing a DOM tree element.SAMLException - if there is an error in the sender or in the
element definition.public QName getAuthorityKind()
AuthorityBindingTypegetAuthorityKind in interface AuthorityBindinggetAuthorityKind in class AuthorityBindingTypeQNamepublic String getBinding()
AuthorityBindingTypegetBinding in interface AuthorityBindinggetBinding in class AuthorityBindingTypeStringpublic String getLocation()
AuthorityBindingTypegetLocation in interface AuthorityBindinggetLocation in class AuthorityBindingTypeStringCopyright © 2005–2018 Oracle Corporation. All rights reserved.