You mean extend Identity from your User class like this?:
...class User extends Identity {
| ...
|
I don't think it is the right approach (although Im not the expert here :-P)
You use Identity whenever you want to restrict access to a class or method and
to query if the user is logged in or
Look at the Booking or Seamspace examples, they both place a user object in
session scope as part of authentication. I think this is what you want?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036917#4036917
Reply to the post :
http://www.jboss.com/index.