cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (CXF-4143) Make class name of PolicyBasedWSS4JOutInterceptorInternal externally available
Date Fri, 02 Mar 2012 16:57:57 GMT


Daniel Kulp resolved CXF-4143.

       Resolution: Fixed
    Fix Version/s: 2.5.3
         Assignee: Daniel Kulp
> Make class name of PolicyBasedWSS4JOutInterceptorInternal externally available
> ------------------------------------------------------------------------------
>                 Key: CXF-4143
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Andrei Shakirin
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.4.7, 2.5.3
>         Attachments: PolicybasedWSS4JOutInterceptor.patch
> Hi,
> I have a use case where I need to set custom interceptor before PolicyBasedWSS4JOutInterceptorInternal
interceptor in the chain. Use case is custom compression.
> The problem is that this inner class is accesible only from package and for external
application is not possible to get the class name directly. It is necessary either hard code
the name or instantiate the class using createEndingInterceptor() method. Both possibilities
are not perfect.
> I see two ways to fix it:
> 1) declare inner PolicyBasedWSS4JOutInterceptorInternal class as public
> 2) extract PolicyBasedWSS4JOutInterceptorInternal as separate class. Rename the interceptors:
>    PolicyBasedWSS4JOutInterceptor -> PolicyBasedWSS4JOutPrepareInterceptor
>    PolicyBasedWSS4JOutInterceptorInternal -> PolicyBasedWSS4JOutInterceptor
>    Actually PolicyBasedWSS4JOutInterceptor just prepares SaajOutInterceptor to convert
message to SOAP and PolicyBasedWSS4JOutInterceptorInternal really does the job regarding security
policy. Probably these names refract the class jobs better.
> Patch for (1) is attached. 
> If (2) is better in overall security design, I am going to provide patch for (2) as well.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message