You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by "Jonathan S. Fisher" <ex...@gmail.com> on 2023/05/31 14:27:08 UTC

LoginToContinue exception

Hello Tomee team,

We found a bug that I plan to fix and I wanted to make sure my approach is
ok before committing. Currently on tomee-8.0.14 but it likely affects all
tomee ee8+ versions.

We're trying out @LoginToContinue (finally) and migrating away from the old
request.login(..) method:

@CustomFormAuthenticationMechanismDefinition(
  loginToContinue = @LoginToContinue(loginPage = "/login",
useForwardToLogin = true))
@FacesConfig
@ApplicationScoped
public class ApplicationConfig {
}

We got this exception: https://pastebin.com/KqbX2uFA

This appears to be because org.apache.tomee.security.http.SavedRequest is
not Serializable, so it should be an easy fix.

If I log a JIRA ticket, what is the current process for committing?

Thank you!

-- 
Jonathan | exabrial@gmail.com
Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
full.
Engineers, of course, understand the glass is twice as big as it needs to
be.

Re: LoginToContinue exception

Posted by "Jonathan S. Fisher" <ex...@gmail.com>.
Fixed, and cherry picked on tomee-8.x and tomee-9.x as well.

cheers,

On Sat, Jun 10, 2023 at 12:31 PM Richard Zowalla <ri...@zowalla.com>
wrote:

> No problem. These are great additions :-) - GitHub CI only conducts some
> basic checks (compile/style/rat) because the actual CI run takes too long
> and is executed on Jenkins only in two ways: (1) quick: omitting
> arquillian, embedded tcks, etc. and (2) full.
>
> A lot of overhead is also created by the log output :-) - I guess any
> improvement on that part would also be great.
>
> Gruß
> Richard
>
> Am 10. Juni 2023 18:29:40 MESZ schrieb "Jonathan S. Fisher" <
> exabrial@gmail.com>:
> >Strange, I waited for CI to complete before I merged.
> >
> >btw this was part of a second ticket I implemented... we use the hell out
> >of JMX to monitor *every* part of our production stack. We noticed TomEE
> >doesn't give you the actual parameter names, so we called into
> >parameter.getName() instead of generating arg0, arg1, etc.
> >
> >I'll take a look and fix today.
> >
> >
> >
> >On Sat, Jun 10, 2023 at 2:21 AM Richard Zowalla <ri...@zowalla.com>
> wrote:
> >
> >> Looks like we have a regression with these newly added tests. Surefire
> >> complains because they cannot be executed (on main, 8.x and 9.x:
> >>  https://ci-builds.apache.org/job/Tomee/job/tomee-9.x-build-quick/37/
> >>
> >> Gruß
> >> Richard
> >>
> >> Am 8. Juni 2023 17:36:14 MESZ schrieb "Jonathan S. Fisher" <
> >> exabrial@gmail.com>:
> >> >Thank you Jean-Louis,
> >> >
> >> >I have opened three PRs:
> >> >
> >> >https://github.com/apache/tomee/pull/1053
> >> >https://github.com/apache/tomee/pull/1054
> >> >https://github.com/apache/tomee/pull/1055
> >> >
> >> >Also, I should be committer status (AFAIK ), but I'm unable to push to
> the
> >> >github repository directly. Not sure if that can be fixed.
> >> >
> >> >Thank you,
> >> >
> >> >
> >> >On Wed, May 31, 2023 at 9:43 AM Jean-Louis Monteiro <
> >> >jlmonteiro@tomitribe.com> wrote:
> >> >
> >> >> Thanks Jonathan.
> >> >> Of course, go ahead and push it.
> >> >>
> >> >> We can still run the TCK and look if it breaks or you can run them
> (just
> >> >> this part) if you have the setup locally.
> >> >> --
> >> >> Jean-Louis Monteiro
> >> >> http://twitter.com/jlouismonteiro
> >> >> http://www.tomitribe.com
> >> >>
> >> >>
> >> >> On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <
> exabrial@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > Hello Tomee team,
> >> >> >
> >> >> > We found a bug that I plan to fix and I wanted to make sure my
> >> approach
> >> >> is
> >> >> > ok before committing. Currently on tomee-8.0.14 but it likely
> affects
> >> all
> >> >> > tomee ee8+ versions.
> >> >> >
> >> >> > We're trying out @LoginToContinue (finally) and migrating away from
> >> the
> >> >> old
> >> >> > request.login(..) method:
> >> >> >
> >> >> > @CustomFormAuthenticationMechanismDefinition(
> >> >> >   loginToContinue = @LoginToContinue(loginPage = "/login",
> >> >> > useForwardToLogin = true))
> >> >> > @FacesConfig
> >> >> > @ApplicationScoped
> >> >> > public class ApplicationConfig {
> >> >> > }
> >> >> >
> >> >> > We got this exception: https://pastebin.com/KqbX2uFA
> >> >> >
> >> >> > This appears to be because
> >> org.apache.tomee.security.http.SavedRequest is
> >> >> > not Serializable, so it should be an easy fix.
> >> >> >
> >> >> > If I log a JIRA ticket, what is the current process for committing?
> >> >> >
> >> >> > Thank you!
> >> >> >
> >> >> > --
> >> >> > Jonathan | exabrial@gmail.com
> >> >> > Pessimists, see a jar as half empty. Optimists, in contrast, see
> it as
> >> >> half
> >> >> > full.
> >> >> > Engineers, of course, understand the glass is twice as big as it
> >> needs to
> >> >> > be.
> >> >> >
> >> >>
> >> >
> >> >
> >> >--
> >> >Jonathan | exabrial@gmail.com
> >> >Pessimists, see a jar as half empty. Optimists, in contrast, see it as
> >> half
> >> >full.
> >> >Engineers, of course, understand the glass is twice as big as it needs
> to
> >> >be.
> >>
> >
> >
> >--
> >Jonathan | exabrial@gmail.com
> >Pessimists, see a jar as half empty. Optimists, in contrast, see it as
> half
> >full.
> >Engineers, of course, understand the glass is twice as big as it needs to
> >be.
>


-- 
Jonathan | exabrial@gmail.com
Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
full.
Engineers, of course, understand the glass is twice as big as it needs to
be.

Re: LoginToContinue exception

Posted by Richard Zowalla <ri...@zowalla.com>.
No problem. These are great additions :-) - GitHub CI only conducts some basic checks (compile/style/rat) because the actual CI run takes too long and is executed on Jenkins only in two ways: (1) quick: omitting arquillian, embedded tcks, etc. and (2) full. 

A lot of overhead is also created by the log output :-) - I guess any improvement on that part would also be great.

Gruß
Richard 

Am 10. Juni 2023 18:29:40 MESZ schrieb "Jonathan S. Fisher" <ex...@gmail.com>:
>Strange, I waited for CI to complete before I merged.
>
>btw this was part of a second ticket I implemented... we use the hell out
>of JMX to monitor *every* part of our production stack. We noticed TomEE
>doesn't give you the actual parameter names, so we called into
>parameter.getName() instead of generating arg0, arg1, etc.
>
>I'll take a look and fix today.
>
>
>
>On Sat, Jun 10, 2023 at 2:21 AM Richard Zowalla <ri...@zowalla.com> wrote:
>
>> Looks like we have a regression with these newly added tests. Surefire
>> complains because they cannot be executed (on main, 8.x and 9.x:
>>  https://ci-builds.apache.org/job/Tomee/job/tomee-9.x-build-quick/37/
>>
>> Gruß
>> Richard
>>
>> Am 8. Juni 2023 17:36:14 MESZ schrieb "Jonathan S. Fisher" <
>> exabrial@gmail.com>:
>> >Thank you Jean-Louis,
>> >
>> >I have opened three PRs:
>> >
>> >https://github.com/apache/tomee/pull/1053
>> >https://github.com/apache/tomee/pull/1054
>> >https://github.com/apache/tomee/pull/1055
>> >
>> >Also, I should be committer status (AFAIK ), but I'm unable to push to the
>> >github repository directly. Not sure if that can be fixed.
>> >
>> >Thank you,
>> >
>> >
>> >On Wed, May 31, 2023 at 9:43 AM Jean-Louis Monteiro <
>> >jlmonteiro@tomitribe.com> wrote:
>> >
>> >> Thanks Jonathan.
>> >> Of course, go ahead and push it.
>> >>
>> >> We can still run the TCK and look if it breaks or you can run them (just
>> >> this part) if you have the setup locally.
>> >> --
>> >> Jean-Louis Monteiro
>> >> http://twitter.com/jlouismonteiro
>> >> http://www.tomitribe.com
>> >>
>> >>
>> >> On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <ex...@gmail.com>
>> >> wrote:
>> >>
>> >> > Hello Tomee team,
>> >> >
>> >> > We found a bug that I plan to fix and I wanted to make sure my
>> approach
>> >> is
>> >> > ok before committing. Currently on tomee-8.0.14 but it likely affects
>> all
>> >> > tomee ee8+ versions.
>> >> >
>> >> > We're trying out @LoginToContinue (finally) and migrating away from
>> the
>> >> old
>> >> > request.login(..) method:
>> >> >
>> >> > @CustomFormAuthenticationMechanismDefinition(
>> >> >   loginToContinue = @LoginToContinue(loginPage = "/login",
>> >> > useForwardToLogin = true))
>> >> > @FacesConfig
>> >> > @ApplicationScoped
>> >> > public class ApplicationConfig {
>> >> > }
>> >> >
>> >> > We got this exception: https://pastebin.com/KqbX2uFA
>> >> >
>> >> > This appears to be because
>> org.apache.tomee.security.http.SavedRequest is
>> >> > not Serializable, so it should be an easy fix.
>> >> >
>> >> > If I log a JIRA ticket, what is the current process for committing?
>> >> >
>> >> > Thank you!
>> >> >
>> >> > --
>> >> > Jonathan | exabrial@gmail.com
>> >> > Pessimists, see a jar as half empty. Optimists, in contrast, see it as
>> >> half
>> >> > full.
>> >> > Engineers, of course, understand the glass is twice as big as it
>> needs to
>> >> > be.
>> >> >
>> >>
>> >
>> >
>> >--
>> >Jonathan | exabrial@gmail.com
>> >Pessimists, see a jar as half empty. Optimists, in contrast, see it as
>> half
>> >full.
>> >Engineers, of course, understand the glass is twice as big as it needs to
>> >be.
>>
>
>
>-- 
>Jonathan | exabrial@gmail.com
>Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
>full.
>Engineers, of course, understand the glass is twice as big as it needs to
>be.

Re: LoginToContinue exception

Posted by "Jonathan S. Fisher" <ex...@gmail.com>.
Strange, I waited for CI to complete before I merged.

btw this was part of a second ticket I implemented... we use the hell out
of JMX to monitor *every* part of our production stack. We noticed TomEE
doesn't give you the actual parameter names, so we called into
parameter.getName() instead of generating arg0, arg1, etc.

I'll take a look and fix today.



On Sat, Jun 10, 2023 at 2:21 AM Richard Zowalla <ri...@zowalla.com> wrote:

> Looks like we have a regression with these newly added tests. Surefire
> complains because they cannot be executed (on main, 8.x and 9.x:
>  https://ci-builds.apache.org/job/Tomee/job/tomee-9.x-build-quick/37/
>
> Gruß
> Richard
>
> Am 8. Juni 2023 17:36:14 MESZ schrieb "Jonathan S. Fisher" <
> exabrial@gmail.com>:
> >Thank you Jean-Louis,
> >
> >I have opened three PRs:
> >
> >https://github.com/apache/tomee/pull/1053
> >https://github.com/apache/tomee/pull/1054
> >https://github.com/apache/tomee/pull/1055
> >
> >Also, I should be committer status (AFAIK ), but I'm unable to push to the
> >github repository directly. Not sure if that can be fixed.
> >
> >Thank you,
> >
> >
> >On Wed, May 31, 2023 at 9:43 AM Jean-Louis Monteiro <
> >jlmonteiro@tomitribe.com> wrote:
> >
> >> Thanks Jonathan.
> >> Of course, go ahead and push it.
> >>
> >> We can still run the TCK and look if it breaks or you can run them (just
> >> this part) if you have the setup locally.
> >> --
> >> Jean-Louis Monteiro
> >> http://twitter.com/jlouismonteiro
> >> http://www.tomitribe.com
> >>
> >>
> >> On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <ex...@gmail.com>
> >> wrote:
> >>
> >> > Hello Tomee team,
> >> >
> >> > We found a bug that I plan to fix and I wanted to make sure my
> approach
> >> is
> >> > ok before committing. Currently on tomee-8.0.14 but it likely affects
> all
> >> > tomee ee8+ versions.
> >> >
> >> > We're trying out @LoginToContinue (finally) and migrating away from
> the
> >> old
> >> > request.login(..) method:
> >> >
> >> > @CustomFormAuthenticationMechanismDefinition(
> >> >   loginToContinue = @LoginToContinue(loginPage = "/login",
> >> > useForwardToLogin = true))
> >> > @FacesConfig
> >> > @ApplicationScoped
> >> > public class ApplicationConfig {
> >> > }
> >> >
> >> > We got this exception: https://pastebin.com/KqbX2uFA
> >> >
> >> > This appears to be because
> org.apache.tomee.security.http.SavedRequest is
> >> > not Serializable, so it should be an easy fix.
> >> >
> >> > If I log a JIRA ticket, what is the current process for committing?
> >> >
> >> > Thank you!
> >> >
> >> > --
> >> > Jonathan | exabrial@gmail.com
> >> > Pessimists, see a jar as half empty. Optimists, in contrast, see it as
> >> half
> >> > full.
> >> > Engineers, of course, understand the glass is twice as big as it
> needs to
> >> > be.
> >> >
> >>
> >
> >
> >--
> >Jonathan | exabrial@gmail.com
> >Pessimists, see a jar as half empty. Optimists, in contrast, see it as
> half
> >full.
> >Engineers, of course, understand the glass is twice as big as it needs to
> >be.
>


-- 
Jonathan | exabrial@gmail.com
Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
full.
Engineers, of course, understand the glass is twice as big as it needs to
be.

Re: LoginToContinue exception

Posted by Richard Zowalla <ri...@zowalla.com>.
Looks like we have a regression with these newly added tests. Surefire complains because they cannot be executed (on main, 8.x and 9.x:
 https://ci-builds.apache.org/job/Tomee/job/tomee-9.x-build-quick/37/

Gruß
Richard 

Am 8. Juni 2023 17:36:14 MESZ schrieb "Jonathan S. Fisher" <ex...@gmail.com>:
>Thank you Jean-Louis,
>
>I have opened three PRs:
>
>https://github.com/apache/tomee/pull/1053
>https://github.com/apache/tomee/pull/1054
>https://github.com/apache/tomee/pull/1055
>
>Also, I should be committer status (AFAIK ), but I'm unable to push to the
>github repository directly. Not sure if that can be fixed.
>
>Thank you,
>
>
>On Wed, May 31, 2023 at 9:43 AM Jean-Louis Monteiro <
>jlmonteiro@tomitribe.com> wrote:
>
>> Thanks Jonathan.
>> Of course, go ahead and push it.
>>
>> We can still run the TCK and look if it breaks or you can run them (just
>> this part) if you have the setup locally.
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>>
>>
>> On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <ex...@gmail.com>
>> wrote:
>>
>> > Hello Tomee team,
>> >
>> > We found a bug that I plan to fix and I wanted to make sure my approach
>> is
>> > ok before committing. Currently on tomee-8.0.14 but it likely affects all
>> > tomee ee8+ versions.
>> >
>> > We're trying out @LoginToContinue (finally) and migrating away from the
>> old
>> > request.login(..) method:
>> >
>> > @CustomFormAuthenticationMechanismDefinition(
>> >   loginToContinue = @LoginToContinue(loginPage = "/login",
>> > useForwardToLogin = true))
>> > @FacesConfig
>> > @ApplicationScoped
>> > public class ApplicationConfig {
>> > }
>> >
>> > We got this exception: https://pastebin.com/KqbX2uFA
>> >
>> > This appears to be because org.apache.tomee.security.http.SavedRequest is
>> > not Serializable, so it should be an easy fix.
>> >
>> > If I log a JIRA ticket, what is the current process for committing?
>> >
>> > Thank you!
>> >
>> > --
>> > Jonathan | exabrial@gmail.com
>> > Pessimists, see a jar as half empty. Optimists, in contrast, see it as
>> half
>> > full.
>> > Engineers, of course, understand the glass is twice as big as it needs to
>> > be.
>> >
>>
>
>
>-- 
>Jonathan | exabrial@gmail.com
>Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
>full.
>Engineers, of course, understand the glass is twice as big as it needs to
>be.

Re: LoginToContinue exception

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hey Jonathan,

I looked at the PRs and they looked good.
I'd probably just create a small unit test to serialize and deserialize the
objects to make sure everything in it is serializable. Not talking about a
full integration test with JASPIC and @LoginToContinue, just a plain unit
test.
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Thu, Jun 8, 2023 at 6:12 PM Richard Zowalla <ri...@zowalla.com> wrote:

> Hi,
>
> Thanks for the PRs.
>
> Have you synced your GitHub Account and enabled 2FA? That should add you
> to the necessary groups.
>
> You can check via https://gitbox.apache.org/boxer/
>
> Gruß
> Richard
>
> Am 8. Juni 2023 17:36:14 MESZ schrieb "Jonathan S. Fisher" <
> exabrial@gmail.com>:
> >Thank you Jean-Louis,
> >
> >I have opened three PRs:
> >
> >https://github.com/apache/tomee/pull/1053
> >https://github.com/apache/tomee/pull/1054
> >https://github.com/apache/tomee/pull/1055
> >
> >Also, I should be committer status (AFAIK ), but I'm unable to push to the
> >github repository directly. Not sure if that can be fixed.
> >
> >Thank you,
> >
> >
> >On Wed, May 31, 2023 at 9:43 AM Jean-Louis Monteiro <
> >jlmonteiro@tomitribe.com> wrote:
> >
> >> Thanks Jonathan.
> >> Of course, go ahead and push it.
> >>
> >> We can still run the TCK and look if it breaks or you can run them (just
> >> this part) if you have the setup locally.
> >> --
> >> Jean-Louis Monteiro
> >> http://twitter.com/jlouismonteiro
> >> http://www.tomitribe.com
> >>
> >>
> >> On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <ex...@gmail.com>
> >> wrote:
> >>
> >> > Hello Tomee team,
> >> >
> >> > We found a bug that I plan to fix and I wanted to make sure my
> approach
> >> is
> >> > ok before committing. Currently on tomee-8.0.14 but it likely affects
> all
> >> > tomee ee8+ versions.
> >> >
> >> > We're trying out @LoginToContinue (finally) and migrating away from
> the
> >> old
> >> > request.login(..) method:
> >> >
> >> > @CustomFormAuthenticationMechanismDefinition(
> >> >   loginToContinue = @LoginToContinue(loginPage = "/login",
> >> > useForwardToLogin = true))
> >> > @FacesConfig
> >> > @ApplicationScoped
> >> > public class ApplicationConfig {
> >> > }
> >> >
> >> > We got this exception: https://pastebin.com/KqbX2uFA
> >> >
> >> > This appears to be because
> org.apache.tomee.security.http.SavedRequest is
> >> > not Serializable, so it should be an easy fix.
> >> >
> >> > If I log a JIRA ticket, what is the current process for committing?
> >> >
> >> > Thank you!
> >> >
> >> > --
> >> > Jonathan | exabrial@gmail.com
> >> > Pessimists, see a jar as half empty. Optimists, in contrast, see it as
> >> half
> >> > full.
> >> > Engineers, of course, understand the glass is twice as big as it
> needs to
> >> > be.
> >> >
> >>
> >
> >
> >--
> >Jonathan | exabrial@gmail.com
> >Pessimists, see a jar as half empty. Optimists, in contrast, see it as
> half
> >full.
> >Engineers, of course, understand the glass is twice as big as it needs to
> >be.
>

Re: LoginToContinue exception

Posted by Richard Zowalla <ri...@zowalla.com>.
Hi,

Thanks for the PRs.

Have you synced your GitHub Account and enabled 2FA? That should add you to the necessary groups.

You can check via https://gitbox.apache.org/boxer/

Gruß
Richard 

Am 8. Juni 2023 17:36:14 MESZ schrieb "Jonathan S. Fisher" <ex...@gmail.com>:
>Thank you Jean-Louis,
>
>I have opened three PRs:
>
>https://github.com/apache/tomee/pull/1053
>https://github.com/apache/tomee/pull/1054
>https://github.com/apache/tomee/pull/1055
>
>Also, I should be committer status (AFAIK ), but I'm unable to push to the
>github repository directly. Not sure if that can be fixed.
>
>Thank you,
>
>
>On Wed, May 31, 2023 at 9:43 AM Jean-Louis Monteiro <
>jlmonteiro@tomitribe.com> wrote:
>
>> Thanks Jonathan.
>> Of course, go ahead and push it.
>>
>> We can still run the TCK and look if it breaks or you can run them (just
>> this part) if you have the setup locally.
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>>
>>
>> On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <ex...@gmail.com>
>> wrote:
>>
>> > Hello Tomee team,
>> >
>> > We found a bug that I plan to fix and I wanted to make sure my approach
>> is
>> > ok before committing. Currently on tomee-8.0.14 but it likely affects all
>> > tomee ee8+ versions.
>> >
>> > We're trying out @LoginToContinue (finally) and migrating away from the
>> old
>> > request.login(..) method:
>> >
>> > @CustomFormAuthenticationMechanismDefinition(
>> >   loginToContinue = @LoginToContinue(loginPage = "/login",
>> > useForwardToLogin = true))
>> > @FacesConfig
>> > @ApplicationScoped
>> > public class ApplicationConfig {
>> > }
>> >
>> > We got this exception: https://pastebin.com/KqbX2uFA
>> >
>> > This appears to be because org.apache.tomee.security.http.SavedRequest is
>> > not Serializable, so it should be an easy fix.
>> >
>> > If I log a JIRA ticket, what is the current process for committing?
>> >
>> > Thank you!
>> >
>> > --
>> > Jonathan | exabrial@gmail.com
>> > Pessimists, see a jar as half empty. Optimists, in contrast, see it as
>> half
>> > full.
>> > Engineers, of course, understand the glass is twice as big as it needs to
>> > be.
>> >
>>
>
>
>-- 
>Jonathan | exabrial@gmail.com
>Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
>full.
>Engineers, of course, understand the glass is twice as big as it needs to
>be.

Re: LoginToContinue exception

Posted by "Jonathan S. Fisher" <ex...@gmail.com>.
Thank you Jean-Louis,

I have opened three PRs:

https://github.com/apache/tomee/pull/1053
https://github.com/apache/tomee/pull/1054
https://github.com/apache/tomee/pull/1055

Also, I should be committer status (AFAIK ), but I'm unable to push to the
github repository directly. Not sure if that can be fixed.

Thank you,


On Wed, May 31, 2023 at 9:43 AM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Thanks Jonathan.
> Of course, go ahead and push it.
>
> We can still run the TCK and look if it breaks or you can run them (just
> this part) if you have the setup locally.
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <ex...@gmail.com>
> wrote:
>
> > Hello Tomee team,
> >
> > We found a bug that I plan to fix and I wanted to make sure my approach
> is
> > ok before committing. Currently on tomee-8.0.14 but it likely affects all
> > tomee ee8+ versions.
> >
> > We're trying out @LoginToContinue (finally) and migrating away from the
> old
> > request.login(..) method:
> >
> > @CustomFormAuthenticationMechanismDefinition(
> >   loginToContinue = @LoginToContinue(loginPage = "/login",
> > useForwardToLogin = true))
> > @FacesConfig
> > @ApplicationScoped
> > public class ApplicationConfig {
> > }
> >
> > We got this exception: https://pastebin.com/KqbX2uFA
> >
> > This appears to be because org.apache.tomee.security.http.SavedRequest is
> > not Serializable, so it should be an easy fix.
> >
> > If I log a JIRA ticket, what is the current process for committing?
> >
> > Thank you!
> >
> > --
> > Jonathan | exabrial@gmail.com
> > Pessimists, see a jar as half empty. Optimists, in contrast, see it as
> half
> > full.
> > Engineers, of course, understand the glass is twice as big as it needs to
> > be.
> >
>


-- 
Jonathan | exabrial@gmail.com
Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
full.
Engineers, of course, understand the glass is twice as big as it needs to
be.

Re: LoginToContinue exception

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Thanks Jonathan.
Of course, go ahead and push it.

We can still run the TCK and look if it breaks or you can run them (just
this part) if you have the setup locally.
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, May 31, 2023 at 4:27 PM Jonathan S. Fisher <ex...@gmail.com>
wrote:

> Hello Tomee team,
>
> We found a bug that I plan to fix and I wanted to make sure my approach is
> ok before committing. Currently on tomee-8.0.14 but it likely affects all
> tomee ee8+ versions.
>
> We're trying out @LoginToContinue (finally) and migrating away from the old
> request.login(..) method:
>
> @CustomFormAuthenticationMechanismDefinition(
>   loginToContinue = @LoginToContinue(loginPage = "/login",
> useForwardToLogin = true))
> @FacesConfig
> @ApplicationScoped
> public class ApplicationConfig {
> }
>
> We got this exception: https://pastebin.com/KqbX2uFA
>
> This appears to be because org.apache.tomee.security.http.SavedRequest is
> not Serializable, so it should be an easy fix.
>
> If I log a JIRA ticket, what is the current process for committing?
>
> Thank you!
>
> --
> Jonathan | exabrial@gmail.com
> Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
> full.
> Engineers, of course, understand the glass is twice as big as it needs to
> be.
>