Re: [Acegisecurity-developer] How to nonsecure some actions

2008-08-20 Thread olivier nouguier
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=100&url=/
> ___
> 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=100&url=/___
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?

2008-05-25 Thread olivier nouguier
Eclipe cannot handle project containing another eclipse project.
So you should not import parent project.
Running :
mvn eclipse:clean eclipse:m2eclipse if your are using m2clipse plug in
OR
mvn eclipse:clean eclipse:eclipse if your are not using m2clipse plug in.

Will build all needed eclipse metadata (.project, .classpath) in all the
acegi modules.
Then simply import "existing project into workspace".


2008/5/24 Oliver.Lee <[EMAIL PROTECTED]>:

>  i am sorry for this question should be posted to maven mailinglist.
> i think if i import the parent project,all the sub modules will lose their
> project nature, recognize by eclipse as the ordinary file of the parent
> project. how to handle this?
>
>  --
>  Oliver.Lee
> 2008-05-24
>  --
>  *发件人:* olivier nouguier
> *发送时间:* 2008-05-24 19:42:42
> *收件人:* acegisecurity-developer@lists.sourceforge.net
> *抄送:*
> *主题:* 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
>
>


-- 
"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 import acegi source to eclipse?

2008-05-24 Thread olivier nouguier
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] Can I have a secured page containing a form with method="post"?

2008-04-21 Thread olivier nouguier
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


[Acegisecurity-developer] port (http/https) dependent FilterChainProxy

2008-04-09 Thread olivier nouguier
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 :)







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