Hi Eric,

When leveraging CAS, the CAS server would provide the login page/validation
rather than wordpress/Liferay.
At the least, it sounds like you need, and have actually started, to
utilize Liferay portal's CAS integration.
I don't have Liferay setup/know its interaction behavior, but my first
thought is simply a link on a public wordpress page pointing to your
Liferay portal's entry/home page (with Liferay's CAS integration taking
care of the authentication, and bypassing login appropriately if a CAS SSO
session is already established).

If your case is such that users are required to log into wordpress rather
than just act as consumers of public pages (one of which has link over to
the entry of your Liferay portal), you would have to CASify wordpress (see:
https://wiki.jasig.org/display/CAS/CASifying+Wordpress).  The wordpress
login would be replaced by the CAS server login and the SSO session
established upon successful CAS login should be respected if/when they
choose to go over to the Liferay site (having your CAS integration).

If you decide on ldap for credentials, an authentication handler for this
is provided by the CAS server and just needs to be configured on the server
side (see: https://wiki.jasig.org/display/CASUM/LDAP).

Brian

On Wed, Dec 21, 2011 at 11:47 AM, Eric Machine <[email protected]>wrote:

> Hi everyone,
>
> I need some tips or guidelines on how I can do this.
>
> Right now, I have a website running on wordpress. We have spent a lot time
> on the website development and happy about it. We have an employee portal
> using Liferay. At this moment, there is a link on the website to Sign In.
> If I click on sign in, it will redirect to Liferay portal and then I will
> login via Liferay.
>
> This has been tedious and looks ugly. I am looking at how I can simplify
> this better with CAS. So when I click on Sign in link, it will redirect to
> a wordpress login page (custom page within the website). When I click on
> Login button, it will verify back end with CAS and if authenticates, will
> redirect to Liferay without a need to sign in 2nd time. If fails due to
> wrong password or user not found, I will be directed back to the login page
> with proper error handling.
>
> I have enabled CAS within liferay and tested. It looks okay to me, but I
> have no idea how to link with wordpress and liferay via CAS.
>
> I am considering to use LDAP to store the user credentials. Probably CAS
> can verify via LDAP or something.
>
> Anyone who can shed some thoughts on this or some examples? I found some
> wordpress plugins but I am not sure how to implement, not sure whether it
> works on my situation.
>
> Any help? Thanks.
>
> Regards,
> Eric
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to