Re: Wicket-auth-roles + EJB 3 (Authentication and Authorization)

2009-09-25 Thread jraanamo



jraanamo wrote:
 
 - how did you get the principal all the way to the ejb container (via jndi
 context?) and which container were you using? 
 - were you able to handle authorization via e.g. @RolesAllowed
 annotations?
 

Ok, I got principal delegated to ejb container by using Glassfish's
ProgrammaticLogin - if anyone is interested. The problem though is that no
roles are returned by this api so I cannot populate hive's LoginContext
properly. I wonder is Swarm+EJB3 is a good idea or maybe I should stick with
auth-roles. Any experiences would be welcome.
-- 
View this message in context: 
http://www.nabble.com/Wicket-auth-roles-%2B-EJB-3-%28Authentication-and-Authorization%29-tp22649841p25616404.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket-auth-roles + EJB 3 (Authentication and Authorization)

2009-09-24 Thread jraanamo


m_e wrote:
 
 Hi Barry,
 
 I've running three webapps using wicket (1.3) wicket-security 
 (SWARM/WASP) together with JAAS.
 It's working great. Ok, the logout isn't very nice but it's doing it's
 job.
 
 

Hi,

Couple of  questions:
- what did you do to pass the login details to the ejb3 container (via jndi
context?) and which container were you using? 
- were you able to handle authorization via e.g. @RolesAllowed annotations?

-jukka-


-- 
View this message in context: 
http://www.nabble.com/Wicket-auth-roles-%2B-EJB-3-%28Authentication-and-Authorization%29-tp22649841p25578029.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org