This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom Authorization in Weblogic 9.1

 
Tarun Chatterjee
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the EJB client internal or external to WebLogic? What code are you using to call the EJB?
 
Tarun Chatterjee
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic