| com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl com.sun.xml.wss.core.UsernameToken
Constructor Summary | |
public | UsernameToken(Document document, String username) | public | UsernameToken(Document document, String username, String password, boolean digestPassword) | public | UsernameToken(Document document, String username, String password) | public | UsernameToken(Document document, String username, String password, boolean setNonce, boolean digestPassword) C'tor that creates the optional element nonce, created is not set. | public | UsernameToken(Document document, String username, String password, boolean setNonce, boolean setCreatedTimestamp, boolean digestPassword) C'tor that creates the optional elements of nonce and created. | public | UsernameToken(SOAPElement usernameTokenSoapElement, boolean bspFlag) | public | UsernameToken(SOAPElement usernameTokenSoapElement) |
MAX_NONCE_AGE | final public static long MAX_NONCE_AGE(Code) | | |
UsernameToken | public UsernameToken(Document document, String username, String password, boolean setNonce, boolean setCreatedTimestamp, boolean digestPassword) throws SecurityTokenException(Code) | | C'tor that creates the optional elements of nonce and created.
|
UsernameToken | public UsernameToken(SOAPElement usernameTokenSoapElement) throws XWSSecurityException(Code) | | Extracts info from SOAPElement representation
Parameters: usernameTokenSoapElement - |
getCreated | public String getCreated()(Code) | | Returns the created which may be null meaning no time of creation.
|
getNonceEncodingType | public String getNonceEncodingType()(Code) | | Returns the Nonce Encoding type. |
getPassword | public String getPassword()(Code) | | Returns the password which may be null meaning no password. |
getPasswordType | public String getPasswordType()(Code) | | Returns the passwordType. |
getUsername | public String getUsername()(Code) | | Returns the username. |
isBSP | public void isBSP(boolean flag)(Code) | | |
isBSP | public boolean isBSP()(Code) | | |
setCreationTime | public void setCreationTime(String time) throws XWSSecurityException(Code) | | set the creation time.
Parameters: time - If null or empty then this method would create one. |
setNonce | public void setNonce(String nonceValue)(Code) | | set the nonce value.If nonce value is null then it will create one.
Parameters: nonceValue - |
setPassword | public void setPassword(String passwd)(Code) | | Sets the password.
Parameters: passwd - |
Methods inherited from com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl | public SOAPElement addAttribute(Name arg0, String arg1) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(String arg0) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(String arg0, String arg1) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(String arg0, String arg1, String arg2) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(Name arg0) throws SOAPException(Code)(Java Doc) public SOAPElement addChildElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc) public SOAPElement addNamespaceDeclaration(String arg0, String arg1) throws SOAPException(Code)(Java Doc) public SOAPElement addTextNode(String arg0) throws SOAPException(Code)(Java Doc) public Node appendChild(Node arg0) throws DOMException(Code)(Java Doc) public Node cloneNode(boolean arg0)(Code)(Java Doc) public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException(Code)(Java Doc) public void detachNode()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public static SecurityHeaderBlock fromSoapElement(SOAPElement element, Class implClass) throws XWSSecurityException(Code)(Java Doc) public Iterator getAllAttributes()(Code)(Java Doc) public Iterator getAllAttributesAsQNames()(Code)(Java Doc) public SOAPElement getAsSoapElement() throws XWSSecurityException(Code)(Java Doc) public String getAttribute(String arg0)(Code)(Java Doc) public String getAttributeNS(String arg0, String arg1)(Code)(Java Doc) public Attr getAttributeNode(String arg0)(Code)(Java Doc) public Attr getAttributeNodeNS(String arg0, String arg1)(Code)(Java Doc) public String getAttributeValue(Name arg0)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public Iterator getChildElements()(Code)(Java Doc) public Iterator getChildElements(Name arg0)(Code)(Java Doc) public NodeList getChildNodes()(Code)(Java Doc) public Name getElementName()(Code)(Java Doc) public NodeList getElementsByTagName(String arg0)(Code)(Java Doc) public NodeList getElementsByTagNameNS(String arg0, String arg1)(Code)(Java Doc) public String getEncodingStyle()(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public Node getFirstChild()(Code)(Java Doc) public String getId()(Code)(Java Doc) public Node getLastChild()(Code)(Java Doc) public String getLocalName()(Code)(Java Doc) public Iterator getNamespacePrefixes()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public String getNamespaceURI(String arg0)(Code)(Java Doc) public Node getNextSibling()(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) public short getNodeType()(Code)(Java Doc) public String getNodeValue() throws DOMException(Code)(Java Doc) public Document getOwnerDocument()(Code)(Java Doc) public SOAPElement getParentElement()(Code)(Java Doc) public Node getParentNode()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) public Node getPreviousSibling()(Code)(Java Doc) public TypeInfo getSchemaTypeInfo()(Code)(Java Doc) protected static SOAPFactory getSoapFactory()(Code)(Java Doc) public String getTagName()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) public Object getUserData(String key)(Code)(Java Doc) public String getValue()(Code)(Java Doc) public Iterator getVisibleNamespacePrefixes()(Code)(Java Doc) public boolean hasAttribute(String arg0)(Code)(Java Doc) public boolean hasAttributeNS(String arg0, String arg1)(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean hasChildNodes()(Code)(Java Doc) public Node insertBefore(Node arg0, Node arg1) throws DOMException(Code)(Java Doc) public void isBSP(boolean flag)(Code)(Java Doc) public boolean isBSP()(Code)(Java Doc) public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc) public boolean isEqualNode(org.w3c.dom.Node arg)(Code)(Java Doc) public boolean isSameNode(org.w3c.dom.Node other)(Code)(Java Doc) public boolean isSupported(String arg0, String arg1)(Code)(Java Doc) public String lookupNamespaceURI(String prefix)(Code)(Java Doc) public String lookupPrefix(String namespaceURI)(Code)(Java Doc) public void normalize()(Code)(Java Doc) public void recycleNode()(Code)(Java Doc) public void removeAttribute(String arg0) throws DOMException(Code)(Java Doc) public boolean removeAttribute(Name arg0)(Code)(Java Doc) public void removeAttributeNS(String arg0, String arg1) throws DOMException(Code)(Java Doc) public Attr removeAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc) public Node removeChild(Node arg0) throws DOMException(Code)(Java Doc) public void removeContents()(Code)(Java Doc) public boolean removeNamespaceDeclaration(String arg0)(Code)(Java Doc) public Node replaceChild(Node arg0, Node arg1) throws DOMException(Code)(Java Doc) public void setAttribute(String arg0, String arg1) throws DOMException(Code)(Java Doc) public void setAttributeNS(String arg0, String arg1, String arg2) throws DOMException(Code)(Java Doc) public Attr setAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc) public Attr setAttributeNodeNS(Attr arg0) throws DOMException(Code)(Java Doc) public void setEncodingStyle(String arg0) throws SOAPException(Code)(Java Doc) public void setIdAttribute(String name, boolean isId) throws DOMException(Code)(Java Doc) public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException(Code)(Java Doc) public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException(Code)(Java Doc) public void setNodeValue(String arg0) throws DOMException(Code)(Java Doc) public void setParentElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc) public void setPrefix(String arg0) throws DOMException(Code)(Java Doc) protected void setSOAPElement(SOAPElement delegateElement)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc) public void setValue(String arg0)(Code)(Java Doc) protected void setWsuIdAttr(Element element, String wsuId)(Code)(Java Doc)
|
|
|