cancel
Showing results for 
Search instead for 
Did you mean: 

Using JAAS againest Database users

Former Member
0 Kudos

Hi,

I hav implemented my own Custom Login Module to authenticate users exists in DataBase.

Now my LoginModule is loading properly. Also Login()and Commit()methods executed correctly.

But immediately after commit() method abort() method is called and Exception occured as

com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.
	at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:223)
	at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	.....................

My DataBase users are not present in UME store. I read a lots of documents and Forum threads. All says that users must be present in UME store. Is this the only way to use JAAS? Can i deactivate UME store for my application?

Any kind of help and suggestions really appriciated.

Regards,

Sagar Powar.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I am facing the same problem. I am using Netweaver AS Java EE 5 edition, did you solve this issue? Please let me know how you did that.