You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Csaba Nemeth (JIRA)" <ji...@apache.org> on 2009/02/04 11:47:59 UTC
[jira] Created: (JSEC-54) permissionsLookupEnabled flag never used
in jdbcRealm
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
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.
[jira] Resolved: (JSEC-54) permissionsLookupEnabled flag never used
in jdbcRealm
Posted by "Jeremy Haile (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Moved: (KI-10) permissionsLookupEnabled flag never used in
jdbcRealm
Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KI-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Cabrera moved JSEC-54 to KI-10:
------------------------------------
Fix Version/s: (was: 1.0)
Component/s: (was: Realms)
Affects Version/s: (was: 1.0)
Key: KI-10 (was: JSEC-54)
Project: Ki (was: JSecurity)
> permissionsLookupEnabled flag never used in jdbcRealm
> -----------------------------------------------------
>
> Key: KI-10
> URL: https://issues.apache.org/jira/browse/KI-10
> Project: Ki
> Issue Type: Bug
> Reporter: Csaba Nemeth
> Assignee: Jeremy Haile
>
> 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.
[jira] Updated: (JSEC-54) permissionsLookupEnabled flag never used
in jdbcRealm
Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSEC-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Les Hazlewood updated JSEC-54:
------------------------------
Fix Version/s: 1.0
> 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
> 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.