[opencms-dev] OpenCMS loginUser does help
Thomas Maerz
thomasmaerz at gmx.de
Thu Nov 28 15:57:51 CET 2002
Hello Nico,
> Thanks for this tip. I guess also that this will lead to my required
> solution. But I think the /authenticate.html
> Should have also a kind of logon mechanism.
>
> Do you have any idea how the JAVA Code for this template have to look like?
Take the two files:
copy
/system/login/index ---> /authenticate
/system/login/index.html ---> /authenticate.html
,----[ index.html ]
| <?xml version="1.0" encoding="ISO-8859-1"?>
| <PAGE>
| <CLASS>com.opencms.workplace.CmsLoginNew</CLASS>
| <MASTERTEMPLATE>index</MASTERTEMPLATE>
| </PAGE>
`----
,----[ authenticate.html ]
| <?xml version="1.0" encoding="ISO-8859-1"?>
| <PAGE>
| <CLASS>YourNewLoginClass</CLASS>
| <MASTERTEMPLATE>index</MASTERTEMPLATE>
| </PAGE>
`----
Now write your own Login.class. Just take the code from
com.opencms.workplace.CmsLoginNew and replace everything you don't need.
Regards,
Thomas
More information about the opencms-dev
mailing list