com.irisel.oms.auth
Class SecurityManagerFactory

java.lang.Object
  extended by com.irisel.oms.auth.SecurityManagerFactory

public class SecurityManagerFactory
extends java.lang.Object


Method Summary
static SecurityManager getClientSecurityManager(CLBrowser clb, Session s)
          Creates and initializes a Security Manager for use at server side.
static SecurityManager getServerSecurityManager(CLBrowser clb)
          Creates and initializes a Security Manager for use at client side.
static void resetSecurityManager()
          Sets to null the security manager singleton.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClientSecurityManager

public static SecurityManager getClientSecurityManager(CLBrowser clb,
                                                       Session s)
                                                throws SecurityException
Creates and initializes a Security Manager for use at server side. Loads all perms / roles

Returns:
Throws:
QueryTreeException
QueryTreeException
SecurityException

resetSecurityManager

public static void resetSecurityManager()
Sets to null the security manager singleton.


getServerSecurityManager

public static SecurityManager getServerSecurityManager(CLBrowser clb)
                                                throws QueryTreeException
Creates and initializes a Security Manager for use at client side. Loads all perms / roles for current user.

Returns:
Throws:
QueryTreeException