## Uses of Class
gate.security.SecurityException

Packages that use SecurityException
gate
gate.creole
gate.gui
gate.persist
gate.security

Uses of SecurityException in gate

Methods in gate that throw SecurityException
`void` `LanguageResource.sync()` Save: synchonise the in-memory image of the LR with the persistent image.
`void` `DataStore.delete(String lrClassName, Object lrId)` Delete a resource from the data store.
`void` `DataStore.sync(LanguageResource lr)` Save: synchonise the in-memory image of the LR with the persistent image.
`LanguageResource` `DataStore.adopt(LanguageResource lr, SecurityInfo secInfo)` Adopt a resource for persistence.
`LanguageResource` `DataStore.getLr(String lrClassName, Object lrId)` Get a resource from the persistent store.
`boolean` `DataStore.canReadLR(Object lrID)` Checks if the user (identified by the sessionID) has read access to the LR
`boolean` `DataStore.canWriteLR(Object lrID)` Checks if the user (identified by the sessionID) has write access to the LR
`void` `DataStore.setSecurityInfo(LanguageResource lr, SecurityInfo si)` set security information for LR .
`void` `DataStore.setSession(Session s)` identify user using this datastore
`Session` `DataStore.getSession(Session s)` identify user using this datastore
`boolean` `DataStore.lockLr(LanguageResource lr)` Try to acquire exlusive lock on a resource from the persistent store.
`void` `DataStore.unlockLr(LanguageResource lr)` Releases the exlusive lock on a resource from the persistent store.

Uses of SecurityException in gate.creole

Methods in gate.creole that throw SecurityException
`void` `AbstractLanguageResource.sync()` Save: synchonise the in-memory image of the LR with the persistent image.

Uses of SecurityException in gate.gui

Methods in gate.gui that throw SecurityException
`static Session` `UserGroupEditor.login(AccessController ac, Component parent)`

Uses of SecurityException in gate.persist

Methods in gate.persist that throw SecurityException
`abstract void` `JDBCDataStore.delete(String lrClassName, Object lrId)` Delete a resource from the data store.
`abstract void` `JDBCDataStore.sync(LanguageResource lr)` Save: synchonise the in-memory image of the LR with the persistent image.
`abstract LanguageResource` `JDBCDataStore.adopt(LanguageResource lr, SecurityInfo secInfo)` Adopt a resource for persistence.
`abstract LanguageResource` `JDBCDataStore.getLr(String lrClassName, Object lrPersistenceId)` Get a resource from the persistent store.
`abstract boolean` `JDBCDataStore.canReadLR(Object lrID)` Checks if the user (identified by the sessionID) has read access to the LR
`abstract boolean` `JDBCDataStore.canWriteLR(Object lrID)` Checks if the user (identified by the sessionID) has write access to the LR
`void` `JDBCDataStore.setSession(Session s)` identify user using this datastore
`Session` `JDBCDataStore.getSession(Session s)` identify user using this datastore
`void` `OracleDataStore.delete(String lrClassName, Object lrId)` Delete a resource from the data store.
`void` `OracleDataStore.sync(LanguageResource lr)` Save: synchonise the in-memory image of the LR with the persistent image.
`private void` `OracleDataStore._sync(LanguageResource lr, boolean openNewTrans)` Save: synchonise the in-memory image of the LR with the persistent image.
`LanguageResource` `OracleDataStore.adopt(LanguageResource lr, SecurityInfo secInfo)` Adopt a resource for persistence.
`private LanguageResource` `OracleDataStore._adopt(LanguageResource lr, SecurityInfo secInfo, boolean openNewTrans)` helper for adopt()
`private Long` `OracleDataStore.createLR(String lrType, String lrName, SecurityInfo si, Long lrParentID)` helper for adopt() never call directly
`private Document` `OracleDataStore.createDocument(Document doc, SecurityInfo secInfo)` helper for adopt creates a LR of type Document
`private Document` `OracleDataStore.createDocument(Document doc, Long corpusID, SecurityInfo secInfo)` helper for adopt creates a LR of type Document
`private Corpus` `OracleDataStore.createCorpus(Corpus corp, SecurityInfo secInfo)` creates a LR of type Corpus
`LanguageResource` `OracleDataStore.getLr(String lrClassName, Object lrPersistenceId)` Get a resource from the persistent store.
`boolean` `OracleDataStore.canReadLR(Object lrID)` Checks if the user (identified by the sessionID) has read access to the LR
`boolean` `OracleDataStore.canWriteLR(Object lrID)` Checks if the user (identified by the sessionID) has write access to the LR
`private boolean` `OracleDataStore.canAccessLR(Long lrID, int mode)` Checks if the user (identified by the sessionID) has some access (read/write) to the LR
`void` `OracleDataStore.setSecurityInfo(LanguageResource lr, SecurityInfo si)` set security information for LR .
`boolean` `OracleDataStore.lockLr(LanguageResource lr)` Try to acquire exlusive lock on a resource from the persistent store.
`private boolean` `OracleDataStore._lockLr(Long lrID)` helper for lockLR() never call directly
`void` `OracleDataStore.unlockLr(LanguageResource lr)` Releases the exlusive lock on a resource from the persistent store.
`private User` `OracleDataStore.getLockingUser(LanguageResource lr)` Releases the exlusive lock on a resource from the persistent store.
`private User` `OracleDataStore.getLockingUser(Long lrID)` Releases the exlusive lock on a resource from the persistent store.
`private void` `OracleDataStore.addDocumentToCorpus(Long docID, Long corpID)` adds document to corpus in the database if the document is already part of the corpus nothing changes
`LanguageResource` `SerialDataStore.adopt(LanguageResource lr, SecurityInfo secInfo)` Adopt a resource for persistence.
`LanguageResource` `SerialDataStore.getLr(String lrClassName, Object lrPersistenceId)` Get a resource from the persistent store.
`boolean` `SerialDataStore.canReadLR(Object lrID)` Checks if the user (identified by the sessionID) has read access to the LR
`boolean` `SerialDataStore.canWriteLR(Object lrID)` Checks if the user (identified by the sessionID) has write access to the LR
`void` `SerialDataStore.setSecurityInfo(LanguageResource lr, SecurityInfo si)` set security information for LR .
`void` `SerialDataStore.setSession(Session s)` identify user using this datastore
`Session` `SerialDataStore.getSession(Session s)` identify user using this datastore
`boolean` `SerialDataStore.lockLr(LanguageResource lr)` Try to acquire exlusive lock on a resource from the persistent store.
`void` `SerialDataStore.unlockLr(LanguageResource lr)` Releases the exlusive lock on a resource from the persistent store.

Uses of SecurityException in gate.security

Methods in gate.security that throw SecurityException
`void` `Group.setName(String newName, Session s)` ---
`void` `Group.addUser(Long userID, Session s)` ---
`void` `Group.addUser(User usr, Session s)` ---
`void` `Group.removeUser(Long userID, Session s)` ---
`void` `Group.removeUser(User usr, Session s)` ---
`void` `GroupImpl.setName(String newName, Session s)` ---
`void` `GroupImpl.addUser(Long userID, Session s)` ---
`void` `GroupImpl.addUser(User usr, Session s)` ---
`void` `GroupImpl.removeUser(Long userID, Session s)` ---
`void` `GroupImpl.removeUser(User usr, Session s)` ---
`Group` `AccessControllerImpl.findGroup(String name)` ---
`Group` `AccessControllerImpl.findGroup(Long id)` ---
`User` `AccessControllerImpl.findUser(String name)` ---
`User` `AccessControllerImpl.findUser(Long id)` ---
`Session` `AccessControllerImpl.findSession(Long id)` ---
`Group` `AccessControllerImpl.createGroup(String name, Session s)` ---
`void` `AccessControllerImpl.deleteGroup(Long id, Session s)` ---
`void` `AccessControllerImpl.deleteGroup(Group grp, Session s)` ---
`User` `AccessControllerImpl.createUser(String name, String passwd, Session s)` ---
`void` `AccessControllerImpl.deleteUser(User usr, Session s)` ---
`void` `AccessControllerImpl.deleteUser(Long id, Session s)` ---
`Session` `AccessControllerImpl.login(String usr_name, String passwd, Long prefGroupID)` ---
`void` `AccessControllerImpl.logout(Session s)` ---
`void` `AccessControllerImpl.setSessionTimeout(Session s, int timeoutMins)` ---
`private boolean` `AccessControllerImpl.canDeleteGroup(Group grp)`
`private boolean` `AccessControllerImpl.canDeleteUser(User usr)`
`Group` `AccessController.findGroup(String name)` ---
`Group` `AccessController.findGroup(Long id)` ---
`User` `AccessController.findUser(String name)` ---
`User` `AccessController.findUser(Long id)` ---
`Session` `AccessController.findSession(Long id)` ---
`Group` `AccessController.createGroup(String name, Session s)` ---
`void` `AccessController.deleteGroup(Long id, Session s)` ---
`void` `AccessController.deleteGroup(Group grp, Session s)` ---
`User` `AccessController.createUser(String name, String passwd, Session s)` ---
`void` `AccessController.deleteUser(User usr, Session s)` ---
`void` `AccessController.deleteUser(Long id, Session s)` ---
`Session` `AccessController.login(String usr_name, String passwd, Long prefGroupID)` ---
`void` `AccessController.logout(Session s)` ---
`void` `AccessController.setSessionTimeout(Session s, int timeoutMins)` ---
`boolean` `AccessController.isValidSession(Session s)` ---
`void` `UserImpl.setName(String newName, Session s)` changes user name Only members of the ADMIN group have sufficient privileges.
`void` `UserImpl.setPassword(String newPass, Session s)` changes user password Only members of the ADMIN group and the user himself have sufficient privileges
`void` `User.setName(String newName, Session s)` changes user name Only members of the ADMIN group have sufficient privileges.
`void` `User.setPassword(String newPass, Session s)` changes user password Only members of the ADMIN group and the user himself have sufficient privileges