Skip to content

Formbased authentication corrupts post params payara#429

Open
albfernandez wants to merge 3 commits intojavaee-samples:masterfrom
albfernandez:formbased_authentication_corrupts_post_params_payara
Open

Formbased authentication corrupts post params payara#429
albfernandez wants to merge 3 commits intojavaee-samples:masterfrom
albfernandez:formbased_authentication_corrupts_post_params_payara

Conversation

@albfernandez
Copy link

This testcase reproduces Payara bug

payara/Payara#2318

See payara/Payara#2318 for mor details.

I've reproduced the bug in Payara 4.1.2.174, but this first version on
Arquillian works as expected.
@albfernandez
Copy link
Author

The failing test is the expected behaviour: It's the payara bug we're trying to reproduce

Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 23.829 sec <<< FAILURE! - in org.javaee7.servlet.security.form.based.FormTest
testMaintainPostParamsAfterAuth(org.javaee7.servlet.security.form.based.FormTest) Time elapsed: 0.474 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<[7]> but was:<[251]>
at org.javaee7.servlet.security.form.based.FormTest.testMaintainPostParamsAfterAuth(FormTest.java:108)

@arjantijms
Copy link
Contributor

Looks good, will pull in as soon as we have the fix for Payara in. Thx!

@albfernandez
Copy link
Author

This sample should pass the test now ,
from the pom.xml <payara.version>4.1.2.181</payara.version>, version which fixed de bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants