Difference between revisions of "D4Science Portal HTTPS x509 Certificate Authentication"
From Gcube Wiki
Line 8: | Line 8: | ||
# Copy the war file to Liferay_home/deploy | # Copy the war file to Liferay_home/deploy | ||
# Restart liferay instance | # Restart liferay instance | ||
− | + | <br/> | |
Auto Login hook is now ready to be tested and used. | Auto Login hook is now ready to be tested and used. | ||
+ | <br/> | ||
+ | Configuration needed at liferay Web UI:<br/> | ||
+ | # |
Revision as of 15:50, 30 July 2010
This is a custom Auto login hook that provides customised authentication for X509 certificate users. Set the dev environment
- Unzip the file [1] onto your "plugin-sdk/hooks" folder.
- Copy the AutoLoginCustom.java source to the src folder
- Add the following line to portal.properties file:
auto.login.hooks=com.liferay.portal.security.auth.BasicAuthHeaderAutoLogin,com.liferay.portal.security.auth.AutoLoginCustom
- Run "ant war" - The war file will be created in the plugins-sdk/dist folder.
- Copy the war file to Liferay_home/deploy
- Restart liferay instance
Auto Login hook is now ready to be tested and used.
Configuration needed at liferay Web UI: