Re: security propagation from JAAS context to EJB question

2009-06-19 Thread Juergen Weber
;geronimo-admin", handler); >>>> loginCtx.login(); >>>> Subject subject = loginCtx.getSubject(); >>>> Set principals = subject.getPrincipals(); >>>> >>>> System.out.println("principals:" + principals); >>>> // principals:[tomcat, admin, tomcatgroup] >>>&g

Re: security propagation from JAAS context to EJB question

2009-06-18 Thread David Jencks
eMethod: Hello hello at Thu Jun 18 13:55:49 CEST 2009 org.apache.openejb.core.stateless.statelesscont...@133b364 you are: org.apache.openejb.core.unauthenticatedprinci...@1884ac4 -- View this message in context: http://www.nabble.com/security-propagation-from-JAAS-context-to-EJB-question-tp24091806s134p24091806.html Sent from the Apache Ger

Re: security propagation from JAAS context to EJB question

2009-06-18 Thread Juergen Weber
try >> { >> context = new InitialContext(); >> >> Secured3 secured3 = (Secured3) >> context.lookup("java:comp/env/ejb/Secured3"); >> String secureMethod

Re: security propagation from JAAS context to EJB question

2009-06-18 Thread David Jencks
od: " + secureMethod); // ctx.getCallerPrincipal(): // secureMethod: Hello hello at Thu Jun 18 13:55:49 CEST 2009 org.apache.openejb.core.stateless.statelesscont...@133b364 you are: org.apache.openejb.core.unauthenticatedprinci...@1884ac4 -- View this message

security propagation from JAAS context to EJB question

2009-06-18 Thread Juergen Weber
133b364 you are: org.apache.openejb.core.unauthenticatedprinci...@1884ac4 -- View this message in context: http://www.nabble.com/security-propagation-from-JAAS-context-to-EJB-question-tp24091806s134p24091806.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.