[Yanel-dev] Login

Balz Schreier balz.schreier at gmail.com
Sat Sep 18 00:31:14 CEST 2010


Hi,

I am quite new to Yanel and one thing I'm still not sure at is the Login
mechanism.:

- Assume that a lot of content is public (no login required).
- Certain areas require the user to login (either by clicking on a LOGIN
link or by accessing a protected resource, similar to URLs containing
"yanel.toolbar=3Don")

1) What possibilities are "best practices" within yanel to do a Login?
2) Do I need to implement something like YanelServlet.doAccessControl() for
my own resources?
3) Shall I trigger the login screen by passing a URL parameter like
"?myrealm.usecase=3Dlogin" and if that is available the login process is
triggered?
4) The Servlet Spec provides a mechanism to configure protected resources in
the web.xml. Is there something similar in Yanel where one can configure
URIs that should trigger the login mechanism?

Thanks for providing some hints, I guess I'll have to go for 2).

Logout on the other hand is easy, adding "yanel.logout=3Dtrue" to any URL.

Thanks
Cheers
Balz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2010091=
8/d7f65e58/attachment.htm


More information about the Yanel-development mailing list