Class UsernameTokenBuilder
java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<WSSecurityObjectType>
org.opensaml.soap.wssecurity.impl.AbstractWSSecurityObjectBuilder<UsernameToken>
org.opensaml.soap.wssecurity.impl.UsernameTokenBuilder
- All Implemented Interfaces:
XMLObjectBuilder<UsernameToken>
,WSSecurityObjectBuilder<UsernameToken>
UsernameTokenBuilder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds a WS-Security object of the given type.buildObject
(String namespaceURI, String localName, String namespacePrefix) Creates an XMLObject with a given fully qualified name.Methods inherited from class org.opensaml.core.xml.AbstractXMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
-
Constructor Details
-
UsernameTokenBuilder
public UsernameTokenBuilder()
-
-
Method Details
-
buildObject
Builds a WS-Security object of the given type.- Specified by:
buildObject
in interfaceWSSecurityObjectBuilder<UsernameToken>
- Specified by:
buildObject
in classAbstractWSSecurityObjectBuilder<UsernameToken>
- Returns:
- the built object
-
buildObject
Creates an XMLObject with a given fully qualified name.- Specified by:
buildObject
in interfaceXMLObjectBuilder<UsernameToken>
- Specified by:
buildObject
in classAbstractXMLObjectBuilder<UsernameToken>
- Parameters:
namespaceURI
- the URI of the namespace the Element represented by this XMLObject will be inlocalName
- the local name of the Element represented by this XMLObjectnamespacePrefix
- the namespace prefix of the Element represented by this XMLObject- Returns:
- the constructed XMLObject
-