A collection of simple security-related tags using Atlassian's http://opensource.atlassian.com/seraph.
Usage examples
Some simple example will quickly show you what these tags can do:
Role based tag : <s:auth>
Path based tags : <s:spath> and <s:slink>
This outputs <a href="/context-path/foo/bar.action">hey you</a> if the user has access to path /foo/bar.action, otherwise outputs nothing.
This outputs <a href="/context-path/foo/bar.action">hey you</a> if the user has access to path /foo/bar.action, otherwise outputs hey you without the surrounding <a/>.
Path based tags require that you pass paths as they are configured in your Seraph setup, i.e. relative to the context path of your webapp, starting with a /. For the slink tag, if you specify a path starting with a /, the context path of your webapp will be prepended the href output, except if you specified a value of false for the includeContext attribute. (to be clarified)
