You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2010/12/08 11:46:00 UTC

[jira] Created: (SANTUARIO-254) Rework org.apache.xml.security.utils.resolver.ResourceResolver

Rework org.apache.xml.security.utils.resolver.ResourceResolver
--------------------------------------------------------------

                 Key: SANTUARIO-254
                 URL: https://issues.apache.org/jira/browse/SANTUARIO-254
             Project: Santuario
          Issue Type: Improvement
          Components: Java
    Affects Versions: Java 1.4.4
            Reporter: Colm O hEigeartaigh
            Assignee: Colm O hEigeartaigh
             Fix For: Java 1.5



For the 1.5 release, we should rework the org.apache.xml.security.utils.resolver.ResourceResolver implementation. There are some thread-safety issues here, as well as some inefficient code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (SANTUARIO-254) Rework org.apache.xml.security.utils.resolver.ResourceResolver

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022052#comment-13022052 ] 

Colm O hEigeartaigh commented on SANTUARIO-254:
-----------------------------------------------


A quick note on this fix - as indicated in SANTUARIO-253, there is a (minor) thread-safety issue in ResourceResolver, if a user attempts to register a new ResourceResolver while another thread is in getInstance. This fix solves that problem, at the cost of synchronizing the list in both register and getInstance. I don't believe there will be much of a performance penalty for this. If it proves to be so, it can be reconsidered. 

Colm.

> Rework org.apache.xml.security.utils.resolver.ResourceResolver
> --------------------------------------------------------------
>
>                 Key: SANTUARIO-254
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-254
>             Project: Santuario
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: Java 1.4.4
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.5
>
>
> For the 1.5 release, we should rework the org.apache.xml.security.utils.resolver.ResourceResolver implementation. There are some thread-safety issues here, as well as some inefficient code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (SANTUARIO-254) Rework org.apache.xml.security.utils.resolver.ResourceResolver

Posted by "Colm O hEigeartaigh (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANTUARIO-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed SANTUARIO-254.
-----------------------------------------

    
> Rework org.apache.xml.security.utils.resolver.ResourceResolver
> --------------------------------------------------------------
>
>                 Key: SANTUARIO-254
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-254
>             Project: Santuario
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: Java 1.4.4
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.5
>
>
> For the 1.5 release, we should rework the org.apache.xml.security.utils.resolver.ResourceResolver implementation. There are some thread-safety issues here, as well as some inefficient code.

--
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] (SANTUARIO-254) Rework org.apache.xml.security.utils.resolver.ResourceResolver

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANTUARIO-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved SANTUARIO-254.
-------------------------------------------

    Resolution: Fixed

> Rework org.apache.xml.security.utils.resolver.ResourceResolver
> --------------------------------------------------------------
>
>                 Key: SANTUARIO-254
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-254
>             Project: Santuario
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: Java 1.4.4
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.5
>
>
> For the 1.5 release, we should rework the org.apache.xml.security.utils.resolver.ResourceResolver implementation. There are some thread-safety issues here, as well as some inefficient code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira