I need integrate asegi, myfaces, spring and hibernate. Who can help me to do it? I need to know what librarys I can use?
Thanks. _____________________________________________________________________ Ing. Diosmani Meriño Hechavarría Universidad de las Ciencias Informáticas e-mail: [EMAIL PROTECTED] Teléfono: 837-2769 -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de [EMAIL PROTECTED] Enviado el: Wednesday, June 07, 2006 3:05 PM Para: [email protected] Asunto: Acegisecurity-developer Digest, Vol 2, Issue 3 Send Acegisecurity-developer mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Acegisecurity-developer digest..." Today's Topics: 1. RequestParameters ([EMAIL PROTECTED]) 2. $authz.hasPermission($contact, "16, 1") throws npe (Luo, Frank) ---------------------------------------------------------------------- Message: 1 Date: Wed, 7 Jun 2006 09:03:23 +0200 From: [EMAIL PROTECTED] Subject: [Acegisecurity-developer] RequestParameters To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Hi all, We are using a combination of acegi and spring webflow. To start our webflow process we must use a url with a certain request parameter in it. For example: http://www.myHost.com/private/something?_flowId The above URL is also a protected resource, so I get my ACEGI login screen. I'm able to log in BUT after logging in acegi forwards the request to http://www.myHost.com/private/something and not to http://www.myHost.com/private/something?_flowId Is there a way to also use the original parameters that were submitted ?? Thanks in advance ... Best regards, Tom. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=acegisecurity-developer/attachments/20060607/d60b4d80/attachment.html ------------------------------ Message: 2 Date: Wed, 7 Jun 2006 10:42:48 -0500 From: "Luo, Frank" <[EMAIL PROTECTED]> Subject: [Acegisecurity-developer] $authz.hasPermission($contact, "16, 1") throws npe To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" I am playing with the "contact" sample and try to change all jsps to velocity. However, I think there is a bug in org.acegisecurity.taglibs.velocity.AuthzImpl. A line like this throws a npe #if( $authz.hasPermission($contact, "16,1") ) I traced the code. AuthzImpl.setAppCtx(ApplicationContext appCtx) is never called and I couldn't figure out how to make it called from a web app. Hence I extended the class and made mine implements ViewTool to set AppCtx in init(), and it worked. But should this code be incorporated into AuthzImpl? ======================================================== package sample.contact.security; import org.acegisecurity.taglibs.velocity.AuthzImpl; import org.apache.velocity.tools.view.context.ViewContext; import org.apache.velocity.tools.view.tools.ViewTool; import org.springframework.web.context.support.WebApplicationContextUtils; public class MyAuthzImpl extends AuthzImpl implements ViewTool { public void init( Object obj ) { if ( !( obj instanceof ViewContext ) ) { throw new IllegalArgumentException( "Tool can only be initialized with a ViewContext" ); } ViewContext context = ( ViewContext ) obj; setAppCtx( WebApplicationContextUtils.getWebApplicationContext(context.getServletCo ntext())); } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=acegisecurity-developer/attachments/20060607/4867637e/attachment.html ------------------------------ ------------------------------ _______________________________________________ Acegisecurity-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer End of Acegisecurity-developer Digest, Vol 2, Issue 3 ***************************************************** _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
