;geronimo-admin", handler);
>>>> loginCtx.login();
>>>> Subject subject = loginCtx.getSubject();
>>>> Set principals = subject.getPrincipals();
>>>>
>>>> System.out.println("principals:" + principals);
>>>> // principals:[tomcat, admin, tomcatgroup]
>>>&g
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
try
>> {
>> context = new InitialContext();
>>
>> Secured3 secured3 = (Secured3)
>> context.lookup("java:comp/env/ejb/Secured3");
>> String secureMethod
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
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.