Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

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>

Code Block
xml
xml
<s:auth requiredRole="admin">this text will only appear if the logged user has the 'admin' role</s:auth>

Path based tags : <s:spath> and <s:slink>

Code Block
xml
xml
<s:spath href="/foo">this text will only appear is user has access to the /foo path</s:spath>

...