|
||||||||||
| 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 Logger |
log
|
| Fields inherited from class com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl |
|---|
delegateElement |
| Constructor Summary | |
|---|---|
SecurityTokenReference()
Creates an "empty" SecurityTokenReference element |
|
SecurityTokenReference(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)
|
List |
getAny()
Gets the value of the any property. |
ReferenceElement |
getReference()
|
Element |
getSamlAuthorityBinding()
|
String |
getTokenType()
|
Object |
getTokenValue()
The token Value |
String |
getType()
The type of the Token |
void |
setId(String value)
Sets the value of the id property. |
void |
setReference(ReferenceElement referenceElement)
|
void |
setSamlAuthorityBinding(Element binding,
Document doc)
|
void |
setTokenType(String tokenType)
|
void |
setWsuId(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 Logger log
| Constructor Detail |
|---|
public SecurityTokenReference()
throws XWSSecurityException
XWSSecurityException
public SecurityTokenReference(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(Element binding,
Document doc)
throws XWSSecurityException
XWSSecurityExceptionpublic Element getSamlAuthorityBinding()
public void setReference(ReferenceElement referenceElement)
throws XWSSecurityException
XWSSecurityExceptionpublic void setWsuId(String wsuId)
public void setTokenType(String tokenType)
public String getTokenType()
public static SecurityHeaderBlock fromSoapElement(SOAPElement element)
throws XWSSecurityException
XWSSecurityExceptionpublic List getAny()
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(String value)
SecurityTokenReference
setId in interface SecurityTokenReferencevalue - allowed object is
Stringpublic String getType()
Token
getType in interface Tokenpublic Object getTokenValue()
Token
getTokenValue in interface Token
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||