I need some free code, JSP, Servlet, or applet to simulate part of a "security" problem such as: * an easy to use sign on validation routine * an easy to use encryption package I've search around - and I'm looking for examples I can easily download, compile, and run. Also, any rules engine in JAVA that is easy to install may be good.
For validation (authorisation and authentiation), this is usually built into the J2EE complient server. It is better to manage security via configuration rather than programatically since you don't have to write the same code into every page and there is no danger of getting wrong once and leaving a security hole in your site.
subject: free code for secuity or pattern recognition