Bug 1026698 - Use SecurityContextManager to retrieve context in case sealed
Summary: Use SecurityContextManager to retrieve context in case sealed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: RT Governance
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER7
: 6.0.0
Assignee: Gary Brown
QA Contact: Jiri Pechanec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 09:30 UTC by Gary Brown
Modified: 2014-07-02 09:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RTGOV-247 0 Major Closed Change switchyard event listener to use ExchangeInitiated/CompletedEvents 2014-07-02 09:18:46 UTC
Red Hat Issue Tracker RTGOV-311 0 Major Closed Switchyard Exchange Validator needs to change to use ExchangeInterceptor 2014-07-02 09:19:14 UTC

Description Gary Brown 2013-11-05 09:30:29 UTC
Description of problem:

The RTGov activity collector and validator directly accesses the SecurityContext from the properties on the camel exchange. The problem with this approach is if the SecurityContext is sealed.

After discussion with Keith Babo and David Ward, the best approach is to access the SecurityContext using the SecurityContextManager - but this requires the use of the SwitchYard exchange instead of the Camel Exchange.

Therefore two changes are required:

1) Switch to using the switchyard ExchangeInitiatedEvent and ExchangeCompletionEvent, instead of the camel equivalent events. (RTGOV-247)

2) Change the AbstractExchangeValidator be based on the ExchangeInterceptor mechanism instead of Auditor. (RTGOV-311)

Comment 2 Jiri Pechanec 2014-01-07 12:52:11 UTC
Verified in ER8

Comment 3 JBoss JIRA Server 2014-07-02 09:18:46 UTC
Gary Brown <gary> updated the status of jira RTGOV-247 to Closed

Comment 4 JBoss JIRA Server 2014-07-02 09:19:15 UTC
Gary Brown <gary> updated the status of jira RTGOV-311 to Closed


Note You need to log in before you can comment on or make changes to this bug.