[jboss-user] [EJB 3.0] - JAAS + EJB3.0 + Jboss unable to propaogate

jaikiran pai do-not-reply at jboss.com
Wed Jun 23 08:01:59 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"JAAS + EJB3.0 + Jboss unable to propaogate"

To view the discussion, visit: http://community.jboss.org/message/549304#549304

--------------------------------------------------------------
> Gaurav Agarwal wrote:
> 
> 
>                         Properties properties = *new* Properties();
>                   properties.setProperty("INITIAL_CONTEXT_FACTORY","org.jnp.interfaces.NamingContextFactory");
>                   properties.setProperty("URL_PKG_PREFIXES","org.jboss.naming:org.jnp.interfaces");
>                   properties.setProperty("PROVIDER_URL","jnp://localhost:1099");
>                   properties.put(Context.SECURITY_PRINCIPAL, "avril");
>  
> 
> 
> 
> 
> 
> 
Passing of security principal through jndi context properties will +not+ work in AS-5. See Q10 (specifically the note about AS-5)  in security FAQ  http://community.jboss.org/wiki/SecurityFAQ http://community.jboss.org/wiki/SecurityFAQ

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/549304#549304]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100623/658b1180/attachment-0001.html 


More information about the jboss-user mailing list