Thursday, January 08, 2009

Password protected

A new component in our Coldtags suite - Password protected pages. Lets you create password protected pages on the fly. Custom JSP taglib lets you define authorized access only right in your JSP (and/or Coldfusion by the way) page. E.g. place the following code on the top of your page:

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

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

taglib lets you define user name/password pair for this page. And login dialog will be popped up by this taglib also.

No comments: