Skip navigation links
SAP NetWeaver 7.50 Enterprise Portal (SP 22)

Package com.sapportals.connectors.sap.authorizationtrace

Provides interfaces and classes for starting and stopping the authorization trace in the R/3 system.

See: Description

Package com.sapportals.connectors.sap.authorizationtrace Description

Provides interfaces and classes for starting and stopping the authorization trace in the R/3 system.

Example for using the startAuthorizationTrace method:

                try
                {
                    ISAPAuthTraceService atService = (ISAPAuthTraceService)(PortalRuntime.getRuntimeResources().getService(ISAPAuthTraceService.KEY));
                    IConnectorGatewayService cgService = (IConnectorGatewayService)(PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY));
                    ConnectionProperties prop = new ConnectionProperties();
                    prop.setUser(m_request.getUser());
                    prop.setLocale(m_request.getLocale());
                    IConnection connection = cgService.getConnection(alias,prop);
                    atService.startAuthorizationTrace(connection,request);
                }
                catch(ExecutionException exp){}
                catch(ResourceException exp){}
                

Example for using the getTracedConnection method:

                try
                {
                    ISAPAuthTraceService atService = (ISAPAuthTraceService)(PortalRuntime.getRuntimeResources().getService(ISAPAuthTraceService.KEY));
                    IConnection connection = atService.getTracedConnection(alias,request);
                }
                catch(ResourceException exp){}
                catch(Exception exp){}
                
Skip navigation links
SAP NetWeaver 7.50 Enterprise Portal (SP 22)

Copyright 2021 SAP SE Complete Copyright Notice