Hi
You are missing the adapter installation. 
Each app server must have the adapter configured so the security ctx KEYCLOAK has some meaning to your app server. 
See the documentation part about the adapter installation. Depending on the server type you have either lib only to provide to your server lib or some more configuration to do. For tomcat I only had to copy some jars 

On the download section there is an adapter folder in which you will find an archive with the things to install on your server type. 

Hope this help

Le samedi 2 janvier 2016, Mahantesh Prasad Katti <Mahantesh.Katti@indecomm.net> a écrit :

Hi All,

 

I have some web application deployed in glassfish. And we are trying to implement SSO using keycloak. I wanted to understand if keycloak secures and provides sso support for applications deployed on glassfish or if it is applicable to applications deployed on jboss only? I tried to secure a glassfish web application using keycloak [specifying the keycloak pom dependanies, keycloak.json and related entries in web.xml]. but I could not see the direction happening to keycloak for authentication. Am I missing something here? Appreciate any pointers.

 

Regards

Prasad