2 Replies Latest reply on Jul 24, 2018 11:18 AM by developer74

    Programmatically authentication (Soteria) fails with AuthenticationStatus = null

    developer74 Newbie

      Hi to all,

       

      I have a problem with the new JavaEE8 authentication (Soteria) and Wildfly 13.

       

      AuthenticationStatus status = this.securityContext.authenticate(

                          (HttpServletRequest) externalContext.getRequest(),

                          (HttpServletResponse) externalContext.getResponse(),

                          AuthenticationParameters.withParams()

                                  .credential(credential)

                                  .newAuthentication(!loginToContinue)

                                  .rememberMe(loginRequest.isRememberMe())

      );

      After this method-call, status is "null".

      The same works correct in Glassfish/Payara.

       

      I started a plain fresh Wildfly 13 with "-Dee8.preview.mode=true". No other changes were made at the Wildfly 13 installation.

       

      Is there some additional configuration needed in Wildlfy to get this authentication to work?

       

      Thanks very much for any advice in advance

      Ulrich