<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Read the docs.  You have to use BASIC, then specify a valve in
      your context.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 6/7/16 3:06 PM, David Guerra wrote:<br>
    </div>
    <blockquote
cite="mid:CAENWE6N9iqdQOE1KaqH_bsG6iDHw-n4TrfX5K6E42+4Ks9afbA@mail.gmail.com"
      type="cite">
      <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 face="arial,
                      helvetica, sans-serif" color="#000000">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)"> &lt;login-config&gt;
        &lt;auth-method&gt;BASIC&lt;/auth-method&gt;
        &lt;realm-name&gt;this is ignored currently&lt;/realm-name&gt;
    &lt;/login-config&gt;
</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)"> &lt;login-config&gt;
        &lt;auth-method&gt;KEYCLOAK-SAML&lt;/auth-method&gt;
        &lt;realm-name&gt;this is ignored currently&lt;/realm-name&gt; </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)"> 
                      &lt;/login-config&gt;</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)"> &lt;login-config&gt;
        &lt;auth-method&gt;KEYCLOAK&lt;/auth-method&gt;
        &lt;realm-name&gt;this is ignored currently&lt;/realm-name&gt; </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)"> 
                      &lt;/login-config&gt;</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 moz-do-not-send="true" class="mailtrack-img"
src="https://mailtrack.io/trace/mail/9d469e35cae6e923f23152a9d2641d347da16e16458624.png"
          height="0" width="0"></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>