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, buildObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
buildObjectin interfaceWSSecurityObjectBuilder<UsernameToken>- Specified by:
buildObjectin classAbstractWSSecurityObjectBuilder<UsernameToken>- Returns:
- the built object
-
buildObject
@Nonnull public UsernameToken buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix) Creates an XMLObject with a given fully qualified name.- Specified by:
buildObjectin interfaceXMLObjectBuilder<UsernameToken>- Specified by:
buildObjectin 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
-