I'm also interested in any news about Acegi & JSR-168 integration.
For using Acegi with JBoss Portal...
I'm also interested in any news about Acegi & JSR-168 integration.
For using Acegi with JBoss Portal...
By the way, for those interested in jboss portal integration, there is now this wiki.
http://wiki.jboss.org/wiki/Wiki.jsp?...Authentication
I will add some comment on how to configure the applicationContext-acegi-security.xml, when I have finished integration of all this...
Hi all
I want to use acegi in eXo Portal
has someone tested it?
no one tryied this integration?
is there documentation anywhere?
thanks to all
best regards
Massimiliano
Any help on how to integrate ACEGI security into portlet running on Liferay?
Thanks a lot in advance.
![]()
Hi all,
I have recently intagrated Acegi Security Framework with Liferay and JBoss portals. My solution allows us to use all of Acegi's authorization features within individual portlets.
The solution is applicaple for all other JSR-168 compliant portals, though I have currently applied it to only Liferay 4.2.2 and JBoss 2.6.1.
I have put the solution together with sample web applications into acegi-ext open source project. You can access it from this URL: http://sourceforge.net/projects/acegi-ext/
There is also another sub component called acegi-acl-management under acegi-ext,which helps us ACL management of domain objects decleratively.
You can also see documentation in which I explain the solution and use of Acegi Security features inside portals. Documenation url: http://ksevindik.googlepages.com/Ace...ration-0.1.doc
Kind Regards
Kenan Sevindik
http://ksevindik.blogspot.com
Thanks a lot,
I will surely look at it as soon as I come back to my work on Acegi.
I put a post in jboss forum to indicate this post...
Antoine
Thanks a lot Kenan!!!...
I'm sure your help will be much appreciated!!..
I'll definitely look at it.
Thanks once again.
There is a portlet support module in the 2.0 source tree
See
http://opensource.atlassian.com/proj...browse/SEC-133
Hi Kenan,
I tried to integrate the Acegi into Liferay portal followed by the document given by you (AcegiSecurityPortletIntegration-0.1). I tried to implement the first part of the solution (Delegating Liferay Authentication to Acegi Security Framework). I added the listener and filter to /liferay-portal/portal-web/docroot/WEB-INF/web.xml. When I am deploying the ear file I got the following errors.
<Oct 31, 2007 4:48:36 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListe ner failed: java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!.
java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
at org.springframework.web.context.ContextLoader.init WebApplicationConte
xt(ContextLoader.java:167)
at org.springframework.web.context.ContextLoaderListe ner.contextInitiali
zed(ContextLoaderListener.java:49)
at weblogic.servlet.internal.EventsManager$FireContex tListenerAction.run
(EventsManager.java:376)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
121)
Truncated. see log file for complete stacktrace
>
<Oct 31, 2007 4:48:36 PM IST> <Error> <HTTP> <BEA-101165> <Could not load user d
efined filter in web.xml: org.acegisecurity.util.FilterToBeanProxy.
java.lang.IllegalStateException: BeanFactory not initialized or already closed -
call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.context.support.AbstractRefres hableApplicationCon
text.getBeanFactory(AbstractRefreshableApplication Context.java:118)
at org.springframework.context.support.AbstractApplic ationContext.contai
nsBean(AbstractApplicationContext.java:648)
at org.acegisecurity.util.FilterToBeanProxy.doInit(Fi lterToBeanProxy.jav
a:123) ......
Any help on how to resolve the above issue.
Thanks a lot in advance.
Manohar