[jboss-user] [JBoss Seam] - Re: EntitySecurityListener and MDBs
mtpettyp
do-not-reply at jboss.com
Fri Aug 31 13:43:41 EDT 2007
I started hacking around with the source and I came up with the following solution:
Change Identity.isSecurityEnabled():
| public static boolean isSecurityEnabled()
| {
| return securityEnabled &&
| Contexts.isSessionContextActive()&&
| Identity.instance().isIdentitySecurityEnabled();
| }
|
Add the following methods to Identity:
| private boolean identitySecurityEnabled;
| <snip/>
|
| public boolean isIdentitySecurityEnabled()
| {
| return identitySecurityEnabled;
| }
|
| public void setIdentitySecurityEnabled(boolean enabled)
| {
| identitySecurityEnabled = enabled;
| }
|
This solves both my problem mentioned above.
If any of the Seam committers think this is a valid solution I can create a JIRA issue and attach the patch.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080108#4080108
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080108
More information about the jboss-user
mailing list