[keycloak-user] tomcat 7 SAMl adapter and <login-config> question

Bill Burke bburke at redhat.com
Tue Jun 7 15:47:11 EDT 2016


Read the docs.  You have to use BASIC, then specify a valve in your context.


On 6/7/16 3:06 PM, David Guerra wrote:
> Hi,
>
> I am updating an old struts 1.3 web app and integrating our SAML - SSO 
> service with help of keycloak adapter for SAML.
>
> I have some issues with that development on Tomcat 7: in the "web.xml" 
> file, the following lines are suppose to be add
>
>
>   <login-config>
>          <auth-method>BASIC</auth-method>
>          <realm-name>this is ignored currently</realm-name>
>      </login-config>
>
> Reading the other options, in the Wildfly the following code must be add:
>
>   <login-config>
>          <auth-method>KEYCLOAK-SAML</auth-method>
>          <realm-name>this is ignored currently</realm-name>
>   </login-config>
>
> And, googling a like, I found that, on Tomcat 7, the correct 
> configuration must be:
>
>   <login-config>
>          <auth-method>KEYCLOAK</auth-method>
>          <realm-name>this is ignored currently</realm-name>
>   </login-config>
>
>
> My question is: "BASIC" for tomcat 7 and SAML adapter is correct for 
> my development?
>
>
>
> Thanks!!!
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160607/f5a249f8/attachment.html 


More information about the keycloak-user mailing list