sunlabs.brazil.sunlabs
Class DigestTemplate

java.lang.Object
  extended by sunlabs.brazil.template.Template
      extended by sunlabs.brazil.sunlabs.DigestTemplate (view source)
All Implemented Interfaces:
TemplateInterface

public class DigestTemplate
extends Template

Compute the Base64 encoded SHA1 digest of a value (so I don't have to store plain text passwords). This should probably be added to the Calculator, but this is easier.
<digest name=nnn value=vvv>


Field Summary
 
Fields inherited from class sunlabs.brazil.template.Template
debug
 
Constructor Summary
DigestTemplate()
           
 
Method Summary
 void tag_digest(RewriteContext hr)
           
 
Methods inherited from class sunlabs.brazil.template.Template
done, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigestTemplate

public DigestTemplate()
Method Detail

tag_digest

public void tag_digest(RewriteContext hr)

Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.