aspose file tools*
The moose likes BEA/Weblogic and the fly likes Custom Authorization in Weblogic 9.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Custom Authorization in Weblogic 9.1" Watch "Custom Authorization in Weblogic 9.1" New topic
Author

Custom Authorization in Weblogic 9.1

Tarun Chatterjee
Greenhorn

Joined: Mar 07, 2005
Posts: 25
How can we pass USerName Programatically to Weblogic before Weblogic checks for Authorization Access for the EJB.

Currently I have configured the UserName,Group, Scoped Roles and Scoped Policies for the specified EJB for whom the access needs to be restricted.

As i am unable to pass the username to weblogic( I am not using Weblogic Authentication) it does not allow access to valid users too considering all username as anonymous.

Can anyone throw soem light?

Thanks and Regards
Tarun Chatterjee

Email: chatterjee_tin@yahoo.com
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Is the EJB client internal or external to WebLogic? What code are you using to call the EJB?
Tarun Chatterjee
Greenhorn

Joined: Mar 07, 2005
Posts: 25
Client is internal.
call to EJB is through a Service Abstraction Layer.
It has a Service Locator and through that we get the handle to the Remote Object and we call methods on that EJB.

My Problem is, I have a manula Authentication mechanism using a Database.
I want to use Weblogic Authorization to restrict access on EJB.

How do i set the Username/Password of the user accessing the EJB.?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom Authorization in Weblogic 9.1