Also, for what it's worth if you add setUsername( .. ) and setPassword( .. ) methods then you could use this class with pure JSTL, which would be convenient:
Something like: <jsp:useBean id="pwDigest" class="com.caucho.server.security.PasswordDigest"> <jsp:setProperty name="passwordDigest" property="username" value="${param.username}"/> <jsp:setProperty name="passwordDigest" property="password" value="${param.password}"/> <jsp:setProperty name="passwordDigest" property="realm" value="resin"/> </jsp:useBean> <c:set var="digest"><jsp:getProperty name="passwordDigest" property="passwordDigest"/></c:set> Just a thought I would throw out there. There is probably a way to do something similar with the new CanDI stuff? -a > Is there any reason why the getPasswordDigest( .. ) methods in > PasswordDigest can't be static? > > Aaron > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > > > _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest