<div dir="ltr">Hi,<div><br></div><div>Afraid we don't have an adapter for Glassfish (we'd love to have one though if anyone wants to contribute). We had considered a JASPIC adapter in the past, but not sure what happened to it.</div><div><br></div><div>We do have a plain filter based adapter:</div><div><a href="https://github.com/keycloak/keycloak/tree/master/integration/servlet-filter/src/main/java/org/keycloak/adapters/servlet">https://github.com/keycloak/keycloak/tree/master/integration/servlet-filter/src/main/java/org/keycloak/adapters/servlet</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 January 2016 at 06:52, Mahantesh Prasad Katti <span dir="ltr"><<a href="mailto:Mahantesh.Katti@indecomm.net" target="_blank">Mahantesh.Katti@indecomm.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-IN" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I was wondering if we need to write some JASPIC module for glassfish in order for this to work? Or if there’s an adapter SDK that can be used?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Prasad<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Mahantesh Prasad Katti
<br>
<b>Sent:</b> Monday, January 04, 2016 7:14 PM<br>
<b>To:</b> Mahantesh Prasad Katti; Johan B.<br>
<b>Cc:</b> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<b>Subject:</b> RE: [keycloak-user] Keycloak to secure web applications deployed in glassfish<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Keycloak support team, I need some inputs on this use case. Could you please throw some light on the same.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Prasad<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:keycloak-user-bounces@lists.jboss.org" target="_blank">keycloak-user-bounces@lists.jboss.org</a> [mailto:<a href="mailto:keycloak-user-bounces@lists.jboss.org" target="_blank">keycloak-user-bounces@lists.jboss.org</a>]
<b>On Behalf Of </b>Mahantesh Prasad Katti<br>
<b>Sent:</b> Sunday, January 03, 2016 1:34 AM<br>
<b>To:</b> Johan B.<br>
<b>Cc:</b> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<b>Subject:</b> Re: [keycloak-user] Keycloak to secure web applications deployed in glassfish<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Np. I assume the support team is also part of this mailing list [making sure I don’t need to post this message on another forum].<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:johan.bos@gmail.com" target="_blank">johan.bos@gmail.com</a> [mailto:<a href="mailto:johan.bos@gmail.com" target="_blank">johan.bos@gmail.com</a>]
<b>On Behalf Of </b>Johan B.<br>
<b>Sent:</b> Sunday, January 03, 2016 1:26 AM<br>
<b>To:</b> Mahantesh Prasad Katti<br>
<b>Cc:</b> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<b>Subject:</b> Re: [keycloak-user] Keycloak to secure web applications deployed in glassfish<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Forget about jetty. <u></u><u></u></p>
<div>
<p class="MsoNormal">The doc does not provide any support for glass fish nor the download section<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">You will have to wait from support answer. Sorry<br>
<br>
Le samedi 2 janvier 2016, Johan B. <<a href="mailto:johan.bos@c6.eu" target="_blank">johan.bos@c6.eu</a>> a écrit :<u></u><u></u></p>
<p class="MsoNormal"><a href="https://docs.jboss.org/keycloak/docs/1.1.0.Final/userguide/html/ch08.html" target="_blank">https://docs.jboss.org/keycloak/docs/1.1.0.Final/userguide/html/ch08.html</a><u></u><u></u></p>
<div>
<p class="MsoNormal">You may have to wait from one of the keycloak support to give you details on which part is applying to you. To me probably jetty part is your best try<br>
<br>
Le samedi 2 janvier 2016, Mahantesh Prasad Katti <<a>Mahantesh.Katti@indecomm.net</a>> a écrit :<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks Johan for the info. I could not find any documentation for adapter for glassfish on the official
links. <a href="https://docs.jboss.org/keycloak/docs/1.1.0.Final/userguide/html/ch08.html#jboss-adapter-installation" target="_blank">
https://docs.jboss.org/keycloak/docs/1.1.0.Final/userguide/html/ch08.html#jboss-adapter-installation</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Prasad</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Johan
B. [mailto:<a href="mailto:johan.bos@gmail.com" target="_blank">johan.bos@gmail.com</a>] <br>
<b>Sent:</b> Sunday, January 03, 2016 1:00 AM<br>
<b>To:</b> Mahantesh Prasad Katti<br>
<b>Cc:</b> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<b>Subject:</b> Re: [keycloak-user] Keycloak to secure web applications deployed in glassfish</span><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Hi<u></u><u></u></p>
<div>
<p class="MsoNormal">You are missing the adapter installation. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Each app server must have the adapter configured so the security ctx KEYCLOAK has some meaning to your app server. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Hope this help<br>
<br>
Le samedi 2 janvier 2016, Mahantesh Prasad Katti <<a href="mailto:Mahantesh.Katti@indecomm.net" target="_blank">Mahantesh.Katti@indecomm.net</a>> a écrit :<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Regards<u></u><u></u></p>
<p class="MsoNormal">Prasad<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>