I searched a lot for this topic but cannot find a solution.
Summary of requirements:
Environment:
What I have tried so far is related to AD and the Wildfly server via ktpass, kinit, ... it works!
Tried the following: It github.com/dstraub/spnego-wildfly does NOT actually work that there is no return (based on the form) and there is a problem with the Java version 1.8.0_45 sourceforge.net/p/spnego/discussion/1003769/thread/700b6941/#cb84.
github.com/dstraub/spnego-wildfly
: github.com/kwart/spnego-demo , , Wildfly 8.2 .
github.com/kwart/spnego-demo
WAFFLE: Wildfly, Tomcat, .
- , ?
:
webapp :
Webfilter web.xml:
<filter> <filter-name>SecurityFilter</filter-name> <filter-class>waffle.servlet.NegotiateSecurityFilter</filter-class> </filter> <filter-mapping> <filter-name>SecurityFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
public String getUserName() { Enumeration<String> headerNames = servletRequest.getHeaderNames(); while (headerNames.hasMoreElements()) { String headerName = headerNames.nextElement(); String headerValue = servletRequest.getHeader(headerName); System.out.println("Header Name:" + headerName + " " + headerValue); } return servletRequest.getUserPrincipal().getName(); }
https://github.com/dblock/waffle/blob/master/Docs/ConfiguringBrowsers.md
, NTLM..., SPNEGO dstraub SPNEGO , , , NTLM
JSF PhaseListener, , , AS JBOSS jbossweb... wildfly
web.xml 2 auth-form, SPNEGO, , (, ), , NTLM
- , wildfly, , web- - , , 9, , 8 , FORM, BASIC, EXTERNAL CERT-DIGEST , 10 Kerberos
NTLM 2 , ( )...
Source: https://habr.com/ru/post/1610407/More articles:How to install capistrano v2.13.5 with ruby 1.8.7? - ruby | fooobar.comHow compatible (will it be) TypeScript with ES6 (ECMAScript 2015) - javascriptConvert Data URI to SVG - svgПодтверждение пароля появляется перед вводом значения в текстовое поле - c#How to use LINQ provider from F #? - c #How to get a String Iterator using a Dataframe in SparkSQL - apache-sparkWhat is the practical use of nested functions in swift? - functionДлительное нажатие на один UITabBarItem - objective-cHide enhancement function inside DLL - c ++How to check lowercase letters in indexOf - javascriptAll Articles