Bug 1078342 - picketlink redirect after login goes to the wrong page
Summary: picketlink redirect after login goes to the wrong page
Keywords:
Status: CLOSED DUPLICATE of bug 1071288
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: PicketLink
Version: 6.2.1,6.3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: EAP 6.3.0
Assignee: baranowb
QA Contact: Josef Cacek
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-19 15:57 UTC by Tom Fonteyne
Modified: 2014-10-25 12:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-07 11:07:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
sp war file (8.96 KB, application/x-webarchive)
2014-03-19 16:00 UTC, Tom Fonteyne
no flags Details
idp war file (13.59 KB, application/x-webarchive)
2014-03-19 16:01 UTC, Tom Fonteyne
no flags Details

Description Tom Fonteyne 2014-03-19 15:57:46 UTC
Deploy an sp application and initially access a protected page which is NOT the welcome page.

create two security domains
<security-domain name="sp" cache-type="default">
<authentication>
<login-module code="org.picketlink.identity.federation.bindings.jboss.auth.SAML2LoginModule" flag="required"/>
</authentication>
</security-domain>

<security-domain name="idp" cache-type="default">
-> use a login module of your choose, I used LdapExtended

Deploy the attached idp.war and sp.war
Run the server listening to "localhost"


access:   http://localhost:8080/plhello/test/test.jsp
-> redirect to IDP
-> login
-> redirects to http://localhost:8080/plhello/
-> shows http://localhost:8080/plhello/index.jsp

this worked fine in EAP 6.1.1, the resulting page was 
  http://localhost:8080/plhello/test/test.jsp

Comment 1 Tom Fonteyne 2014-03-19 16:00:16 UTC
Created attachment 876401 [details]
sp war file

Comment 2 Tom Fonteyne 2014-03-19 16:01:20 UTC
Created attachment 876402 [details]
idp war file

Comment 3 Josef Cacek 2014-03-21 13:29:04 UTC
Seems as a duplicate of bug#1071288

Comment 4 baranowb 2014-05-07 11:07:39 UTC
jcacek seem to be right. Also, Im not able to reproduce with current 6.x(though  wild stroke of bad luck, first attempt was a success... ).

Im going to close this as duplicate with proper milestone and version update. If this BZ is for 6.2 please issue new one, without 6.3 flag :)

NOTE: could not reproduce with 6.x and 6.2.x current HEAD.

*** This bug has been marked as a duplicate of bug 1071288 ***


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