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.
 LanguageResource LanguageResource.getParent()
          Returns the parent LR of this LR.
 void LanguageResource.setParent(LanguageResource parentLR)
          Sets the parent LR of this LR.
 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.
 LanguageResource AbstractLanguageResource.getParent()
          Returns the parent LR of this LR.
 void AbstractLanguageResource.setParent(LanguageResource parentLR)
          Sets the parent LR of this LR.
 

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