Skip to Content
0
Former Member
Feb 03, 2005 at 04:46 PM

User Authentification with JAAS and the UME

16 Views

Hi,

I'm sorry if this question might appear a little bit stupid, as I am new to the SAP-World. I have a J2EE-App, which uses JAAS to login. Unfortunately, this login fails. As I found out in SDN Forums this failure must be caused by the coupling of UME and JAAS. So I wanted to create my Testuser in SAP.

This User has a Name (ID), Pwsd and two assigned roles.

1. I tried to create it in User Mgmt Web App. This failed due to missing permissions (see below). So I assigned the SAP_BC_USER_ADMIN role to my J2EE ADMIN, but I still could not create a user as J2EE Admin.

2. I created the User in SAP System. Now, I can see him in the User Mgmt Web App, but the assigned roles are missing. And still, my application fails to login...

I can exclude any faults on the application side as I can see from the log-files, that everything works fine including the commit. But next, abort() is called and I get this "User not authorized." Error.

Thanks a lot for your help .... I was spending about 3 Days now on solving this *** logon problem.

Nadine

(WAS 6.40 SP9)

***************************

An exception was thrown in the UME/ABAP user management connector. Message: BAPI_USER_CHANGE@NK1CLNT100: ID=01, NUMBER=492, MESSAGE=Keine Berecht. zum Ändern Benutzer der Gruppe. --> com.sap.security.core.persistence.datasource.PersistenceException: BAPI_USER_CHANGE@NK1CLNT100: ID=01, NUMBER=492, MESSAGE=Keine Berecht. zum Ändern Benutzer der Gruppe

at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.handleBapiRet2Table(R3PersistenceBase.java:3136)

at com.sap.security.core.persistence.datasource.imp.R3Persistence.doBapiUserCreateChange(R3Persistence.java:5265)