{"id":3265,"date":"2014-02-06T18:21:28","date_gmt":"2014-02-06T16:21:28","guid":{"rendered":"http:\/\/www.laurentmarot.fr\/wordpress\/?p=3265"},"modified":"2014-02-06T18:37:56","modified_gmt":"2014-02-06T16:37:56","slug":"tomcat-authentication-on-windows-via-spnego-ntlm-or-kerberos","status":"publish","type":"post","link":"https:\/\/www.laurentmarot.fr\/wordpress\/?p=3265","title":{"rendered":"Tomcat authentication on Windows via spnego (ntlm or kerberos)"},"content":{"rendered":"<p>Bon l\u00e0 j&rsquo;avoue, je s\u00e8che lamentablement&#8230;<\/p>\n<p>Je veux mettre en place une authentification transparente sur une application web pour un utilisateur ayant ouvert sa session Windows sur son poste de travail.<\/p>\n<p>J&rsquo;ai t\u00e9l\u00e9charg\u00e9\u00a0<strong><em>trunk-tcp-26092012<\/em><\/strong> sur\u00a0<a href=\"https:\/\/tomcatspnego.codeplex.com\" target=\"_blank\">https:\/\/tomcatspnego.codeplex.com<\/a> (mais si vous avez une solution alternative, je prends aussi)<\/p>\n<p>J&rsquo;ai un Tomcat6 sur Windows 8 avec JDK1.6. J&rsquo;utilise l&rsquo;application \u00ab\u00a0<em>examples<\/em>\u00a0\u00bb fournie avec Tomcat6 accessible via mon navigateur depuis l&rsquo;url suivante :<\/p>\n<p>http:\/\/localhost:8080\/examples\/jsp\/security\/protected\/index.jsp<\/p>\n<p>L&rsquo;authentification classique fonctionnait parfaitement avec tomcat\/tomcat (et elle fonctionne d&rsquo;ailleurs toujours)<\/p>\n<p>J&rsquo;ai suivi le <em>How-to<\/em> fourni dans le <em>configure.txt<\/em> \u00a0dont je vous livre ma version comment\u00e9e <a href=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2014\/02\/spnego.pdf\">spnego<\/a>.<\/p>\n<p>Le fichier web.xml (renomm\u00e9 en txt) est disponible\u00a0<a href=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2014\/02\/web.txt\">ici<\/a>.<\/p>\n<p>Et \u00e7a ne marche pas &#8230; Pourquoi ?<\/p>\n<div id=\"attachment_3266\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2014\/02\/spnegoTomcatWindows.png\" rel=\"lightbox[3265]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3266\" class=\"size-medium wp-image-3266\" alt=\"spnegoTomcatWindows\" src=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2014\/02\/spnegoTomcatWindows-300x74.png\" width=\"300\" height=\"74\" srcset=\"https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2014\/02\/spnegoTomcatWindows-300x74.png 300w, https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2014\/02\/spnegoTomcatWindows.png 716w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-3266\" class=\"wp-caption-text\">spnegoTomcatWindows<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Bon l\u00e0 j&rsquo;avoue, je s\u00e8che lamentablement&#8230; Je veux mettre en place une authentification transparente sur une application web pour un utilisateur ayant ouvert sa session Windows sur son poste de travail. J&rsquo;ai t\u00e9l\u00e9charg\u00e9\u00a0trunk-tcp-26092012 sur\u00a0https:\/\/tomcatspnego.codeplex.com (mais si vous avez une solution alternative, je prends aussi) J&rsquo;ai un Tomcat6 sur Windows 8 avec JDK1.6. J&rsquo;utilise l&rsquo;application \u00ab\u00a0examples\u00a0\u00bb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3265"}],"collection":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3265"}],"version-history":[{"count":4,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3265\/revisions"}],"predecessor-version":[{"id":3272,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3265\/revisions\/3272"}],"wp:attachment":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}