[opencms-dev] User login to OrgUnit
Bozidar Ilievski
bozidar.ilievski at netcetera.com.mk
Tue Mar 18 15:14:15 CET 2008
Hi.
If your webusers are in another Organizational Unit,
than the fully qualified name of the user is: OrgUnit + Username.
Example:
If webusers organizational unit is "/webusers" and you have webuser
named: "user_xxx",
than the full username of this user will be "/webusers/user_xxx".
Regards,
Bobi.
Marc Schlegel wrote:
> Hi
>
> I am having problems to log in my webusers since I moved them to another
> OrgUnit.
> This is my code:
>
> CmsJspLoginBean cms = new CmsJspLoginBean(pageContext, request, response);
>
> if( action != null && action.equals("logout") ){
> cms.logout();
> }
> else if( action != null && action.equals("login") ){
> cms.login(username, password, "Fun-Alliance");
> if(!cms.isLoginSuccess())
> message = "Oh Oh....";
> else{
> response.sendRedirect(url); //login successful - redirect to
> given URL
> }
>
> }...
>
> When I am trying to log in a webuser the log tells me that there is no
> such user (but the user is definately there).
>
> Thanks
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
--
Bozidar Ilievski | bozidar.ilievski at netcetera.com.mk
phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495
Netcetera | 1000 Skopje | Macedonia | http://netcetera.com.mk
More information about the opencms-dev
mailing list