Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 888604

Summary: ws security - usename propagation doesn't work
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: vramik
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED CURRENTRELEASE QA Contact: vramik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bdawidow, epp-bugs, mvanco, theute
Target Milestone: ER05   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-16 08:55:24 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:
Embargoed:
Attachments:
Description Flags
wssec - username.log none

Description vramik 2012-12-19 00:51:13 UTC
Created attachment 665829 [details]
wssec - username.log

Description of problem:
I configured portal according to https://docs.jboss.org/author/display/GTNPORTAL35/Securing+WSRP section Sample Configuration using the UsernameToken and User Propagation. 

There is link where you can check my configuration https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EPP/view/6.0/view/WS-Security/job/epp6_ui_selenium_tests_ws_security_encr_sign_username/38/artifact/

When I try propagate username (using user identity portlet included as an example portlet) I got IllegalArgumentException: pwd == null but a password is needed (attaching full stacktrace)

Version-Release number of selected component (if applicable):
jpp6.0.0.er04.2

Steps to Reproduce:
1. configure portal according to https://docs.jboss.org/author/display/GTNPORTAL35/Securing+WSRP to use user propagation
2. deploy user identity portlet to producer and start it
3. open consumer and sign in as a root
4. register producer (with ws security checkbox checked)
4. go to application registry and import applications
5. add user identity portlet to a page
6. sign out and sign in as a mary 
7. go to page where is user identity portlet
  
Additional info:
- In scenario encr + sign + username token I got the same issue
- There is link to screenshot: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EPP/view/6.0/view/WS-Security/job/epp6_ui_selenium_tests_ws_security_encr_sign_username/38/artifact/epp-tests/wsrp-ui-tests/target/screenshots/F_WSSEC_test_01.png

Comment 1 Matt Wringe 2012-12-19 16:58:15 UTC
PR sent for WSRP (https://github.com/gatein/gatein-wsrp/pull/59) This will require a new version of WSRP to be released before it can be fixed in GateIn/JPP.

Comment 2 Boleslaw Dawidowicz 2012-12-20 09:51:04 UTC
Will get fixed with WSRP component upgrade to 2.2.1.Final