<div dir="ltr"><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif" color="#000000">I am updating an old struts 1.3 web app and integrating our SAML - SSO service with help of keycloak adapter for SAML.</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></div><div style="font-size:12.8px"><font color="#000000" face="arial, helvetica, sans-serif">I have some issues with that development on Tomcat 7: in the "web.xml" file, the following lines are suppose to be add</font></div></div><div><br></div><div><br></div><div><pre class="" style="font-size:0.9em;font-family:courrier,monospace;color:rgb(51,51,51);overflow:auto;padding:5px 15px 5px 25px;border:1px solid rgb(204,204,204);line-height:18px;text-align:justify;background-color:rgb(245,245,245)"> <login-config>
<auth-method>BASIC</auth-method>
<realm-name>this is ignored currently</realm-name>
</login-config>
</pre></div><div><br></div><div>Reading the other options, in the Wildfly the following code must be add:</div><div><br></div><pre class="" style="font-size:0.9em;font-family:courrier,monospace;color:rgb(51,51,51);overflow:auto;padding:5px 15px 5px 25px;border:1px solid rgb(204,204,204);line-height:18px;text-align:justify;background-color:rgb(245,245,245)"> <login-config>
<auth-method>KEYCLOAK-SAML</auth-method>
<realm-name>this is ignored currently</realm-name> </pre><div><span style="color:rgb(51,51,51);font-family:courrier,monospace;font-size:0.9em;line-height:18px;text-align:justify;background-color:rgb(245,245,245)"> </login-config></span></div><div><br></div><div>And, googling a like, I found that, on Tomcat 7, the correct configuration must be:</div><div><br></div><pre class="" style="font-size:0.9em;font-family:courrier,monospace;color:rgb(51,51,51);overflow:auto;padding:5px 15px 5px 25px;border:1px solid rgb(204,204,204);line-height:18px;text-align:justify;background-color:rgb(245,245,245)"> <login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>this is ignored currently</realm-name> </pre><div><span style="color:rgb(51,51,51);font-family:courrier,monospace;font-size:0.9em;line-height:18px;text-align:justify;background-color:rgb(245,245,245)"> </login-config></span> </div><div><br></div><div><br></div><div>My question is: "BASIC" for tomcat 7 and SAML adapter is correct for my development?</div><div><br></div><div><br></div><div><br></div><div>Thanks!!!</div></div></div></div></div><img width="0" height="0" class="mailtrack-img" src="https://mailtrack.io/trace/mail/9d469e35cae6e923f23152a9d2641d347da16e16458624.png"></div>