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

java.lang.Object
  extended by com.ibm.di.api.local.impl.SecurityRegistryImpl
All Implemented Interfaces:
SecurityRegistry

public class SecurityRegistryImpl
extends Object
implements SecurityRegistry


Constructor Summary
SecurityRegistryImpl(SessionImpl aSession)
           
 
Method Summary
 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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRegistryImpl

public SecurityRegistryImpl(SessionImpl aSession)
Method Detail

userIsAdmin

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

userCanReadConfig

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

userCanExecuteAL

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

userCanExecuteEH

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

userCanExecuteConfig

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

userCanExecuteConfigALs

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

userCanExecuteConfigEHs

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

userCanExecuteAll

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

userCanReadAll

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