public class PMClientAuthenticator
extends java.lang.Object
When authentication is required for a PMClient operation, the client calls the static method getPasswordAuthentication() to obtain a PasswordAuthentication object. The PasswordAuthentication object contains a userName and password the WebSphere Commerce PMClient instance could use to issue commands to WebSphere Commerce Payments.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
Constructor and Description |
---|
PMClientAuthenticator()
PMClientAuthenticator default constructor.
|
Modifier and Type | Method and Description |
---|---|
static void | clearPassword(java.net.PasswordAuthentication authentication)
Clears the password field of the PasswordAuthentication object.
|
static java.net.PasswordAuthentication | getPasswordAuthentication()
Returns the PasswordAuthentication object with the user name and password that a WebSphere Commerce PMClient instance could use when issuing commands to WebSphere Commerce Payments.
|
public PMClientAuthenticator()
public static void clearPassword(java.net.PasswordAuthentication authentication)
public static java.net.PasswordAuthentication getPasswordAuthentication() throws ECException