[jboss-jira] [JBoss JIRA] (WFLY-12191) StackOverflowError is thrown when invoking a REST end-point, with ClientRequestFilter/ClientResponseFilter registered

Deny Wuysan (Jira) issues at jboss.org
Fri Jul 5 08:29:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756190#comment-13756190 ] 

Deny Wuysan commented on WFLY-12191:
------------------------------------

Also, I am currently using ClientRequestFilter/Response to login/logout when calling a REST end-point, which is sitting behind a form-based authentication (i.e. j_security_check, j_username, j_password).

To be honest, I am not sure if this is commonly done (or even if this is a good practice), since I haven't found any examples on the net. I wonder how they secure REST end-points which is also a Java EE web application.

Any pointer/guidance will be much appreciated.

> StackOverflowError is thrown when invoking a REST end-point, with ClientRequestFilter/ClientResponseFilter registered
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-12191
>                 URL: https://issues.jboss.org/browse/WFLY-12191
>             Project: WildFly
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 17.0.0.Final
>         Environment: Fedora 30, Oracle JDK 1.8.0_181
>            Reporter: Deny Wuysan
>            Assignee: Alessio Soldano
>            Priority: Major
>         Attachments: Authenticator.java, BatchManager.java, WFLY-12191.zip
>
>
> Please find attached the two Java files corresponding to the error. When setting debugger on line 50 for Authenticator.java, notice repetitive calls occurred, ONLY on Wildfly 17.0.0.Final.
> Have re-tested this case on Wildfly 16.0.0.Final and the REST call made successfully.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list