[jboss-user] [JCA/JBoss] - Re: JCA - LDAP

2006-09-21 Thread tpnaidu79
I am searching for a similar JCA-ldap adapter with no luck. Can you share your code for the jca-ldap adapter? Thank you, Prashanth. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973163#3973163 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [Security & JAAS/JBoss] - JACC managed custom permissions

2006-08-24 Thread tpnaidu79
Hi all, I have been working on JACC based security on JbossAS 4.0.4. I have successfully made EJBMethodPermissions work with JACC. However, the PolicyConfiguration object has a method called addToRole which takes the arguments the roleName string and a Permission object. So far I have put

[jboss-user] [JBoss Seam] - Seam support for JACC permissions

2006-08-22 Thread tpnaidu79
Hi all, I am new to Seam but I have meddled a bit with JACC support in JBossAS 4.0.4. I was wondering if Seam has any type of support in terms of APIs or hooks to control the rendering of JSF components based on Ejb method permission given through JACC. I know Seam has support for web-tie

[jboss-user] [Security & JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-18 Thread tpnaidu79
Thank you Anil, I got it to work... but I have to give @AspectDomain("JACC Stateless Bean") in the ejb for every such ejb if i want its security to be JACC managed. Can i set aspect domain throught the system like I do for security-domain in jboss.xml. I tried it but it doesnt seem to be supp

[jboss-user] [Security & JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-16 Thread tpnaidu79
I think the problem is that JACC is not being used by Jboss by default. When I try to debug and see the code flow it goes to RoleBasedAuthorizationInterceptor and not JaccAuthorizationInterceptor. The Insufficient permission exception is thrown by the RoleBasedAuthorizationInterceptor. How do I

[jboss-user] [Security & JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-09 Thread tpnaidu79
According to the JACC spec When I call commit() on a PolicyConfiguration object , the PolicyConfiguration for that contextId is set inService (i.e; made active). I am able to debug and inspect the object state before commit() is called and after it is called. The PolicyConfiguration is reflectin

[jboss-user] [Security & JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-09 Thread tpnaidu79
My application has an ear called kr.ear. This ear has a kr.jar, which contains all the ejbs and a kr.war which contains the jsps etc. The contextID i am using in this case is "kr.jar", since my ejbs are in the kr.jar archive. -P View the original post : http://www.jboss.com/index.html?module

[jboss-user] [Security & JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-09 Thread tpnaidu79
I have a method in a session bean called JobServiceBean. The method is as follows: @RolesAllowed("Recruiter") public void outputJunk() { System.out.println("###"); } Now after authentication using JAAS, I am writing code to change the @RolesAllowed

[jboss-user] [Security & JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-08 Thread tpnaidu79
Disabling the cache of login credentials affects the credentials of the subject / principals.. However I am changing the method permission of an ejb session bean. The credentials are used to act on the ejb method... I am changing the ejb side permissions not the subject side credentials,... henc

[jboss-user] [Security & JAAS/JBoss] - JACC on the fly method permission changes not reflecting at

2006-08-07 Thread tpnaidu79
Hi all, I am using JbossAS for my JEE application which involves ejb3. I have given role based permission to an ejb session bean method using annotations. This works fine along expected lines for allowing / denying users belonging to certain roles to access the method. However, when I try