English 中文(简体)
How do I use http-authentification with Liferay?
原标题:

How do I get users to authenticate by http-auth before they can access Liferay?

More specific: How do I use http-auth instead of Liferay s sign-in page or portlets. Access to Liferay should be completely blocked unless credentials have been presented by http-auth.

问题回答

I can t speak directly to how Liferay works, however, in JBoss Portal you have to manually modify the Portal s web.xml to include the appropriate authentication mechanism and desired roles.

I would assume that Liferay would probably be the same course of action since they are both Java-based web applications at their cores.

I m not near my (liferay) computer at the moment but you can configure Liferay by placing a portal-ext.properties in the bundle directory, and there are several authentication modules available simply by specifying an alternate class.





相关问题
WCF with Http Basic Authentication

I m building a webservice that needs to be accessible to a variety of potential platforms, including a number of older ASP and ASP .NET applications. After some research, I settled on a WCF service ...

Java: fetch URL with HTTPBasic Authentication

I m doing some simple HTTP authentication and am getting a java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic OGU0ZTc5ODBk(...trimmed from 76 chars...) (...more ...

Authenticating Gitweb with Gitosis without LDAP Auth?

I found your article using Apache Auth with gitweb, gitosis. I was wondering if there was a way to do this if I wasn t using LDAP for authentication. We currently have a very large NIS domain which ...

Back button must not go to previous page after signing out

I am developing an asp.net web site and I am not using inbuilt authentication controls of asp.net. I have created manually tables for users for site. What I want is as follows After logging in user ...

Authentication based on Certificates and IP

Is there a way for a java web app to get information on the security certificates installed on one s machine via a http request and selectively grant access if a particular certifiicate is installed ...

Netbeans Basic Http Auth Jax-WS

how can I access a webservice through a basic http authentification? I am using the netbeans built in webservice client features. But when I try to access the webservice, I get an exception with a 401 ...

热门标签