Jahia Dev Forum > Passing SSO token...

0 (0 Good)
0 (0 Bad)

Passing SSO token from jahia to portlet

by  ando »  2012/11/12 15:22

Hi,

My portlet is linked to its own database and i need to know in my portlet the user logged on jahia. So how can i get sso token and pass it as parameter to the portlet?

thank you in advance.

  (ando)

Number of messages  6
Registration date
0 (0 Good)
0 (0 Bad)

Re: Passing SSO token from jahia to portlet

by  rvt »  2012/11/19 13:39

Ando,

for me within my portlet I always used getUserPrincipal()  or getRemoteUser() that always gave me the username of the logged in user within Jahia.

Ries

  • Re: Passing SSO token from jahia to portlet
    2012/11/19 13:39

    rvt <p> Ando,</p> <p> for me within my portlet I always used <strong>getUserPrincipal() &nbsp;or&nbsp;getRemoteUser() </strong>that always gave me the username of the logged in user within Jahia.</p> <p> Ries</p>

  • Number of messages  185
    Registration date Nov 19, 2012
    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