Jahia Dev Forum > Web App Integration...

0 (0 Good)
0 (0 Bad)

Web App Integration - Single Sign On

by  johncooke »  2011/06/07 20:42

Hi,

I'm looking to add content management to a site I'm developing, and Jahia looks like a useful tool to do this.

The functionality for the site is based around GWT components that call back to GWT-RPC running in a web app on the server since I want/need ajax capability.

The main requirement though is that I need to be able to identify who is logged in in the server-side application. Also I want to be able to use Jahia to display content based on the user's role. Hence the logged in user will need to be shared between Jahia and my own application components.

I can see how to embed my client side code into Jahia via placing directly on templates or via a portlet, and can easily deploy my server side war on the same instance of TomCat.

How can find out whether the user is logged in to Jahia and what roles/groups they have been granted. I had assumed that I'd be able to use TomCat SingleSignon, but of course closer investigation shows that that doesn't work. If Jahia used something like SpringSecurity for authentication and authorisation then that would be easy too (I'm sort of surprised that it doesn't given that it's architected around the Spring framework).

Is there any documentation or help on how to configure Jahia share authentication information across web apps, or even to a servlet delivered in a portlet war?

Any suggestions would be welcome.

Thanks
John
  • Web App Integration - Single Sign On
    2011/06/07 20:42

    johncooke Hi,<br/><br/>I'm looking to add content management to a site I'm developing, and Jahia looks like a useful tool to do this.<br/><br/>The functionality for the site is based around GWT components that call back to GWT-RPC running in a web app on the server since I want/need ajax capability. <br/><br/>The main requirement though is that I need to be able to identify who is logged in in the server-side application. Also I want to be able to use Jahia to display content based on the user's role. Hence the logged in user will need to be shared between Jahia and my own application components. <br/><br/>I can see how to embed my client side code into Jahia via placing directly on templates or via a portlet, and can easily deploy my server side war on the same instance of TomCat.<br/><br/>How can find out whether the user is logged in to Jahia and what roles/groups they have been granted. I had assumed that I'd be able to use TomCat SingleSignon, but of course closer investigation shows that that doesn't work. If Jahia used something like SpringSecurity for authentication and authorisation then that would be easy too (I'm sort of surprised that it doesn't given that it's architected around the Spring framework).<br/><br/>Is there any documentation or help on how to configure Jahia share authentication information across web apps, or even to a servlet delivered in a portlet war?<br/><br/>Any suggestions would be welcome.<br/><br/>Thanks<br/>John

  • Number of messages  2
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Web App Integration - Single Sign On

    by  erdem_ustun »  2011/06/07 20:42

    there is some document at http://www.jahia.org/cms/lang/en/home/Jahiapedia/Install_Jahia/Kerberosyou can check it.
    I don't know any details. I am so new in jahia,searching documents.
    maybe in future I need your experience about sso

  • Re: Web App Integration - Single Sign On
    2011/07/08 15:20

    erdem_ustun <p> there is some document at&nbsp;<a href="http://www.jahia.org/cms/lang/en/home/Jahiapedia/Install_Jahia/Kerberos">http://www.jahia.org/cms/lang/en/home/Jahiapedia/Install_Jahia/Kerberos</a>you can check it.<br /> I don&#39;t know any details. I am so new in jahia,searching documents.<br /> maybe in future I need your experience about sso</p>

  • Number of messages  50
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Web App Integration - Single Sign On

    by  johncooke »  2011/06/07 20:42

    Hi,

    Yes, I've read that and it appears to be specific to Kerberos.

    I want users to have user name and password authentication, and in reality I'm not that worried about single sign-on per se, but shared authentication between wars deployed to TomCat. In fact if I had to I'd be happy to merge my war with Jahia's war if it would be easier.

    However, at the moment I'm a little worried about using Jahia given how light the documentation is for configuring the system. The docs for users and authors seems fine, but for operating and configuring it is almost non-existent.

    Maybe it's all available for Jahia EE? Could anyone let me know?

    John
  • Re: Web App Integration - Single Sign On
    2011/06/07 20:42

    johncooke Hi,<br/><br/>Yes, I've read that and it appears to be specific to Kerberos. <br/><br/>I want users to have user name and password authentication, and in reality I'm not that worried about single sign-on per se, but shared authentication between wars deployed to TomCat. In fact if I had to I'd be happy to merge my war with Jahia's war if it would be easier. <br/><br/>However, at the moment I'm a little worried about using Jahia given how light the documentation is for configuring the system. The docs for users and authors seems fine, but for operating and configuring it is almost non-existent. <br/><br/>Maybe it's all available for Jahia EE? Could anyone let me know?<br/><br/>John

  • Number of messages  2
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page