Bug 778467 (SOA-943)

Summary: Remove the SecurityPropagator action in opensso quickstart.
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Jeff Yu <cyu>
Component: ExamplesAssignee: Jeff Yu <cyu>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CR1CC: kconner
Target Milestone: ---   
Target Release: 4.3 CP01   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-943
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-16 21:08:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Yu 2008-10-15 07:50:58 UTC
Date of First Response: 2009-03-16 17:08:41
project_key: SOA

Because of the https://jira.jboss.org/jira/browse/SOA-941, now in the JBoss ESB, it will propagate the security information internally, so won't need to specify it explicitly in the opensso quick start example.

Comment 1 Jeff Yu 2008-10-15 07:56:25 UTC
fixed by revision 2151 of soa-p repository.

Comment 2 Jeff Yu 2008-10-16 08:59:03 UTC
Reopen the issue, it seems that it doesn't work if I simply remove that action, tested against soa-p 4.3 CR1. Need to work on it again.

Comment 3 Jeff Yu 2008-10-16 09:05:54 UTC
The error message when it tries to access the EJB3 service.

17:00:50,430 INFO  [STDOUT] In Service3: 
17:00:50,431 INFO  [STDOUT] [Message payload example(just a String) ].
17:00:50,431 INFO  [STDOUT] Subject in EjbClientAction : Subject:
        Principal: SSOToken [ssoToken=AQIC5wM2LY4Sfcz7Svx3mPoZPKACJuzsO7AIW8bwFqCvMFw=@AAJTSQACMDE=#]
        Principal: [groupName=Roles, members=[[roleName=adminRole]]]
17:00:50,573 INFO  [OpenSSOLoginModule] Has valid OpenSSO session : false
17:00:50,701 ERROR [STDERR] [Fatal Error] :4:23: The value of attribute "message" associated with an element type "Exception" must not contain the '<' character.
17:00:50,759 WARN  [ActionProcessingPipeline] No fault address defined for fault message! To: InVMEpr [ PortReference < <wsa:Address invm://4f70656e53534f5365727669636533/false?false#10000/>, <wsa:ReferenceProperties jbossesb:passByValue : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/invm/> > ] MessageID: f965e22f-fc26-43e1-ac01-45fd90126091 RelatesTo: jms:correlationID#f965e22f-fc26-43e1-ac01-45fd90126091
17:00:50,790 INFO  [ServiceInvoker] Subject in ServiceInvoker Subject:
        Principal: SSOToken [ssoToken=AQIC5wM2LY4Sfcz7Svx3mPoZPKACJuzsO7AIW8bwFqCvMFw=@AAJTSQACMDE=#]
        Principal: [groupName=Roles, members=[[roleName=adminRole]]]


Comment 4 Jeff Yu 2008-10-17 08:01:01 UTC
Link: Added: This issue depends JBESB-2126


Comment 5 Len DiMaggio 2009-03-16 21:08:41 UTC
Verified in 4.3 CP01 CR4:

2009-03-16 16:17:52,576 INFO  [org.jboss.soa.esb.services.security.SecurityServiceFactory] Using [org.jboss.internal.soa.esb.services.security.JaasSecurityService] as the SecurityService implementation.
2009-03-16 16:17:52,629 INFO  [org.jboss.soa.security.opensso.OpenSSOLoginModule] Has valid OpenSSO session : false
2009-03-16 16:17:54,353 INFO  [org.jboss.soa.security.opensso.OpenSSOLoginModule] Login succeeded.
2009-03-16 16:17:54,484 INFO  [STDOUT] In Service1: 
2009-03-16 16:17:54,484 INFO  [STDOUT] [Message payload example(just a String) ].
2009-03-16 16:17:54,484 INFO  [STDOUT] Subject in MyJMSListenerAction : Subject:
        Principal: SSOToken [ssoToken=AQIC5wM2LY4SfcxGz8TWw39GHVkBE/xW51QiN6QUSewasvk=@AAJTSQACMDE=#]
        Principal: [groupName=Roles, members=[[roleName=adminRole]]]
2009-03-16 16:17:54,530 INFO  [STDOUT] In Service2: 
2009-03-16 16:17:54,530 INFO  [STDOUT] [Message payload example(just a String) ].
2009-03-16 16:17:54,531 INFO  [STDOUT] Subject in MyJMSListenerAction : Subject:
        Principal: SSOToken [ssoToken=AQIC5wM2LY4SfcxGz8TWw39GHVkBE/xW51QiN6QUSewasvk=@AAJTSQACMDE=#]
        Principal: [groupName=Roles, members=[[roleName=adminRole]]]
2009-03-16 16:17:54,575 INFO  [STDOUT] In Service3: 
2009-03-16 16:17:54,576 INFO  [STDOUT] [Message payload example(just a String) ].
2009-03-16 16:17:54,576 INFO  [STDOUT] Subject in EjbClientAction : Subject:
        Principal: SSOToken [ssoToken=AQIC5wM2LY4SfcxGz8TWw39GHVkBE/xW51QiN6QUSewasvk=@AAJTSQACMDE=#]
        Principal: [groupName=Roles, members=[[roleName=adminRole]]]
2009-03-16 16:17:54,730 INFO  [STDOUT] SimpleSLSB printMessage : from ESB
2009-03-16 16:17:54,730 INFO  [STDOUT] SimpleSLSB Caller principal: SSOToken [ssoToken=AQIC5wM2LY4SfcxGz8TWw39GHVkBE/xW51QiN6QUSewasvk=@AAJTSQACMDE=#]
2009-03-16 16:17:54,733 INFO  [STDOUT] isCallerInRole('adminRole') : true