Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

A collection of simple security-related tags using 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="/foo/bar.action">hey you</a> if the user has access to path /foo/bar.action, otherwise outputs nothing.

This outputs <a href="/foo/bar.action">hey you</a> if the user has access to path /foo/bar.action, otherwise outputs hey you without the surrounding <a/>.

  • No labels