[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Subject Based Authorization

2005-05-26 Thread nmuralid
Get the following exception [java] Exception in thread "main" javax.naming.NameNotFoundException: comp not bound [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491) [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499) Btw, I'm trying this

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Subject Based Authorization

2005-05-25 Thread [EMAIL PROTECTED]
"nmuralid" wrote : | What am I missing here ? | The correct lookup name, "java:comp/env/security/subject" ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879102#3879102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Subject Based Authorization

2005-05-25 Thread nmuralid
Thanks for the reply I tried this using chap8-ex2 from the JBoss Guide. JNDIView only shows me the following == java:comp namespace of the EchoBean2 bean: +- env (class: org.jnp.interfaces.NamingContext) | +- security (class: org.jnp.interfaces.NamingCo

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Subject Based Authorization

2005-05-25 Thread [EMAIL PROTECTED]
You should be able to look up the current active Subject from an EJB's private name space, look under java:comp with JNDIView for a secured EJB. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879080#3879080 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Subject Based Authorization

2005-05-23 Thread nmuralid
Looks like setting "SubjectAttributeName" works for a Servlet, is there something similar for EJBs? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878709#3878709 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878709