public class WsseSecurityHeaderBuilder extends Object implements SOAPHeaderBuilder
WSDL Invoker.| Constructor and Description |
|---|
WsseSecurityHeaderBuilder(String username,
String password)
Constructs a
WSSE Security Header
Builder to use with the WSDL Invoker. |
| Modifier and Type | Method and Description |
|---|---|
void |
build(SOAPHeader header,
WSDLInvocation wsdlInvocation) |
String |
getPassword()
Gets the password.
|
String |
getUsername()
Gets the user name.
|
public WsseSecurityHeaderBuilder(String username, String password)
WSSE Security Header
Builder to use with the WSDL Invoker.username - The user name. Cannot be null or empty.password - The password. Cannot be null or empty.public String getUsername()
public String getPassword()
public void build(SOAPHeader header, WSDLInvocation wsdlInvocation) throws SOAPHeaderException
build in interface SOAPHeaderBuilderSOAPHeaderExceptionCopyright © 2015. All rights reserved.