Posted by Niklas Heidloff | April 24, 2009
There is a new reusable control on OpenNTF
to let users log in. Open the OpenNTF
catalog and then the XPages
This XPage custom "login" control (ccLoginControl) can be added
into your XPages. There is a sample "LoginTest" XPage within
this nsf together with a cut down "Blue" theme which uses the
The control detects whether authentication is basic or session based and
behaves accordingly (no logout for basic etc).
There is an optional parameter "logoutRedirectURL" which can
be used to set a redirect when users log out of the application (otherwise
they get directed to the root). This is set within the custom control's
properties when adding to your XPage.
To run the nsf file in your environment you will need to sign the template.