|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.security.AccessControllerImpl
public class AccessControllerImpl
| Field Summary | |
|---|---|
protected int |
dbType
|
static int |
DEFAULT_SESSION_TIMEOUT_MIN
|
static int |
LOGIN_FAILED
|
static int |
LOGIN_OK
|
| Constructor Summary | |
|---|---|
AccessControllerImpl(String jdbcURL)
--- |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_SESSION_TIMEOUT_MIN
public static final int LOGIN_OK
public static final int LOGIN_FAILED
protected int dbType
| Constructor Detail |
|---|
public AccessControllerImpl(String jdbcURL)
| Method Detail |
|---|
public void open()
throws PersistenceException
open in interface AccessControllerPersistenceException
public void close()
throws PersistenceException
close in interface AccessControllerPersistenceException
public Group findGroup(String name)
throws PersistenceException,
SecurityException
findGroup in interface AccessControllerPersistenceException
SecurityException
public Group findGroup(Long id)
throws PersistenceException,
SecurityException
findGroup in interface AccessControllerPersistenceException
SecurityException
public User findUser(String name)
throws PersistenceException,
SecurityException
findUser in interface AccessControllerPersistenceException
SecurityException
public User findUser(Long id)
throws PersistenceException,
SecurityException
findUser in interface AccessControllerPersistenceException
SecurityException
public Session findSession(Long id)
throws SecurityException
findSession in interface AccessControllerSecurityException
public Group createGroup(String name,
Session s)
throws PersistenceException,
SecurityException
createGroup in interface AccessControllerPersistenceException
SecurityException
public void deleteGroup(Long id,
Session s)
throws PersistenceException,
SecurityException
deleteGroup in interface AccessControllerPersistenceException
SecurityException
public void deleteGroup(Group grp,
Session s)
throws PersistenceException,
SecurityException
deleteGroup in interface AccessControllerPersistenceException
SecurityException
public User createUser(String name,
String passwd,
Session s)
throws PersistenceException,
SecurityException
createUser in interface AccessControllerPersistenceException
SecurityException
public void deleteUser(User usr,
Session s)
throws PersistenceException,
SecurityException
deleteUser in interface AccessControllerPersistenceException
SecurityException
public void deleteUser(Long id,
Session s)
throws PersistenceException,
SecurityException
deleteUser in interface AccessControllerPersistenceException
SecurityException
public Session login(String usr_name,
String passwd,
Long prefGroupID)
throws PersistenceException,
SecurityException
login in interface AccessControllerPersistenceException
SecurityException
public void logout(Session s)
throws SecurityException
logout in interface AccessControllerSecurityException
public void setSessionTimeout(Session s,
int timeoutMins)
throws SecurityException
setSessionTimeout in interface AccessControllerSecurityExceptionpublic boolean isValidSession(Session s)
isValidSession in interface AccessController
public List listGroups()
throws PersistenceException
listGroups in interface AccessControllerPersistenceException
public List listUsers()
throws PersistenceException
listUsers in interface AccessControllerPersistenceException
public void registerObjectModificationListener(ObjectModificationListener l,
int eventType)
public void unregisterObjectModificationListener(ObjectModificationListener l,
int eventType)
public void objectCreated(ObjectModificationEvent e)
objectCreated in interface ObjectModificationListenerpublic void objectModified(ObjectModificationEvent e)
objectModified in interface ObjectModificationListenerpublic void objectDeleted(ObjectModificationEvent e)
objectDeleted in interface ObjectModificationListenerpublic void processGateEvent(GateEvent e)
GateListener
processGateEvent in interface GateListenerpublic boolean isValidSecurityInfo(SecurityInfo si)
isValidSecurityInfo in interface AccessControllerpublic void finalize()
finalize in class Object
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||