0

I have SPNEGO authentication for my applications and am doing automated testing using selenium HtmlUnitDriver.

I have tried running the browser automation code inside login context of SPNEGO authentication, but it seems like it is not working,

The body of the lambda is in authentication context already. And SPNEGO is working for REST calls, but not for HtmlUnitDriver.

myACtion -> {
WebDriver driver = new HtmlUnitDriver();
driver.navigate().to(url);

}
 Subject.doAs(loginContext.getSubject(), myAction);

If someone can tell me how to use SPNEGO keytab authentication with HtmlUnitDriver in selenium, I would really appreciate.

Swastik Roy
  • 198
  • 1
  • 13

1 Answers1

0

There is no support so far. If you like to see this supported i can offer this:

RBRi
  • 2,704
  • 2
  • 11
  • 14