Getting the Current User
Prerequisites
You have protected your application by requiring authentication.
Context
Before you check for authorizations, you must ensure that you have the current user. Getting the current user is also useful for personalizing an application.
Procedure
Example
IUser user = UMFactory.getAuthenticator().getLoggedInUser(request, response);
Next Steps
SAP Help Portal: http://help.sap.com/javadocs