java.lang.Objectcom.ibm.commerce.payment.utils.WPMAuthenticationHelper
WebSphere Payment Manager Authentication Helper class.
Field Summary | |
static java.lang.String | ERR_ACCESS_DENIED |
static java.lang.String | PARAM_NAME_AUTHNAME |
static java.lang.String | PARAM_NAME_AUTHSTRING |
static java.lang.String | PARAM_NAME_PASSWORD |
Constructor Summary | |
WPMAuthenticationHelper() WPMAuthenticationHelper constructor comment. |
Method Summary | |
static UserRegistryAccessBean | getAuthenticatedUserRegistry(java.lang.String authString, java.lang.String name, java.lang.String password, CommandContext cmdCtx) Returns the UserRegistryAccessBean for the WebSphere Commerce Administrator if the supplied credentials for the Administrator (a Payment Manager User) is valid. |
static java.lang.String | getUserIdFromAuthString(java.lang.String authString) Gets the userId from the Authentication String. |
static boolean | isDNof(java.lang.String name, java.lang.String shortname) Checks if the specified name is the distinguished name of the supplied shortname. |
static TypedProperty | prepareEncodedResponseToPM(java.lang.String textResponse) Prepare a TypedProperty object for sending text response to Payment Manager. |
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 ERR_ACCESS_DENIED
public static final java.lang.String PARAM_NAME_AUTHSTRING
public static final java.lang.String PARAM_NAME_AUTHNAME
public static final java.lang.String PARAM_NAME_PASSWORD
Constructor Detail |
public WPMAuthenticationHelper()
Method Detail |
public static UserRegistryAccessBean getAuthenticatedUserRegistry(java.lang.String authString, java.lang.String name, java.lang.String password, CommandContext cmdCtx) throws ECException
The logon ID must be active as well.
public static java.lang.String getUserIdFromAuthString(java.lang.String authString)
public static boolean isDNof(java.lang.String name, java.lang.String shortname)
For WebSphere Commerce the String form of the distinguished name lists the relative distinguished names in the order of increasing hierarchy with the root organization on the right.
public static TypedProperty prepareEncodedResponseToPM(java.lang.String textResponse)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.