On Mon, 14 May 2001, Rich Catlett wrote:
> I was curious if anyone had had a chance to take a look at the random
> taglibs I sent out friday.
Yeah, I took a quick look on Friday and liked the idea. One thought --
you might want to consider allowing the user to specify a particular
Random object to use. Since the primary use for this option would
probably be to pass in a particular SecureRandom object, you could accept
strings for SPI and provider (as the SecureRandom constructor accepts) if
you want to avoid accepting an rtexprvalue.
E.g.,
<random ... algorithm="SHA1PRNG"/>
<random ... algorithm="SHA1PRNG" provider="SUN"/>
or, with an rtexprvalue,
<random ... generator="<%= secureRandomInstance %>"/>
Shawn