Ok. I have this sitting here in my workspace to go into 2.4.4. I thought
that I had put it into 2.4.3 for web apps but it didn't go in. This does
work for ejbs but not web apps.

> > The actvie subject is available through JNDI:
> >            Subject activeSubject = (Subject)
> > ctx.lookup("java:comp/env/security/subject");
> >
> > for both ejb and web components.
>
> Hi, I can't get that to work. Getting the security manager works fine
> but going for the subject throws a NamingException:
>
> [Default] javax.naming.NameNotFoundException: subject not bound
> [Default]       at
org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
> [Default]
> [Default]       at
org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
> [Default]
> [Default]       at
org.jnp.server.NamingServer.getObject(NamingServer.java:509)
> [...]
>
> Im am testing it with the 2.4.3-Tomcat release with your jaas example
> stuff as the setup.
>
> //Peter
>
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to