shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Demers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-425) Ability to set a property value with an enum in shiro.ini file
Date Wed, 06 Jul 2016 21:32:11 GMT

    [ https://issues.apache.org/jira/browse/SHIRO-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15365153#comment-15365153
] 

Brian Demers commented on SHIRO-425:
------------------------------------

This patch did apply fine to master, (a couple of the classes were moved)
I thought this was going to be an easy win, then I started thinking about other usages with
collections.  We need to define what should work (and be ready with a [doc|http://shiro.apache.org/configuration.html]
page) 

See the above pull request for examples of problems.

> Ability to set a property value with an enum in shiro.ini file
> --------------------------------------------------------------
>
>                 Key: SHIRO-425
>                 URL: https://issues.apache.org/jira/browse/SHIRO-425
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 1.2.1
>            Reporter: Jérôme Leleu
>            Priority: Minor
>              Labels: patch, patch-with-test
>         Attachments: shiro425.patch
>
>
> If I try to set an object property value with an enum (myObject.p = ENUM_VALUE) in a
shiro.ini file, I get an exception : org.apache.shiro.config.ConfigurationException: Unable
to set property 'p' with value [ENUM_VALUE] on object of type myObject



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message