Peter Schyma created FEDIZ-35:
---------------------------------

             Summary: Allow to use a custom CXF bus for IdpSTSClient
                 Key: FEDIZ-35
                 URL: https://issues.apache.org/jira/browse/FEDIZ-35
             Project: CXF-Fediz
          Issue Type: Wish
          Components: IDP
    Affects Versions: 1.0.1, 1.1.0
            Reporter: Peter Schyma
            Priority: Trivial


We are using Fediz IDP and CXF STS in an OSGi environment. Instead of using the 
war file of IDP we register the IDP filters via BundleActivator in order to add 
more customization and allow to dynamically exchange the login form. 

Therefore we also use the CXF version which is deployed in our OSGi container 
(CXF feature for Karaf). This works perfect until we deploy the STS part (or 
any other bundle that uses CXF). 

When we have two bundles which use CXF there is no default CXF bus per bundle. 
So it's unpredictable which bundles bus will become the default CXF bus in this 
setup.

So my improvement request is to change the way how STSClientFilter retrieves 
the bus which is used to construct the IdpSTSClient instance. One possible 
solution for this would be to introduce a new field which contains the bus 
which should be used and to default to BusFactory#getDefaultBus if no other bus 
is set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to