|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.saml.assertion.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.
Inner Class Summary | |
static class |
AuthorityBinding.AuthorityKindType
The AuthorityKindType is an inner class defining constants for
the representing the type of SAML protocol queries to which the authority
described by this element will respond. |
Constructor Summary | |
AuthorityBinding(org.w3c.dom.Element element)
Constructs an AuthorityBinding element from an existing XML
block. |
|
AuthorityBinding(int authKind,
java.lang.String location,
java.lang.String binding)
Constructor |
Method Summary | |
int |
getAuthorityKind()
Returns the AuthorityKind . |
java.lang.String |
getBinding()
Get the binding URI |
java.lang.String |
getLocation()
Get the Location URI |
java.lang.String |
toString()
Returns a String representation of the AuthorityBinding |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Returns a String representation of the AuthorityBinding |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AuthorityBinding(org.w3c.dom.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 AuthorityBinding(int authKind, java.lang.String location, java.lang.String binding) throws SAMLException
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.Method Detail |
public java.lang.String getLocation()
public java.lang.String getBinding()
public int getAuthorityKind()
AuthorityKind
.public java.lang.String toString()
AuthorityBinding
toString
in class java.lang.Object
<saml:AuthorityBinding>
element.public java.lang.String toString(boolean includeNS, boolean declareNS)
AuthorityBinding
includeNS
- Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |