Password protected pages taglib ver. 1.2

    Custom JSP taglib lets you provide the password protected pages. You can set user name/password pair required for access to some JSP page right in JSP code. Taglib will popup the login dialog and opens/prohibits access to your page. For example:

<%@ taglib uri="taglib.tld" prefix="p" %>

<p:PasswordProtect realm="Protected" name="guest" password="12345"/>
// rest of your JSP (HTML) code

Just use this taglib at the beginning (on the top) of your page.

Tags are:


Body tag lets you allow access to your page for the authorized visitors only. Parameters are:

1) name Describes a valid user name.
2) password Describes a valid password.
3) realm Describes a realm (caption for the login dialog window).
4) error Optional parameter. Describes a page non-authorized visitors will be redirected to.

for downloading:

 Library: passfiletag.jar     Description: taglib.tld  

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: