Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38

Thread: Acegi in portlets

  1. #21
    Join Date
    Apr 2007
    Location
    Paris
    Posts
    3

    Default

    I'm also interested in any news about Acegi & JSR-168 integration.
    For using Acegi with JBoss Portal...
    Antoine Herzog, VoiceXML, J2EE, Jboss Portal (JSR-168).
    www.sysemo.com, www.hearing-test-base.com

  2. #22
    Join Date
    Apr 2007
    Location
    Paris
    Posts
    3

    Default

    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...
    Antoine Herzog, VoiceXML, J2EE, Jboss Portal (JSR-168).
    www.sysemo.com, www.hearing-test-base.com

  3. #23

    Default what about eXo Portal?

    Hi all
    I want to use acegi in eXo Portal
    has someone tested it?

  4. #24

    Default

    no one tryied this integration?

    is there documentation anywhere?

    thanks to all
    best regards
    Massimiliano

  5. #25
    Join Date
    Jun 2007
    Location
    India
    Posts
    3

    Smile

    Any help on how to integrate ACEGI security into portlet running on Liferay?

    Thanks a lot in advance.


  6. #26

    Default Acegi Portlet Integration

    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

  7. #27
    Join Date
    Apr 2007
    Location
    Paris
    Posts
    3

    Default

    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
    Antoine Herzog, VoiceXML, J2EE, Jboss Portal (JSR-168).
    www.sysemo.com, www.hearing-test-base.com

  8. #28
    Join Date
    Jun 2007
    Location
    India
    Posts
    3

    Default

    Thanks a lot Kenan!!!...
    I'm sure your help will be much appreciated!!..
    I'll definitely look at it.

    Thanks once again.

  9. #29
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    There is a portlet support module in the 2.0 source tree

    See

    http://opensource.atlassian.com/proj...browse/SEC-133

  10. #30
    Join Date
    Jul 2007
    Posts
    7

    Default Problem in Integrating Acegi Security into Liferay portal

    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

Similar Threads

  1. Replies: 8
    Last Post: Mar 19th, 2008, 11:13 AM
  2. Acegi running fine. Howto add roles, ...
    By ThomasBecker in forum Security
    Replies: 9
    Last Post: Sep 16th, 2007, 08:16 AM
  3. Replies: 0
    Last Post: Jul 30th, 2005, 08:09 PM
  4. Acegi for LDAP
    By vaibhav.gandhi in forum Security
    Replies: 12
    Last Post: Jul 13th, 2005, 12:33 AM
  5. Replies: 4
    Last Post: Nov 2nd, 2004, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •