incubator-shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Borkowski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JSEC-21) NPE in TextConfigurionRealm if configuration string contains blank lines
Date Fri, 17 Oct 2008 14:50:46 GMT

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

Grzegorz Borkowski updated JSEC-21:
-----------------------------------

    Attachment: JSEC-21.patch

Patch attached

> NPE in TextConfigurionRealm if configuration string contains blank lines
> ------------------------------------------------------------------------
>
>                 Key: JSEC-21
>                 URL: https://issues.apache.org/jira/browse/JSEC-21
>             Project: JSecurity
>          Issue Type: Bug
>          Components: Realms
>            Reporter: Grzegorz Borkowski
>         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.


Mime
View raw message