[seam-issues] [JBoss JIRA] Assigned: (JBSEAM-4424) Current identity store incorrectly detected by JpaPermissionStore if identity store extends JpaIdentityStoreClass

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Mon Feb 22 22:57:10 EST 2010


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

Shane Bryzak reassigned JBSEAM-4424:
------------------------------------

    Assignee: Shane Bryzak


> Current identity store incorrectly detected by JpaPermissionStore if identity store extends JpaIdentityStoreClass
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4424
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4424
>             Project: Seam
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 2.2.0.GA
>            Reporter: Alexander Galanin
>            Assignee: Shane Bryzak
>            Priority: Minor
>
> Current identity store incorrectly detected by JpaPermissionStore if identity store extends JpaIdentityStoreClass.
> The following line in function resolvePrincipalEntity() (class JpaPermissionStore) is incorrect in my case:
>         JpaIdentityStore identityStore = (JpaIdentityStore) Component.getInstance(JpaIdentityStore.class, true);
> Should be (copy-pasted from resolvePrincipal())
>         IdentityStore ids = IdentityManager.instance().getRoleIdentityStore();
>         JpaIdentityStore identityStore = null;
>         if (ids instanceof JpaIdentityStore) {
>             identityStore = (JpaIdentityStore) ids;
>         }

-- 
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