[jboss-dev-forums] [PicketBox Development] - PicketBox Audit

Anil Saldhana do-not-reply at jboss.com
Wed Dec 8 05:42:09 EST 2010


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/src/main/java/org/jboss/security/audit/providers/). Currently, we provide Log4J provider.  You can certainly write your own provider.
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101208/c00ebe69/attachment-0001.html 


More information about the jboss-dev-forums mailing list