Interface JCoServerUserContext


public interface JCoServerUserContext
Interface providing information about an authenticated user in the context of a JCoServer instance. Custom implementations of this interface can store additional application specific information like authorization objects or user roles within the instance and use this data for checking user authorizations in the application environment. The respective object, which is returned by the authenticate-method of a security handler, will also be passed to all checkAuthorization-method invocations within the same JCoServer session.
Since:
JCo 3.1.11
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the authenticated user which is transferred back to the calling RFC client within the JCoAttributes.
  • Method Details

    • getUser

      String getUser()
      Returns the authenticated user which is transferred back to the calling RFC client within the JCoAttributes. If the caller is an ABAP system, it will convert the user name to upper case letters and truncate it after the maximum length of 12 characters.
      Returns:
      the ID of the logged on user at the JCoServer instance