com.irisel.oms.auth.internal
Class SecurityManagerImpl
java.lang.Object
com.irisel.oms.auth.internal.SecurityManagerImpl
- All Implemented Interfaces:
- SecurityManager
public class SecurityManagerImpl
- extends java.lang.Object
- implements SecurityManager
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityManagerImpl
public SecurityManagerImpl(CLBrowser clb)
throws QueryTreeException
- Throws:
QueryTreeException
SecurityManagerImpl
public SecurityManagerImpl(CLBrowser clb,
Session s)
throws SecurityException
- Throws:
SecurityException
checkRead
public boolean checkRead(Session s,
QueryTree qt)
- Specified by:
checkRead
in interface SecurityManager
checkSave
public boolean checkSave(Session s,
QuerySave qs)
- Specified by:
checkSave
in interface SecurityManager
filter
public InstanceSet filter(Session thisSession,
InstanceSet is,
java.lang.String permType)
- Specified by:
filter
in interface SecurityManager
exec
public boolean exec(Session s,
java.lang.String method,
Instance focus,
java.lang.String[] args)
- Specified by:
exec
in interface SecurityManager
initScriptEngine
public void initScriptEngine()
getPerms
public InstanceSet getPerms(long roleid)
getPerms
public InstanceSet getPerms(java.lang.String rolename)
getPerms
public InstanceSet getPerms(java.lang.Object[] roles)
getPermVOs
public PermVO[] getPermVOs(java.lang.Object[] roles)
execScript
public void execScript(java.lang.String scr)
evalExpression
public boolean evalExpression(PermVO perm,
Instance focus,
Session s)