Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SUP iOS Native app: login fail

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.

Former Member
Not what you were looking for? View more on this topic or Ask a question