Well Thank You so Much Darwin it really works. Thanks you so much for your support. I tested on 2 machines 1 with Windows 8 and 2nd with windows 10 it work like a charm. Thank You once again. But can you help only one thing. It work on Google Chrome and on Internet Explorer butt it prompt dialog box when i run on FireFox. I also add trusted negotiation URL but still prompting. I will be greatfull if u can also help me on this. Thanks Regards, Talal Qaboos
Yes Darwin i have requested my Support team to arrange me new Client Machine with Windows 8 Currently my Client machine is Windows Server 2012 R2
Hi Darwin, Thanks for reply. Yes i have set localhost to false. There is no 8080 or 80 port running on Client machine Here are output from internet explorer *TOP Pane TCPMon* GET /hello_spnego.jsp HTTP/1.1 Accept: text/html, application/xhtml+xml, / Accept-Language: en-US User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko Accept-Encoding: gzip, deflate Host: ldc-uat-2:80 DNT: 1 Connection: Keep-Alive * Bottom Pane TCPMon**** HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1...
Request From Chrome **Top Pane of TCPMon** GET /hello_spnego.jsp HTTP/1.1 Host: ldc-uat-2:80 Connection: keep-alive Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9 **Bottom Pane TCPMon*** HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1...
IF i set spnego.allow.localhost : true in web.xml then TCP Mon output will be TCPMon Top Pane GET /hello_spnego.jsp HTTP/1.1 Host: ldc-uat-2:80 Connection: keep-alive Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9 GET /favicon.ico HTTP/1.1...
setspn.exe -L user.one Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\Users\uni.app2>setspn.exe -L user.one Registered ServicePrincipalNames for CN=user.one,OU=Test Users,DC=uatax,DC=com,D C=pk: HTTP/intranet HTTP/intranet.uatax.com.pk HTTP/ldc-uat-2.uatax.com.pk HTTP/ldc-uat-2 C:\Users\uni.app2> TCPMon Output HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1 WWW-Authenticate: Negotiate WWW-Authenticate: Basic realm="UATAX.COM.PK" Content-Length: 0...
I Ran Java Code on my Client Machine and this is Output **import java.net.URL; import net.sourceforge.spnego.SpnegoHttpURLConnection; public class HelloKeytab { public static void main(final String[] args) throws Exception { final String username = "uni.app2"; // ex. dfelix final String password = "12345678"; // ex. myp@s5 final String url = "http://ldc-uat-2:8085/hello_spnego.jsp"; // ex. http://medusa:8080/hello_jsp.jsp final String module = "spnego-client"; // ex. spnego-client System.setProperty("java.security.krb5.conf",...
Sep 30, 2019 4:35:50 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server version: Apache Tomcat/7.0.81 Sep 30, 2019 4:35:50 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server built: Aug 11 2017 10:21:27 UTC Sep 30, 2019 4:35:50 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server number: 7.0.81.0 Sep 30, 2019 4:35:50 PM org.apache.catalina.startup.VersionLoggerListener log INFO: OS Name: Windows Server 2012 R2 Sep 30, 2019 4:35:50 PM org.apache.catalina.startup.VersionLoggerListener...