posted 13 years ago
If the user is registered correctly, when is logged, is automatically redirected to his own psml, localted in his user folder page.
Jetspeed in j2-admin have some login portlets, enought for me. if you want a custom login page, yo can modify web.xml:
<!-- Login configuration uses form-based authentication -->
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Jetspeed</realm-name>
<form-login-config>
<!--
<form-login-page>/login/login</form-login-page>
<form-error-page>/login/error</form-error-page>
-->
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/error.jsp</form-error-page>
</form-login-config>
</login-config>
this jsps are in the root of jetspeed.war:
<p>
<label for="j_username">User:</label>
<input type="text" size="15" id="j_username" name="j_username" class="InputLogin">
</p>
<p>
<label for="j_password">Password:</label>
<input type="password" size="15" id="j_password" name="j_password" class="InputLogin">
</p>
<p class="PanelBotones" >
<input type="submit" value="Enter" title="Enter" class="BotonLogin">
</p>
regards