Sandesha contains hard-coded security properties for rampart
------------------------------------------------------------

                 Key: SANDESHA2-44
                 URL: http://issues.apache.org/jira/browse/SANDESHA2-44
             Project: Apache Sandesha2
          Issue Type: Improvement
            Reporter: Matt Lovett
            Priority: Minor


Within SandeshaUtil::createNewRelatedMessageContext() we copy over 2 properties 
that were added to help the RampartBasedSecurityManager. I think that we can 
probably remove these hard coded dependencies. My suggestion to move this along 
is to:

1. In RMMsgCreator, where we currently pass the context that will carry the 
create sequence message into SecurityManager::getSecurityToken(), pass in the 
application message context instead. This context is much more likely to have 
the right config associated with it. (This may remove the need to copy the 
properties over altogether.)

2. If the former is not enough, then the RampartBasedSecurity manager needs to 
read the values of the properties at the time we call getSecurityToken(), and 
store them into the RampartSecurityToken instance. The values can then be added 
to each outbound message during the 
RampartBasedSecurityManager::applySecurityToken() method.

I'm happy to do part 1 (I have a patch in my workspace), but I'm not sure how 
to test this. If I put the patch up could someone who uses Rampart take a look, 
and tell me if we need part 2?

Thanks

Matt


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to