[opencms-dev] Question about login() mechanism
Alexander Wallace
aw at avatartechnology.com
Tue Jul 26 23:04:59 CEST 2005
On Tuesday 26 July 2005 03:30 am, Anatol wrote:
that should redirect you to the specified resource if logged in correctly, and
i believe set's the project of the workspace.... It's an overloaded method,
it works without those (if i remember correctly)
> Hi All!
>
> I've a question about the login() mechanism. I read the login-sample and
> there I found the following lines:
>
> -----------------------------------------
> [...]
>
> CmsJspLoginBean cms = new CmsJspLoginBean(pageContext, request, response);
>
> [...]
>
> // read properties
> String login_project = cms.property("login_project", "search");
> String login_redirect = cms.property("login_redirect", "search");
>
> // now process the login data
> if ("logout".equals(action)) {
> cms.logout();
> } else if ("login".equals(action)) {
> cms.login(username, password, login_project, login_redirect);
> }
> [...]
> -----------------------------------------
>
> Whats about this login_project and login_redirect? For what did I use
> this? What means the parameter "search"?
>
>
> Greetings
> Anatol
>
>
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list