Anil Saldhana [
http://community.jboss.org/people/anil.saldhana%40jboss.com] commented on
the document
"PicketBox Audit"
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-14746#comment-4882
--------------------------------------------------
Very similar to the @Authorization annotation.
Try:
@SecurityAudit(modules ={@Module(code = SomeAuditProvider.class, options =
{@ModuleOption(key="roles",value="validuser")})})
*public* *class* AnnotatedPOJO
{
}
You can resuse the audit providers in PicketBox ( http://
http://anonsvn.jboss.org/repos/picketbox/trunk/security-jboss-sx/jbosssx/...).
Currently, we provide Log4J provider. You can certainly write your own provider.
--------------------------------------------------