Sun Java System Portal Server 7.1 Technical Reference

LoginProvider

LoginProvider enables the Login channel to show up in the anonymous user’s Desktop. You can configure LoginProvider to enable users to log in and out using the Login channel. The system administrator can select one out of the three methods to enable users to log in: LDAP, Membership, or UNIX.

For the sample portal, if you specify the following URL in a browser, you see the authlessanonymous user’s Desktop, which contains the login channel.


http://hostname:port/portal/dt

By default, LoginProvider uses Membership authentication. No additional setup is required to use this channel. From the authlessanonymous user page, valid users can use the login channel, and new users can register using the Sign me up link in the channel. You can change the authentication module for the login channel.

The properties, which are specific to the LoginProvider and their description are:

Boolean name="persistentCookie"

Specifies if a persistent cookie is used to remember the user ID and password.

Boolean name="federationEnabled"

If set to true, the libertyLogin.Template is inserted.

String name="preLoginURL"

The value specified in the channel. This property is typically of the form:


http://www.siroe.con:80/amserver/preLogin?
metaAlias=www.siroe.com&
goto=http://www.siroe.com:80/portal/dt