[opencms-dev] Question about login() mechanism

Anatol opencms at recordcaster.de
Tue Jul 26 10:30:08 CEST 2005


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






More information about the opencms-dev mailing list