Re: [Wicket-user] How to do simple authentication with Wicket

2007-02-22 Thread Andrew Klochkov
Start from looking at wicket-auth-roles and wicket-auth-roles-examples
projects. Also look here:

http://www.nabble.com/Wicket-With-Acegi-t2478230.html
http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg20497.html

Peter Thomas wrote:
> Oops just discovered getSecuritySettings() from
> SignInApplication.java.  Guess I didn't look hard enough.
>
> If anyone has had success integrating Acegi, would be great to get
> tips / suggestions.
>
> On 2/22/07, *Peter Thomas* < [EMAIL PROTECTED]
> > wrote:
>
> Hi,
>
> Please give me some pointers on handling authentication in
> Wicket.  I tried digging into the "library" example, i.e.
> AuthenticatedWebPage but there's nothing much in there.
>
> If there is a simple technique I can use within my Application and
> a custom Session, I would prefer that for now instead of the
> wicket-auth-roles.  Maybe all I need to know is where in the life
> cycle of a request I need to write the check for an authenticated
> principal etc.
>
> I am almost done migrating an application using Acegi + Spring MVC
> to Wicket.  If anyone has some tips on integrating Acegi also that
> would be great.  However the more I work with Wicket the more I
> realize that since everything is in good old Java code - you
> really don't need any more external abstractions for e.g. to
> conditional hide / show components based on role.
>
> Thanks,
>
> Peter. 
>
>
> 
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>   


-- 
Andrew Klochkov


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to do simple authentication with Wicket

2007-02-22 Thread Peter Thomas

Oops just discovered getSecuritySettings() from SignInApplication.java.
Guess I didn't look hard enough.

If anyone has had success integrating Acegi, would be great to get tips /
suggestions.

On 2/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


Hi,

Please give me some pointers on handling authentication in Wicket.  I
tried digging into the "library" example, i.e. AuthenticatedWebPage but
there's nothing much in there.

If there is a simple technique I can use within my Application and a
custom Session, I would prefer that for now instead of the
wicket-auth-roles.  Maybe all I need to know is where in the life cycle of a
request I need to write the check for an authenticated principal etc.

I am almost done migrating an application using Acegi + Spring MVC to
Wicket.  If anyone has some tips on integrating Acegi also that would be
great.  However the more I work with Wicket the more I realize that since
everything is in good old Java code - you really don't need any more
external abstractions for e.g. to conditional hide / show components based
on role.

Thanks,

Peter.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How to do simple authentication with Wicket

2007-02-22 Thread Peter Thomas

Hi,

Please give me some pointers on handling authentication in Wicket.  I tried
digging into the "library" example, i.e. AuthenticatedWebPage but there's
nothing much in there.

If there is a simple technique I can use within my Application and a custom
Session, I would prefer that for now instead of the wicket-auth-roles.
Maybe all I need to know is where in the life cycle of a request I need to
write the check for an authenticated principal etc.

I am almost done migrating an application using Acegi + Spring MVC to
Wicket.  If anyone has some tips on integrating Acegi also that would be
great.  However the more I work with Wicket the more I realize that since
everything is in good old Java code - you really don't need any more
external abstractions for e.g. to conditional hide / show components based
on role.

Thanks,

Peter.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user