How to setup SSO with external application

146 views
Skip to first unread message

Martin Kováč

unread,
Dec 26, 2017, 2:04:28 PM12/26/17
to Payara Forum
Hi

* Our application is currently running on payara glassfish
* There is an initiative to have SSO with external application

What is the correct way to setup it?

thanks in advance

Ondrej Mihályi

unread,
Dec 26, 2017, 6:14:41 PM12/26/17
to Martin Kováč, Payara Forum
Hi, Martin,

Maybe this guide to set up Payara with ForgeRock's OpenAM would help you: http://blog.payara.fish/forgerock-integration-with-payara-server-part-1-installation

Ondro

--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/3e1d24f4-4092-47a2-8753-f48cf82592b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Martin Kováč

unread,
Jan 7, 2018, 3:45:29 AM1/7/18
to Payara Forum
Hi Ondro,

I checked that link also before, but I am not sure if I can make sso with application on different domain.

Do you think it is possible?

Thanks
Martin


On Wednesday, December 27, 2017 at 12:14:41 AM UTC+1, Ondro Mihályi wrote:
Hi, Martin,

Maybe this guide to set up Payara with ForgeRock's OpenAM would help you: http://blog.payara.fish/forgerock-integration-with-payara-server-part-1-installation

Ondro
2017-12-26 20:04 GMT+01:00 Martin Kováč <kc....@gmail.com>:
Hi

* Our application is currently running on payara glassfish
* There is an initiative to have SSO with external application

What is the correct way to setup it?

thanks in advance

--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.

Ondrej Mihályi

unread,
Jan 7, 2018, 4:51:21 PM1/7/18
to Martin Kováč, Payara Forum
Hi Martin,

Solutions like ForgeRock or Keycloak are very generic and support SSO on any applications, they can even run on different application servers. So yes, you can do SSO with ForgeRock even if your applications run on different Payara Server domains.

The built-in SSO in Payara Server is limited only to applications running on the same domain, that's why I suggested using Forge Rock and posted a link to a blog which describes how to set it up with Payara Server.

Ondro

To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/427a4ffa-6514-470c-a032-7e95fb503f1c%40googlegroups.com.

Martin Kováč

unread,
Feb 1, 2018, 5:10:04 AM2/1/18
to Payara Forum
Hi Ondro,

I found that I am not going to use standard SSO model. 
For my case external application makes a REST call and payara application should log in.
Injecting HttpServletRequest to Rest provider and calling request.login helped me to login and solve my problem.

thanks for your help.
Martin
Reply all
Reply to author
Forward
0 new messages