com.ibm.eNetwork.security.sso.CMResponse
Your plug-in bundles its response into this object and returns it to ZIETrans. The following are its members and methods.
Members:
- Status Code
- ID (Host ID or Network ID)
- User Credentials (Password or Passticket)
Methods:
- public CMResponse()
- public CMResponse(Object id, Object password, int status)
- public int getStatus()
- public void setStatus(int status)
-
The Credential Mapper plug-in uses the status element to provide the status of the return value. If the plug-in query fails for any reason, this field reports that failure to Web Express Logon. Failure codes are defined in the com.ibm.eNetwork.security.sso.SSOConstants class. Status code definitions contains the status code numeric values, constant strings, and definitions.
Table 1. Status code definitions Status code Constant value Description 0 SSO_CMR_SUCCESSSuccess 1 SSO_CMR_UNKNOWN_STATUS_CODEUnknown status code 2 SSO_CMR_CREDENTIAL_MAPPER _NOT_FOUNDCredential Mapper not found 3 SSO_CMR_INVALID_WEB_IDWeb ID not valid 4 SSO_CMR_INVALID_APPL_IDApplication ID not valid 5 SSO_CMR_INVALID_SERVER_ADDRServer address not valid 6 SSO_CMR_DATABASE_CONNECTION_ ERRORDatabase connection error 7 SSO_CMR_USER_ID_NOT_FOUND_ IN_DBUser ID not found in database 8 SSO_CMR_EXCEPTIONException 9 SSO_CMR_INVALID_USER_IDUInvalid user ID not valid 10 SSO_CMR_PASSTICKET_ERRORPassticket error 11 SSO_CMR_TIMEOUTTimeout 12 SSO_CMR_UNEXPECTED_DCAS_RCUnexpected DCAS return code 13 SSO_CMR_API_NOT_SUPPORTEDAPI not supported 14 SSO_CMR_BAD_URLBad URL 15 SSO_CMR_UNABLE_TO_PARSE_ RESPONSEUnable to parse response 16 SSO_CMR_LOCAL_USERID_NOT_ AVAILABLELocal user ID not available 17 SSO_CMR_DUPLICATE_XML_TAGSDuplicate XML tags 18 SSO_CMR_CLIENT_EXCEPTIONAn exception occurred while processing the credential request 19 SSO_CMR_NO_NETWORK_SECURITY_ PLUGINNetwork Security plug-in is not defined to Web Express™ Logon
- public Object getID()
- public String getIDasString()
- public void setID(Object id)
- Your CMSGetUserCredentials() method can use this method to return the network user ID from a Network Security plug-in or the host user ID from a Credential Mapper plug-in.
- public Object getPassword()
- public String getPasswordasString()
- public void setPassword(Object password)