Skip to content

roclas/liferay7.0AutoLoginExample

Repository files navigation

Very simple auto login example to demonstrate how the servlet filters and the auto-loging in liferay work.

It comes with a nodejs server that intercepts http calls to liferay and injects an "iv-user" into the http headers, the same way webseal does.

The autologin module is added to the Liferay authentication pipeline, loging the user as the user the "iv-user" header indicates.

How to use it:

Start the nodejs firewall by going to firewall_proxy_simulation_scripts and doing:

npm install

and

./run.js

You will have a proxy that will intercept your http requests to liferay and will force you to log in.

Deploy your autoLogin portlet in Liferay

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published