[JBoss] Manually authenticate user [duplicate]

Discussão em 'StackOverflow' iniciado por Stack, Setembro 3, 2021.

  1. Stack

    Stack Membro Participativo

    The user in my application is currently authenticated using the form-based method(j_security_check) via username and password which is working as expected. I am trying to introduce another login method which is login via SSO using AWS Cognito. When the user successfully logs in via SSO I need to manually set the user as authenticated as I am bypassing the usual(form-based) login flow. When I check request.getUserPrincipal() it returns null as well.

    Any suggestions on how to achieve this would be really appreciated.

    Continue reading...

Compartilhe esta Página