[Acegisecurity-developer] port (http/https) dependent FilterChainProxy
Hi all, Is it possible mean full to let the acegi filter chain be dependant on the url port ? An example of want I what should be better than long (frenchi-sism) sentences :) bean id=filterChainProxy class=org.acegisecurity.util.FilterChainProxy property name=filterInvocationDefinitionSource value![CDATA[ PATTERN_TYPE_APACHE_ANT 8080:/**=filter chain using classical login process. 8443:/**=filter chain using x509 client certicate login process. ]]/value /property /bean I think can write a custom FilterChainProxy which use the incoming request port to determine the filter chain to use or to dispach on another vanilla FilterChainProxy. But is it really valuable or did I miss something in aceci. Thanks. PS: I need this cause my application can be accessed from an intranet (x509) et from internet (form login). -- Quand le dernier arbre sera abattu, la dernière rivière asséchée, le dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas comestible - proverbe indien Cri - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] Can I have a secured page containing a form with method=post?
yap, I use to observe the same (odd) behaviour with standard j2ee form login configuration ... but with acegi you can alwaysUseDefaultTargetUrl to avoid this (setting default target to /init.action or a like). hih On Mon, Apr 21, 2008 at 12:36 PM, Sorin Postelnicu [EMAIL PROTECTED] wrote: Hi guys, Can anyone confirm to me that if I have a secured page and this page contains a form with method=post (and action=the same page), then the POST will not work? The behaviour that I noticed is that the POST is converted to a GET when going through the filter chain. Is this true? And is there any way to solve this? If anyone else encountered this problem, thank you for any solution or suggestion you can give me. Sorin Postelnicu - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer -- Quand le dernier arbre sera abattu, la dernière rivière asséchée, le dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas comestible - proverbe indien Cri - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] How to import acegi source to eclipse?
Hi, It's rather a maven question :) In general you have to: mvn eclipse:clean eclipse:eclipse eclipse:clean is needed to overwrite existing file ... in root module. But running in each module should also work. On Sat, May 24, 2008 at 4:57 AM, Oliver.Lee [EMAIL PROTECTED] wrote: hi,all good day i have checked out the code from svn, due to i am new to maven, i wonder how can i generate the project file properly, so that i can import the all acegi modules as one eclipse project? for example, run mvn eclipse:eclipse on root directory or on each submodules? thanks for any help! -- Oliver.Lee 2008-05-24 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer -- Quand le dernier arbre sera abattu, la dernière rivière asséchée, le dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas comestible - proverbe indien Cri - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] How to nonsecure some actions
Use the role #NONE when matching those url On Wed, Aug 20, 2008 at 6:11 AM, srinath narra [EMAIL PROTECTED]wrote: Hi, This is Srinath.I configured Acegi in my Application.Its working fine.but my problem is how to nonsecure some actions.i mean when a new user enter into the system.he needs registration.when he clicks on registration link every time it's redirecting to login page.how to non secure some jsp's and java actions.how to configured in xml. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer -- Quand le dernier arbre sera abattu, la dernière rivière asséchée, le dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas comestible - proverbe indien Cri - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer