[ 
https://issues.apache.org/jira/browse/JSEC-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Haile resolved JSEC-54.
------------------------------

    Resolution: Fixed
      Assignee: Jeremy Haile

Thanks Csaba - patch has been applied.

> permissionsLookupEnabled flag never used in jdbcRealm
> -----------------------------------------------------
>
>                 Key: JSEC-54
>                 URL: https://issues.apache.org/jira/browse/JSEC-54
>             Project: JSecurity
>          Issue Type: Bug
>          Components: Realms
>    Affects Versions: 1.0
>            Reporter: Csaba Nemeth
>            Assignee: Jeremy Haile
>             Fix For: 1.0
>
>
> JdbcRealm class supports the permissionsLookupEnabled flag, but during the 
> doGetAuthorizationInfo call the permissions are always read regardless of the 
> value of this variable.
> A change like this could fix it @line 277 in JdbcRealm.java:
>             if (permissionsLookupEnabled) {
>               permissions = getPermissions(conn, username, roleNames);
>             }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to