Logging Off Applications

Context

You should always encourage your users to log off from your applications when they are finished using them. Closing a browser window does not automatically mean that the user is logged out. If a browser window is still open, the user may still be logged in. If users share workstations, the next user might connect to an application with the previous user's credentials. To prevent the accidental or malicious hijacking of another user's session, provide the opportunity for users to log out.

Procedure

  • The Java EE API provides the method logout() .
  • The IAuthentication interface of the user management engine (UME) API provides two methods:
    • logout()

    • forceLoggoffUser()

  • The Web Dynpro API provides the method WDClientUser.forceLogoffClientUser() .

Next Steps

SAP Help Portal: http://help.sap.com/javadocs