Tomcat and UserPrincipal
Hi all, when deploying a BaseX RestXQ module as a Tomcat webapp in a container that uses embedded realm based authentication is there any way to retrieve the login name after being redirected to the protected page? I remember back in J2EE times there was a dedicated method getUserPrincipal. Is there any equivalent using "request:"? Thanks as usual for any kind support! Marco.
Sorry from my side; I don’t have much experience with Tomcat. Maybe someone else has? On Thu, Sep 20, 2018 at 3:59 PM Marco Lettere <m.lettere@gmail.com> wrote:
Hi all,
when deploying a BaseX RestXQ module as a Tomcat webapp in a container that uses embedded realm based authentication is there any way to retrieve the login name after being redirected to the protected page?
I remember back in J2EE times there was a dedicated method getUserPrincipal. Is there any equivalent using "request:"?
Thanks as usual for any kind support!
Marco.
participants (2)
-
Christian Grün -
Marco Lettere