Package com.sap.conn.jco.server
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.-
Method Summary
-
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
-