You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Ludovic Garcia (JIRA)" <ji...@apache.org> on 2012/07/20 17:59:34 UTC

[jira] [Created] (SHIRO-377) PropertiesRealm unable to reload Properties

Ludovic Garcia created SHIRO-377:
------------------------------------

             Summary: PropertiesRealm unable to reload Properties
                 Key: SHIRO-377
                 URL: https://issues.apache.org/jira/browse/SHIRO-377
             Project: Shiro
          Issue Type: Bug
          Components: Realms 
    Affects Versions: 1.2.0
         Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
            Reporter: Ludovic Garcia
            Priority: Minor


In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Created] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by coxalass <lu...@gmail.com>.
Here's is the patch for this issue.


http://shiro-developer.582600.n2.nabble.com/file/n7577576/SHIRO-377-patch.txt
SHIRO-377-patch.txt 





--
View this message in context: http://shiro-developer.582600.n2.nabble.com/jira-Created-SHIRO-377-PropertiesRealm-unable-to-reload-Properties-tp7577556p7577576.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Re: [jira] [Created] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by Jared Bunting <ja...@peachjean.com>.
This email is sent to the dev@shiro.apache.org list.  You may 
unsubscribe from the shiro lists by following links here:

http://shiro.apache.org/mailing-lists.html

Hope that helps,
Jared

On Fri 20 Jul 2012 11:02:04 AM CDT, "Luís M. Soares" wrote:
> How can i unsubscribe this?
>
>
> 1 - I have never subscribed
> 2 - there is not unsubscribe link
> 3 - I try to remove my mail from the your JIRA but it says I'm not
> registered
> 4 - there is no Contact defined through the link in "If you think it
> was sent incorrectly, please contact your JIRA administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa"
>
>
> thanks
>
>
> 	
> 	LUÍS SOARES
> lmsoares@mediacapital.pt <ma...@mediacapital.pt>
> RUA MÁRIO CASTELHANO, 40
> QUELUZ DE BAIXO
> 2734-502 BARCARENA
> T +351 210441983 <tel:+351210441983>     M +351 925648214
> <tel:+351925648114>     F +351 214347653 <tel:+351214347653>
> *www.iol.pt <http://www.iol.pt>*
>
> On 07/20/2012 04:59 PM, Ludovic Garcia (JIRA) wrote:
>> Ludovic Garcia created SHIRO-377:
>> ------------------------------------
>>
>>              Summary: PropertiesRealm unable to reload Properties
>>                  Key: SHIRO-377
>>                  URL: https://issues.apache.org/jira/browse/SHIRO-377
>>              Project: Shiro
>>           Issue Type: Bug
>>           Components: Realms
>>     Affects Versions: 1.2.0
>>          Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
>>             Reporter: Ludovic Garcia
>>             Priority: Minor
>>
>>
>> In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?
>>
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>
>>
>
>
> ------------------------------------------------------------------------
> Esta mensagem e quaisquer ficheiros anexos podem conter informação
> confidencial ou de uso restrito. Se não for o destinatário da mesma
> por favor notifique imediatamente o seu remetente e proceda à sua
> destruição. Não poderá revelar, copiar, distribuir ou de alguma forma
> usar o seu conteúdo. O Grupo Media Capital e suas associadas utilizam
> software de anti-virus. No entanto, não obstante terem sido tomadas
> todas as precauções, não é garantido que a mensagem ou os seus anexos
> não contenham vírus.
>
> This message, including any attachments, may contain confidential
> information or privileged material. If you are not the intended
> recipient please notify the sender immediately by e-mail and delete it
> from your system. You should not disseminate, distribute or copy this
> e-mail or disclose its content. We believe, but do not warrant, that
> this e-mail, including any attachments, is virus free.



Re: [jira] [Created] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by "Luís M. Soares" <lm...@mediacapital.pt>.
How can i unsubscribe this?


1 - I have never subscribed
2 - there is not unsubscribe link
3 - I try to remove my mail from the your JIRA but it says I'm not registered
4 - there is no Contact defined through the link in "If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa"


thanks


[cid:part1.00030800.01040906@mediacapital.pt]
        LUÍS SOARES
lmsoares@mediacapital.pt<ma...@mediacapital.pt>
RUA MÁRIO CASTELHANO, 40
QUELUZ DE BAIXO
2734-502 BARCARENA
T +351 210441983<tel:+351210441983>     M +351 925648214<tel:+351925648114>     F +351 214347653<tel:+351214347653>
www.iol.pt<http://www.iol.pt>
On 07/20/2012 04:59 PM, Ludovic Garcia (JIRA) wrote:

Ludovic Garcia created SHIRO-377:
------------------------------------

             Summary: PropertiesRealm unable to reload Properties
                 Key: SHIRO-377
                 URL: https://issues.apache.org/jira/browse/SHIRO-377
             Project: Shiro
          Issue Type: Bug
          Components: Realms
    Affects Versions: 1.2.0
         Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
            Reporter: Ludovic Garcia
            Priority: Minor


In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira





________________________________
Esta mensagem e quaisquer ficheiros anexos podem conter informação confidencial ou de uso restrito. Se não for o destinatário da mesma por favor notifique imediatamente o seu remetente e proceda à sua destruição. Não poderá revelar, copiar, distribuir ou de alguma forma usar o seu conteúdo. O Grupo Media Capital e suas associadas utilizam software de anti-virus. No entanto, não obstante terem sido tomadas todas as precauções, não é garantido que a mensagem ou os seus anexos não contenham vírus.

This message, including any attachments, may contain confidential information or privileged material. If you are not the intended recipient please notify the sender immediately by e-mail and delete it from your system. You should not disseminate, distribute or copy this e-mail or disclose its content. We believe, but do not warrant, that this e-mail, including any attachments, is virus free.

[jira] [Commented] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422558#comment-13422558 ] 

Les Hazlewood commented on SHIRO-377:
-------------------------------------

Applied patch.  Thanks!
                
> PropertiesRealm unable to reload Properties
> -------------------------------------------
>
>                 Key: SHIRO-377
>                 URL: https://issues.apache.org/jira/browse/SHIRO-377
>             Project: Shiro
>          Issue Type: Bug
>          Components: Realms 
>    Affects Versions: 1.2.0
>         Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
>            Reporter: Ludovic Garcia
>            Priority: Minor
>             Fix For: 1.2.1, 1.3.0
>
>
> In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood resolved SHIRO-377.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0
                   1.2.1

Fixed in the 1.2.x branch and trunk (1.3.0-SNAPSHOT)
                
> PropertiesRealm unable to reload Properties
> -------------------------------------------
>
>                 Key: SHIRO-377
>                 URL: https://issues.apache.org/jira/browse/SHIRO-377
>             Project: Shiro
>          Issue Type: Bug
>          Components: Realms 
>    Affects Versions: 1.2.0
>         Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
>            Reporter: Ludovic Garcia
>            Priority: Minor
>             Fix For: 1.2.1, 1.3.0
>
>
> In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood resolved SHIRO-377.
---------------------------------

    Resolution: Fixed
    
> PropertiesRealm unable to reload Properties
> -------------------------------------------
>
>                 Key: SHIRO-377
>                 URL: https://issues.apache.org/jira/browse/SHIRO-377
>             Project: Shiro
>          Issue Type: Bug
>          Components: Realms 
>    Affects Versions: 1.2.0
>         Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
>            Reporter: Ludovic Garcia
>            Priority: Minor
>             Fix For: 1.2.1, 1.3.0
>
>
> In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood closed SHIRO-377.
-------------------------------


Closing per the 1.2.1 release.
                
> PropertiesRealm unable to reload Properties
> -------------------------------------------
>
>                 Key: SHIRO-377
>                 URL: https://issues.apache.org/jira/browse/SHIRO-377
>             Project: Shiro
>          Issue Type: Bug
>          Components: Realms 
>    Affects Versions: 1.2.0
>         Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
>            Reporter: Ludovic Garcia
>            Priority: Minor
>             Fix For: 1.2.1, 1.3.0
>
>
> In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (SHIRO-377) PropertiesRealm unable to reload Properties

Posted by "Ludovic Garcia (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ludovic Garcia reopened SHIRO-377:
----------------------------------


When posting this issue, i did not noticed, that in destroy method, scheduler has to be set to null after shutdown even if an exception occurs, i posted a fix in the forum before you resolved this issue, but did not add a comment on this issue.

The fix was here 
http://shiro-developer.582600.n2.nabble.com/jira-Created-SHIRO-377-PropertiesRealm-unable-to-reload-Properties-td7577556.html
                
> PropertiesRealm unable to reload Properties
> -------------------------------------------
>
>                 Key: SHIRO-377
>                 URL: https://issues.apache.org/jira/browse/SHIRO-377
>             Project: Shiro
>          Issue Type: Bug
>          Components: Realms 
>    Affects Versions: 1.2.0
>         Environment: Windows 7 X64 FR, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
>            Reporter: Ludovic Garcia
>            Priority: Minor
>             Fix For: 1.2.1, 1.3.0
>
>
> In PropertiesRealm.afterRoleCacheSet() at line 166, the condition "scheduler != null" prevent the scheduler to be instantiated, should not it be "scheduler == null" ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira