[keycloak-user] App secured in Apache TomEE not works

Grant Marrow grantmarrow at gmail.com
Fri Nov 18 09:02:59 EST 2016


Is there a client adapter for TomEE. I don't remember seeing one? If there
is, maybe you need to add the adapter to you web server's respective
installation directory. With that being said, I am making the assumption
that the configuration steps for TomEE would be the same for the other
clients, ie: tomcat, jetty, etc


On 18 Nov 2016 14:50, <tecnologia at growingup.com.co> wrote:

Hello community:

I have secured my application on an Apache 8 server, following the steps,
but when accessing a protected resource I hope to be redirected to Keycloak
but nothing happens.

I'm getting this error (HTTP CODE 500)

Nov 18, 2016 1:02:19 AM org.apache.catalina.authenticator.FormAuthenticator
WARNING: No login page was defined for FORM authentication in context [/

I added the keycloak.json file in the WEB-INF and the context.xml file in
the META-INF. I have also done my security settings on the web.xml.



  "realm": "expocafe",

  "auth-server-url": "http://localhost:8080/auth",

  "ssl-required": "external",

  "resource": "sis",

  "credentials": {

    "secret": "8ccc6994-2e05-48d3-9aea-f6f31beb2819"




<?xml version='1.0' encoding='utf-8'?>

<Context path="/sis">

className="org.keycloak.adapters.tomcat.KeycloakAuthenticatorValve" />





                    <web-resource-name>Secured pages</web-resource-name>











       <!-- Rol definido en Keycloak para permitir el acceso basico a la
aplicacion -->




What could I check?

Keycloak v2.3.0.Final

Apache Tomcat 8.5

keycloak-user mailing list
keycloak-user at lists.jboss.org

More information about the keycloak-user mailing list