Custom JSP taglib lets you add OpenID delegation to your site.
Delegation allows you to use your own website as your identifier while using any third-party OpenID provider.
This requires only the ability to add a couple of headers to your page. Delegate taglib does this job.
You have to use delegate tag inside of HTTP headers section. For example, in our index.jsp page we
can describe this delegated request to OpenID server livejournal.com with user ID abava:
<%@ taglib uri="taglib.tld" prefix="d" %> <head> ... <d:OpenIDDelegate server="http://www.livejournal.com/openid/server.bml" user="http://abava.livejournal.com"> </d:OpenIDDelegate> ... </head> <body> ... Now on any third-party site with OpenID support we can use http://our_site/index.jsp ( or http://our_site) as authorization URL. Tags are: OpenIDDelegate Body tag adds OpenID delegate headers. Parameters are: 1) server describes an OpenID server
for downloading: Library: oiddeltag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|