|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.impl.misc.SOAPElementExtension
com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
com.sun.xml.wss.core.SecurityTokenReference
public class SecurityTokenReference
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Fields inherited from class com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl |
|---|
delegateElement |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
SecurityTokenReference()
Creates an "empty" SecurityTokenReference element |
|
SecurityTokenReference(org.w3c.dom.Document doc)
Creates an "empty" SecurityTokenReference element whose owner document is doc |
|
SecurityTokenReference(SOAPElement element)
|
|
SecurityTokenReference(SOAPElement element,
boolean isBSP)
Takes a SOAPElement which has the required structure of a SecurityTokenReference (including the reference element). |
|
| Method Summary | |
|---|---|
static SecurityHeaderBlock |
fromSoapElement(SOAPElement element)
|
java.util.List |
getAny()
Gets the value of the any property. |
ReferenceElement |
getReference()
|
org.w3c.dom.Element |
getSamlAuthorityBinding()
|
java.lang.String |
getTokenType()
|
java.lang.Object |
getTokenValue()
The token Value |
java.lang.String |
getType()
The type of the Token |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setReference(ReferenceElement referenceElement)
|
void |
setSamlAuthorityBinding(org.w3c.dom.Element binding,
org.w3c.dom.Document doc)
|
void |
setTokenType(java.lang.String tokenType)
|
void |
setWsuId(java.lang.String wsuId)
|
| Methods inherited from class com.sun.xml.wss.impl.misc.SOAPElementExtension |
|---|
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.xml.ws.security.SecurityTokenReference |
|---|
getId |
| Methods inherited from interface javax.xml.soap.SOAPElement |
|---|
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
| Constructor Detail |
|---|
public SecurityTokenReference()
throws XWSSecurityException
XWSSecurityException
public SecurityTokenReference(org.w3c.dom.Document doc)
throws XWSSecurityException
XWSSecurityException
public SecurityTokenReference(SOAPElement element,
boolean isBSP)
throws XWSSecurityException
XWSSecurityException
public SecurityTokenReference(SOAPElement element)
throws XWSSecurityException
XWSSecurityException| Method Detail |
|---|
public ReferenceElement getReference()
public void setSamlAuthorityBinding(org.w3c.dom.Element binding,
org.w3c.dom.Document doc)
throws XWSSecurityException
XWSSecurityExceptionpublic org.w3c.dom.Element getSamlAuthorityBinding()
public void setReference(ReferenceElement referenceElement)
throws XWSSecurityException
XWSSecurityExceptionpublic void setWsuId(java.lang.String wsuId)
public void setTokenType(java.lang.String tokenType)
public java.lang.String getTokenType()
public static SecurityHeaderBlock fromSoapElement(SOAPElement element)
throws XWSSecurityException
XWSSecurityExceptionpublic java.util.List getAny()
com.sun.xml.ws.security.SecurityTokenReference
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Element
Object
getAny in interface SecurityTokenReferencepublic void setId(java.lang.String value)
com.sun.xml.ws.security.SecurityTokenReference
setId in interface SecurityTokenReferencevalue - allowed object is
Stringpublic java.lang.String getType()
com.sun.xml.ws.security.Token
getType in interface Tokenpublic java.lang.Object getTokenValue()
com.sun.xml.ws.security.Token
getTokenValue in interface Token
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||