[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3846) Authentication with identity management for abstract User

Emil Iakoupov (JIRA) jira-events at lists.jboss.org
Thu Dec 18 09:32:54 EST 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emil Iakoupov updated JBSEAM-3846:
----------------------------------

    Attachment: featureRequest.zip


Hello, 
i implemented this functionality, ran my application, seams to be working. Zip contains 6 java files(IdentityManager, IdentityStore and JpaIdentityStore and test code for demonstrating purposes note that test code i did not run, i had another one - little more complex, but inheritance strategy is same). 

> Authentication with identity management for abstract User 
> ----------------------------------------------------------
>
>                 Key: JBSEAM-3846
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3846
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Framework
>    Affects Versions: 2.1.0.SP1
>         Environment: any
>            Reporter: Emil Iakoupov
>            Priority: Optional
>         Attachments: featureRequest.zip
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> Hello, i ran into a little concern. I really want to use identity management. I have inheritence for Users. That is User is an abstract class and its children are different type of users. It basically has credentials (username, password and other option relevant to a user as a whole). Now how do i identityManagement.createUser? Since there could as many flows as types of users and for user-class i definately have to specify the User. I can always register a new user by persisting him/her to db, and then call identityManager.createUser? Would't second call return fallse? Having only one type of user for whole application would greatly complicate design. If you have any suggestions... 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list