<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:599526767;
        mso-list-type:hybrid;
        mso-list-template-ids:1595826226 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello All,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am new to Key Cloak and trying to integrate this with a very basic two-page application to understand the working and integration basics.
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><u>Environment: <o:p></o:p></u></b></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>KeyCloack 1.7.1 Final Standalone<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>A Basic Spring Application deployed on Tomcat 7 &nbsp;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><u>What I have referred: <br>
<br>
<o:p></o:p></u></b></p>
<p class="MsoNormal"><a href="http://docs.jboss.org/keycloak/docs/1.2.0.Beta1/userguide/html_single/index.html#tomcat-adapter">http://docs.jboss.org/keycloak/docs/1.2.0.Beta1/userguide/html_single/index.html#tomcat-adapter</a><o:p></o:p></p>
<p class="MsoNormal">Tutorial Videos from Youtube Basic 1 and 2 <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><u>Issues am facing:<o:p></o:p></u></b></p>
<p class="MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class="MsoNormal" style="text-autospace:none">When I set<b> auth-method </b>to
<b>KEYCLOAK</b> <b><br>
<br>
</b><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F;background:silver;mso-highlight:silver">login-config</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-method</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">KEYCLOAK</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-method</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">realm-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">KnowledgeFlux</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">realm-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F;background:silver;mso-highlight:silver">login-config</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class="MsoNormal">I get the following error<o:p></o:p></p>
<p class="MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:red">Jan 06, 2016 2:12:58 PM org.apache.catalina.startup.ContextConfig authenticatorConfig</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:red">SEVERE: Cannot configure an authenticator for method KEYCLOAK</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:red">Jan 06, 2016 2:12:58 PM org.apache.catalina.startup.ContextConfig configureStart</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:red">SEVERE: Marking this application unavailable due to previous error(s)</span><b>
<o:p></o:p></b></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-autospace:none">When I set<b> auth-method </b>to
<b>BASIC</b> <b><br>
<br>
</b><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F;background:silver;mso-highlight:silver">login-config</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-method</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">BASIC</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-method</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">realm-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">KnowledgeFlux</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">realm-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F;background:silver;mso-highlight:silver">login-config</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Application runs fine but doesn&#8217;t authenticate even though the user is able to login to Keycloak Realm&#8217;s account.
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><u>What my files look like<o:p></o:p></u></b></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">Web.xml</span>
<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;?</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">xml</span><span style="font-size:10.0pt;font-family:Consolas">
<span style="color:#7F007F">version</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;1.0&quot;</span></i>
<span style="color:#7F007F">encoding</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;UTF-8&quot;</span></i><span style="color:teal">?&gt;</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">web-app</span><span style="font-size:10.0pt;font-family:Consolas">
<span style="color:#7F007F">xmlns:xsi</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span></i><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style="color:#7F007F">xmlns</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;http://java.sun.com/xml/ns/javaee&quot;</span></i><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style="color:#7F007F">xsi:schemaLocation</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot;</span></i><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style="color:#7F007F">id</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;WebApp_ID&quot;</span></i>
<span style="color:#7F007F">version</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;3.0&quot;</span></i><span style="color:teal">&gt;</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">display-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">Archetype
 Created Web Application</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">display-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">dispatcher</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-class</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">org.springframework.web.servlet.DispatcherServlet</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-class</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">load-on-startup</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">1</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">load-on-startup</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-mapping</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">dispatcher</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">url-pattern</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">/</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">url-pattern</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">servlet-mapping</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">context-param</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">param-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">contextConfigLocation</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">param-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">param-value</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">/WEB-INF/dispatcher-servlet.xml</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">param-value</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">context-param</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">listener</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">listener-class</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">org.springframework.web.context.ContextLoaderListener</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">listener-class</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">listener</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">security-constraint</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">web-resource-collection</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">web-resource-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">CloakTest</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">web-resource-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">url-pattern</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">/*</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">url-pattern</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">web-resource-collection</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-constraint</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">role-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">User</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">role-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-constraint</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">security-constraint</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">login-config</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-method</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">KEYCLOAK</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">auth-method</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">realm-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">KnowledgeFlux</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">realm-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">login-config</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">security-role</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">role-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><u><span style="font-size:10.0pt;font-family:Consolas;color:black">admin</span></u><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">role-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">security-role</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">security-role</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">role-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">User</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">role-name</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">security-role</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">web-app</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:teal"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">Keycloak.json</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:teal"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">{<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp; &quot;realm&quot;: &quot;KnowledgeFlux&quot;,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp; &quot;realm-public-key&quot;: &quot;MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAggGsu2SLSsgi7WmVb4O2HGQX7CjcZQG3&#43;LK0Ael6ErNf3dsv4eAR7dTw7OP3hSl57ByCuX5srFFnOMQR&#43;WrjGFv6osaabzRAqYgfKF9H0dIuBLDfFcohGG1EIWh6jVn&#43;jifflnEw7kbycKlXypuvrev7FXi0v1/8Iy/VPdRk&#43;iVgSSIwU/InNPOrodVF/CV6p9VcPqGbDcOSdC0gu6kUA8S4Y6zVRtszlBD3g07p8QhkjoUeKHgHAT0CeCpLoe57ud9iTPTpX0iBnDCysJOQYK3FGAiz6Z9C/puolcrUIcuiasM6Z9bgglNTFvZCbk/XSDGTFKqkJGdcraeVdbQx3wIDAQAB&quot;,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp; &quot;<u><span style="color:black">auth</span></u>-server-<u><span style="color:black">url</span></u>&quot;: &quot;http://localhost:8080/auth&quot;,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp; &quot;<u><span style="color:black">ssl</span></u>-required&quot;: &quot;external&quot;,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp; &quot;resource&quot;: &quot;CloakTest&quot;,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">&nbsp; &quot;public-client&quot;: true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">META-INF/context.xml</span><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;?</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">xml</span><span style="font-size:10.0pt;font-family:Consolas">
<span style="color:#7F007F">version</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;1.0&quot;</span></i><span style="color:teal">?&gt;</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">Context</span><span style="font-size:10.0pt;font-family:Consolas">
<span style="color:#7F007F">path</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;/CloakTest&quot;</span></i><span style="color:teal">&gt;</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">Valve</span><span style="font-size:10.0pt;font-family:Consolas">
<span style="color:#7F007F">className</span><span style="color:black">=</span><i><span style="color:#2A00FF">&quot;org.keycloak.adapters.tomcat.KeycloakAuthenticatorValve&quot;</span></i><span style="color:teal">/&gt;</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">Context</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><o:p></o:p></p>
<p class="MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class="MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class="MsoNormal"><b>Note: </b>&nbsp;Application&#8217;s name is <b>CloakTest</b> and am using the same name for the client and my realm&#8217;s name is
<b>KnowledgeFlux<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class="MsoNormal">I have googled for similar issues with no luck and it&#8217;s been a while since I am stuck here.
<o:p></o:p></p>
<p class="MsoNormal">Please assist. <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><i>P.S. Sorry for the essay but I added as much detail as I thought would be necessary.
<o:p></o:p></i></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks,<br>
Pawan &nbsp;<o:p></o:p></p>
</div>
</body>
</html>