SAP Knowledge Base Article - Preview

1947833 - User not authorized in NWA Log Configuration java.lang.SecurityException

Symptom

A user without the Administrator role assigned accesses Log Configuration in NWA and a  java.lang.reflect.UndeclaredThrowableException with a large stack trace is displayed in the UI

 screenshot_small.png

The 'Caused By' section of the stack trace contains the following:

java.lang.SecurityException: User not authorized.

at com.sap.engine.services.adminadapter.impl.ConvenienceEngineAdministratorImpl.checkPermission(ConvenienceEngineAdministratorImpl.java:683)  

The following error is written to the traces at the time the exception is shown in the UI:

ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [service.adminadapter : adminadapterServiceOperations].


Read more...

Environment

  • SAP J2EE Engine 6.40
  • SAP enhancement package 1 for SAP NetWeaver 7.0
  • SAP enhancement package 2 for SAP NetWeaver 7.0
  • SAP enhancement package 3 for SAP NetWeaver 7.0

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

com.sap.tc.log_configurator.mbean.LogConfiguratorFacade com.sap.tc.log_configurator.model.proxy._gen.LogConfiguratorFacadeProxy$Impl.getDefaultConfiguration(LogConfiguratorFacadeProxy.java:286) , KBA , BC-JAS-ADM-ADM , Administration , BC-JAS-SEC-AUT , ACLs, J2EE Roles, UME Actions , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.