java.lang.Objectcom.ibm.commerce.payment.utils.PMClientAuthenticator
The class PMClientAuthenticator represents an object that knows how to obtain authentication for a PMClient to use with operations against WebSphere Commerce Payments.
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.
Field Summary | |
static java.lang.String | CLASSNAME The name of this class. |
Constructor Summary | |
PMClientAuthenticator() PMClientAuthenticator default constructor. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CLASSNAME
Constructor Detail |
public PMClientAuthenticator()
Method Detail |
public static void clearPassword(java.net.PasswordAuthentication authentication)
public static java.net.PasswordAuthentication getPasswordAuthentication() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.