[jboss-user] [JBoss Seam] - Re: Creating Mock for identity component

stu2 do-not-reply at jboss.com
Tue May 22 12:01:58 EDT 2007


Support for this was just added to seam in CVS (yesterday).  From the docs:

12.3. Disabling Security

In some situations it may be necessary to disable Seam Security, for example during unit tests. This can be done by calling the static method Identity.setSecurityEnabled(false) to disable security checks. Doing this prevents any security checks being performed for the following:

Entity Security
  | Hibernate Security Interceptor
  | Seam Security Interceptor
  | Page restrictions

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047632#4047632

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047632



More information about the jboss-user mailing list