com.ibm.di.api.remote.impl
Class SecurityRegistryImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by com.ibm.di.api.remote.impl.SecurityRegistryImpl
All Implemented Interfaces:
SecurityRegistry, Serializable, Remote

public class SecurityRegistryImpl
extends UnicastRemoteObject
implements SecurityRegistry

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Method Summary
static SecurityRegistryImpl createInstance(SecurityRegistry aLocalSecurityRegistry, SessionImpl aSession)
           
 boolean userCanExecuteAL(String aUserId, String aConfigId, String aAssemblyLine)
           
 boolean userCanExecuteAll(String aUserId)
           
 boolean userCanExecuteConfig(String aUserId, String aConfigId)
           
 boolean userCanExecuteConfigALs(String aUserId, String aConfigId)
           
 boolean userCanExecuteConfigEHs(String aUserId, String aConfigId)
           
 boolean userCanExecuteEH(String aUserId, String aConfigId, String aEventHandler)
           
 boolean userCanReadAll(String aUserId)
           
 boolean userCanReadConfig(String aUserId, String aConfigId)
           
 boolean userIsAdmin(String aUserId)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

userIsAdmin

public boolean userIsAdmin(String aUserId)
                    throws DIException,
                           RemoteException
Specified by:
userIsAdmin in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanReadConfig

public boolean userCanReadConfig(String aUserId,
                                 String aConfigId)
                          throws DIException,
                                 RemoteException
Specified by:
userCanReadConfig in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanExecuteAL

public boolean userCanExecuteAL(String aUserId,
                                String aConfigId,
                                String aAssemblyLine)
                         throws DIException,
                                RemoteException
Specified by:
userCanExecuteAL in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanExecuteEH

public boolean userCanExecuteEH(String aUserId,
                                String aConfigId,
                                String aEventHandler)
                         throws DIException,
                                RemoteException
Specified by:
userCanExecuteEH in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanExecuteConfig

public boolean userCanExecuteConfig(String aUserId,
                                    String aConfigId)
                             throws DIException,
                                    RemoteException
Specified by:
userCanExecuteConfig in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanExecuteConfigALs

public boolean userCanExecuteConfigALs(String aUserId,
                                       String aConfigId)
                                throws DIException,
                                       RemoteException
Specified by:
userCanExecuteConfigALs in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanExecuteConfigEHs

public boolean userCanExecuteConfigEHs(String aUserId,
                                       String aConfigId)
                                throws DIException,
                                       RemoteException
Specified by:
userCanExecuteConfigEHs in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanExecuteAll

public boolean userCanExecuteAll(String aUserId)
                          throws DIException,
                                 RemoteException
Specified by:
userCanExecuteAll in interface SecurityRegistry
Throws:
DIException
RemoteException

userCanReadAll

public boolean userCanReadAll(String aUserId)
                       throws DIException,
                              RemoteException
Specified by:
userCanReadAll in interface SecurityRegistry
Throws:
DIException
RemoteException

createInstance

public static SecurityRegistryImpl createInstance(SecurityRegistry aLocalSecurityRegistry,
                                                  SessionImpl aSession)
                                           throws DIException,
                                                  RemoteException
Throws:
DIException
RemoteException