ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (WSS-17) Use Context ClassLoader when loading CallbackHandler
Date Mon, 03 Oct 2011 09:04:37 GMT

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

Colm O hEigeartaigh closed WSS-17.
----------------------------------

    
> Use Context ClassLoader when loading CallbackHandler
> ----------------------------------------------------
>
>                 Key: WSS-17
>                 URL: https://issues.apache.org/jira/browse/WSS-17
>             Project: WSS4J
>          Issue Type: Improvement
>         Environment: JOnAS 4.6.0
>            Reporter: Guillaume Sauthier
>            Assignee: Davanum Srinivas
>         Attachments: wss4j-loader.patch
>
>
> WSS4Jhandler try to load the CallbackHandler classes with a simple Class.forName("MyClass")
> This may fail for various reasons (CH class not in the same ClassLoader than WSS4J, ...).
> A safer implementation is to use Thread.currentThread().getContextClassLoader() to obtain
the Thread ClassLoader and try to load the CH class from that loader.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message