SUP iOS Native app: login fail
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];
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?