If you are bypassing the OAuth security, you will encounter problems like below:
- Current user will not be reflected , it will always be an annoymous user is session. For example, if you try the below code, you will always get anonymous user:
|final UserModel user = userService.getCurrentUser(); final String userID = user.getUid(); LOG.info("Login UserID : " + userID);|
- Other session related problems
KBA , CEC-COM-CPS-WEB , Store frontend, Web CMS, Accelerators , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.