public Cookie logInAndObtainJwtCookie(String testName, WebClient webClient, String protectedUrl, String username, String password) throws Exception {
        return logInAndObtainJwtCookie(testName, webClient, protectedUrl, username, password, JwtFatConstants.DEFAULT_ISS_REGEX);
    }
public Cookie logInAndObtainJwtCookie ( String testName , WebClient webClient , String protectedUrl , String username , String password ) throws Exception { return logInAndObtainJwtCookie ( testName , webClient , protectedUrl , username , password , JwtFatConstants . DEFAULT_ISS_REGEX ) ; }
Accesses the protected resource and logs in successfully, ensuring that a JWT SSO cookie is included in the result.