on 11-07-2013 1:16 PM
Hi Experts,
We are facing a serious issue. All of a sudden our SUP OData application is not validating User or server settings while we logging in second time.
SUP Server: 2.2 Sp04
Client: IOS Native
Issue Description:
We are developing an OData based application consuming through SUP. We were able to register user and connect to sup server and fetch the data successfully from Gateway server first time. Second time if I a trying to login with invalid server settings or invalid users the SUP is not validating and bypassing to gateway and pulling data if the user is valid.
Let me know if you require more details.
Regards
Raju
After how much time interval you are doing second login ? Are you logging out from the app for the second user login ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Midhun,
Thanks for your quick reply.
I am logging out from the application and then trying to provide invalid settings and user, but still it is logging in without any exceptions. Yes I am logging out from the app for second user login. The logging out functionality is just screen navigation I am not doing any logic.
Regards
Raju
sorry, I have no knowledge of IOS native App :-(, but just some thouhts on diagnosis, Is there an api from sup for you do authentication ? do you think the credential stored in the sup sever ? if yes, try to see if there any api call to clear the cache , the last resort is to asking technical support
Raju,
Once you login to the mobile app your device ID and user name will be recorded in SUP server. You can see this in SCC>server>applications with a status online/offline. If you are trying to login to the app again from the same device with a different user without deleting the existing user from SCC it will not work in the desired way. In the native based on Object APIs I have used one API unregisterApplication for unregistering the user from SUP, it deleted the user existing in SUP. Once it is done different is made from same device.
But in the Odata apps I didn't find any APIs for unregistering the user while the user click on logout. So may be it will not be a possible option. Lets consider the example of released SAP standard apps. These apps are based on Odata (same as your app), here in order to login with a new user the steps were deleting the app>reinstall app from app store>delete user in SCC> login with different user from device. This means you have to do the same for a new user login. But you can search for API that is available for logout, if its there you are safe else the above mentioned steps have to be done.
- Midhun VP
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.