You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Alan Cabrera (JIRA)" <ji...@apache.org> on 2009/03/06 14:59:56 UTC
[jira] Moved: (KI-7) NPE in TextConfigurionRealm if configuration
string contains blank lines
[ https://issues.apache.org/jira/browse/KI-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Cabrera moved JSEC-21 to KI-7:
-----------------------------------
Fix Version/s: (was: 1.0)
Component/s: (was: Realms)
Affects Version/s: (was: 1.0)
Key: KI-7 (was: JSEC-21)
Project: Ki (was: JSecurity)
> NPE in TextConfigurionRealm if configuration string contains blank lines
> ------------------------------------------------------------------------
>
> Key: KI-7
> URL: https://issues.apache.org/jira/browse/KI-7
> Project: Ki
> Issue Type: Bug
> Reporter: Grzegorz Borkowski
> Assignee: Jeremy Haile
> Attachments: JSEC-21.patch
>
>
> In TextConfigurationRealm, if user definisions or role definitions string contains blank lines, NPE is thrown. It can happen when configuratoin string is defined in XML, eg:
> <property name="userDefinitions">
> <value>
> empl1 = pass1, EMPLOYEE
> </value>
> </property>
> Here you will get configurationString with three lines: first and third will be empty lines, and NPE will be raised.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.