Working with Rails

Recommend Brian on Working With Rails


Powered

JBoss Seam 1.1.6 & Security

Posted by Joseph Nusairat Tue, 20 Feb 2007 05:00:00 GMT

JBoss Seam
A few days ago, I blogged complaining how in Seam 1.1.5 in order to create your authentication class you had to create a method with 3 parameters: username, password, and a mutable set of roles. Well, this weekend I downloaded Seam 1.1.6 and much to my surprise they've changed it. In 1.1.6 you inject an Identity object into your POJO instead. This identity object contains the username, password, and set of roles. I'd like to think my blog had something to do with that, but I highly doubt it ;-) I just wanted to add this correction and send a kudos to the Seam team for changing it. Of course your authenticate method still has to return a boolean ... but that is much more acceptable behaviour.

Posted in , ,  | Tags ,  | no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://www.integrallis.com/ourblogs/trackbacks?article_id=jboss-seam-1-1-6-security&day=20&month=02&year=2007

(leave url/email »)

   Comment Markup Help Preview comment