on 2013 Jan 17 4:24 PM
Hi,
Created a user in SCC ex:midhun and activation code :123.
SUP version 2.1.3
From the android native application when I pass the credentials I am getting the error "MMS authentication failed".
But I am able to login using the SCC login credentials (supAdmina and s3pAdmin) from the application
Given below is the code I used;
try {
ConnectionProperties connProps = app.getConnectionProperties();
connProps.setServerName(HOST);
connProps.setPortNumber(PORT);
//connProps.setActivationCode(PASSWORD);
PurchaseOrderApprovalDB.setApplication(app);
LoginCredentials loginCredentials = new LoginCredentials(
USERNAME, PASSWORD);
connProps.setLoginCredentials(loginCredentials);
if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED) {
//Getting exception during the below code
app.registerApplication(600);
} else {
app.startConnection(600);
}
} catch (Exception e) {
returnMsg = e.getMessage();
}
I have redeployed the app several times and tested but didn't work.
Please give a solution
I assume that "supAdmina" is a spelling mistake for "supAdmin" ?
What sort of administration security are you using ? None / LDAP / AD ?
Also check that you are connecting using Messaging port number 5001 for logon and then Replication port number for synchronisation. (Unless you connecting via a Relay Server)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
I am using LDAP authentication, provided valid parameters in SCC and verified entered values are present in \CSI\LDAPConnection.xml also manually entered the mappings as AD Group name.
now I am able to map the role and authenticate the device(iPad) but the ldap user is not listed in Application connection tab in SCC.
Any inputs are greatly appreciated.
Regards,
SARA
User | Count |
---|---|
69 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.