-
1. Re: IdentityManager - changePassword
squirrel Dec 2, 2008 10:15 PM (in response to michaeltr)I guess that use case is not implemented in the IdentityManager, among other things. I'm still trying to figure out how to list firstname and lastname of the User. I can include it if I extend the userAction object and call editUser(username) but if I am just creating a list or view screen, it seems those attributes are inaccessible without going around the API to get to the underlying storage.
I really like the way it's structured, but it looks like there is a lot of additional work to do getting it implemented in a real application. I'm not sure at this point if I want to actually try to use it, or just stick with plain JAAS. Has anybody worked with the new SEAM credentials and JAAS?
-
2. Re: IdentityManager - changePassword
joblini Dec 2, 2008 11:33 PM (in response to michaeltr)We integrated Seam 2.1 security by extending identityManager where required.
-
3. Re: IdentityManager - changePassword
wachtda.scsi.gmx.ch Jan 19, 2009 8:18 AM (in response to michaeltr)Maybe we can go back to the topic!?
I have the same problem as Michael, I wan't that the user who changes his password has to enter the old password.Yes I know I can load the user from my datasource to get the old password, but the really problem is that I need to grant him the seam.user:update permission...
Are there any solutions for this problem?
I think this use case will be very common... -
4. Re: IdentityManager - changePassword
shane.bryzak Jan 19, 2009 11:19 AM (in response to michaeltr)Sure you can check the old password. Use IdentityManager.authenticate().