Hello, I'm working on an app that has to use Form Authentication.
Normally we would just create a form posting to /j_security_check and that would work with Quarkus.
But I need to do some work before calling the endpoint, therefore I'm calling a method from a @Named bean.
The problem is that after doing this before-hand work, when I do call ((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).login(username, password);, the method works perfectly but Quarkus doesn't generate a Cookie.
Have you found a solution for this?
Currently I'm picking the external host/url and manually calling /j_security_check with an absolute URL, but that is very ugly and error prone.
Hello, I'm working on an app that has to use Form Authentication.
Normally we would just create a form posting to
/j_security_checkand that would work with Quarkus.But I need to do some work before calling the endpoint, therefore I'm calling a method from a
@Namedbean.The problem is that after doing this before-hand work, when I do call
((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).login(username, password);, the method works perfectly but Quarkus doesn't generate a Cookie.Have you found a solution for this?
Currently I'm picking the external host/url and manually calling
/j_security_checkwith an absolute URL, but that is very ugly and error prone.