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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to