aspose file tools*
The moose likes BEA/Weblogic and the fly likes Settings for security-role in weblogic 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Settings for security-role in weblogic 7" Watch "Settings for security-role in weblogic 7" New topic

Settings for security-role in weblogic 7

Raj Bhalla

Joined: Feb 06, 2002
Posts: 18
Can someone please help me out .
I have bean with following element added in ejb-jar.xml descriptor.I am using weblogic 7
And in weblogic-ejb-jar.xml i have following descriptor
While accessing this bean from a client how should be the user specified.
What are the settings needed in weblogic.
I get following error while accessing the clients
Exception in thread "main" java.rmi.AccessException: Security Violation: User: '
<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=
my, module=my, ejb=MYEJB, method=create, methodInterface=Home, signature={

I agree. Here's the link:
subject: Settings for security-role in weblogic 7
Similar Threads
ctx.isCallerInRole() not working....
Message Driven Bean security problems
MDB: problem using group as principal name when using @RunAs annotation
EJB Security Access
Security Violation: In Cabin EJB