cancel
Showing results for 
Search instead for 
Did you mean: 

SUP iOS Native app: login fail

Former Member
0 Kudos

Hi all,

We are developing our first native iOS application with SUP 2.1. When we run the code below the server returns a login error.

    MyCallbackHandler *myCallbackHandler = [MyCallbackHandler new];

    [SUP101_SUP101DB registerCallbackHandler:myCallbackHandler];   

    }

This is the server log:

2012-05-30 09:51:09.793  Subsystem=Error  Application ID=sup101, Application Connection ID=SIMULATOR-IPHONESIMULATOR__SUP101, User=iPhoneSimulator@admin, Correlation ID=, Package=sup101:1.0, MBO=, Operation=, Thread ID=120, Node ID=vySUP210, Error=java.lang.SecurityException was thrown by method com.sybase.djc.mobilink.LoginHandler:authenticateUser(String user, String password, String securityConfiguration)\njava.lang.SecurityException: Login Failed: user 'iPhoneSimulator'

But the strange thing is that this user becomes Online on the Application Connections screen.

Is there any permission missing? Do we have to link the user with the package on the server? Any idea about what's going on?

Thanks anyway.

Accepted Solutions (0)

Answers (2)

Answers (2)

Ian_Thain
Developer Advocate
Developer Advocate
0 Kudos

David

Have you tried the SUP iOS Tutorial or any of the examples on Code exchange?

https://cw.sdn.sap.com/cw/groups/sup-apps

Ian

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

These PDFs refer to SUP 2.1.2, but our landscape is running SUP 2.1.

We read these PDFs but they didn't helped us.

Could you confirm what is the user to connect to the SUP from iOS app? Do you know how to configure an user to connect?