GATE
Version 3.1-2270

Uses of Class
gate.security.SecurityException

Packages that use SecurityException
gate This package contains the public interface to the GATE Java API. 
gate.creole   
gate.gui   
gate.persist   
gate.security   
 

Uses of SecurityException in gate
 

Methods in gate that throw SecurityException
 LanguageResource DataStore.adopt(LanguageResource lr, SecurityInfo secInfo)
          Adopt a resource for persistence.
 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.delete(String lrClassName, Object lrId)
          Delete a resource from the data store.
 LanguageResource DataStore.getLr(String lrClassName, Object lrId)
          Get a resource from the persistent store.
 LanguageResource LanguageResource.getParent()
          Returns the parent LR of this LR.
 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 LanguageResource.setParent(LanguageResource parentLR)
          Sets the parent LR of this LR.
 void DataStore.setSecurityInfo(LanguageResource lr, SecurityInfo si)
          set security information for LR .
 void DataStore.setSession(Session s)
          identify user using this datastore
 void LanguageResource.sync()
          Save: synchonise the in-memory image of the LR with the persistent image.
 void DataStore.sync(LanguageResource lr)
          Save: synchonise the in-memory image of the LR with the persistent image.
 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
 LanguageResource AbstractLanguageResource.getParent()
          Returns the parent LR of this LR.
 void AbstractLanguageResource.setParent(LanguageResource parentLR)
          Sets the parent LR of this LR.
 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
protected  LanguageResource JDBCDataStore._adopt(LanguageResource lr, SecurityInfo secInfo, boolean openNewTrans)
           
protected  void JDBCDataStore._sync(LanguageResource lr, boolean openNewTrans)
          Save: synchonise the in-memory image of the LR with the persistent image.
protected abstract  void JDBCDataStore._syncLR(LanguageResource lr)
          helper for sync() NEVER call directly
protected  void OracleDataStore._syncLR(LanguageResource lr)
          helper for sync() NEVER call directly
protected  void PostgresDataStore._syncLR(LanguageResource lr)
          helper for sync() NEVER call directly
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  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
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
 LanguageResource JDBCDataStore.adopt(LanguageResource lr, SecurityInfo secInfo)
          Adopt a resource for persistence.
 LanguageResource SerialDataStore.adopt(LanguageResource lr, SecurityInfo secInfo)
          Adopt a resource for persistence.
protected  boolean JDBCDataStore.canAccessLR(Long lrID, int mode)
          Checks if the user (identified by the sessionID) has some access (read/write) to the LR
protected  boolean OracleDataStore.canAccessLR(Long lrID, int mode)
          Checks if the user (identified by the sessionID) has some access (read/write) to the LR
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 JDBCDataStore.canReadLR(Object lrID)
          Checks if the user (identified by the sessionID) has read access to the LR
 boolean SerialDataStore.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
 boolean SerialDataStore.canWriteLR(Object lrID)
          Checks if the user (identified by the sessionID) has write access to the LR
protected  Corpus JDBCDataStore.createCorpus(Corpus corp, SecurityInfo secInfo, boolean newTransPerDocument)
          creates a LR of type Corpus
protected  Document JDBCDataStore.createDocument(Document doc, Long corpusID, SecurityInfo secInfo)
          helper for adopt creates a LR of type Document
protected  Document JDBCDataStore.createDocument(Document doc, 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  Long OracleDataStore.createLR(String lrType, String lrName, SecurityInfo si, Long lrParentID)
          helper for adopt() never call directly
protected  Long PostgresDataStore.createLR(String lrType, String lrName, SecurityInfo si, Long lrParentID)
          helper for adopt() never call directly
 void JDBCDataStore.delete(String lrClassName, Object lrId)
          Delete a resource from the data store.
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.
 LanguageResource JDBCDataStore.getLr(String lrClassName, Object lrPersistenceId)
          Get a resource from the persistent store.
 LanguageResource SerialDataStore.getLr(String lrClassName, Object lrPersistenceId)
          Get a resource from the persistent store.
 Session JDBCDataStore.getSession(Session s)
          identify user using this datastore
 Session SerialDataStore.getSession(Session s)
          identify user using this datastore
 boolean OracleDataStore.lockLr(LanguageResource lr)
          Try to acquire exlusive lock on a resource from the persistent store.
 boolean PostgresDataStore.lockLr(LanguageResource lr)
          Try to acquire exlusive lock on a resource from the persistent store.
 boolean SerialDataStore.lockLr(LanguageResource lr)
          Try to acquire exlusive lock on a resource from the persistent store.
 void OracleDataStore.setSecurityInfo(LanguageResource lr, SecurityInfo si)
          set security information for LR .
 void PostgresDataStore.setSecurityInfo(LanguageResource parm1, SecurityInfo parm2)
           
 void SerialDataStore.setSecurityInfo(LanguageResource lr, SecurityInfo si)
          set security information for LR .
 void JDBCDataStore.setSession(Session s)
          identify user using this datastore
 void SerialDataStore.setSession(Session s)
          identify user using this datastore
 void JDBCDataStore.sync(LanguageResource lr)
          Save: synchonise the in-memory image of the LR with the persistent image.
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
 void OracleDataStore.unlockLr(LanguageResource lr)
          Releases the exlusive lock on a resource from the persistent store.
 void PostgresDataStore.unlockLr(LanguageResource lr)
          Releases the 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.addUser(Long userID, Session s)
          ---
 void GroupImpl.addUser(Long userID, Session s)
          ---
 void Group.addUser(User usr, Session s)
          ---
 void GroupImpl.addUser(User usr, Session s)
          ---
 Group AccessController.createGroup(String name, Session s)
          ---
 Group AccessControllerImpl.createGroup(String name, Session s)
          ---
 User AccessController.createUser(String name, String passwd, Session s)
          ---
 User AccessControllerImpl.createUser(String name, String passwd, Session s)
          ---
 void AccessController.deleteGroup(Group grp, Session s)
          ---
 void AccessControllerImpl.deleteGroup(Group grp, Session s)
          ---
 void AccessController.deleteGroup(Long id, Session s)
          ---
 void AccessControllerImpl.deleteGroup(Long id, Session s)
          ---
 void AccessController.deleteUser(Long id, Session s)
          ---
 void AccessControllerImpl.deleteUser(Long id, Session s)
          ---
 void AccessController.deleteUser(User usr, Session s)
          ---
 void AccessControllerImpl.deleteUser(User usr, Session s)
          ---
 Group AccessController.findGroup(Long id)
          ---
 Group AccessControllerImpl.findGroup(Long id)
          ---
 Group AccessController.findGroup(String name)
          ---
 Group AccessControllerImpl.findGroup(String name)
          ---
 Session AccessController.findSession(Long id)
          ---
 Session AccessControllerImpl.findSession(Long id)
          ---
 User AccessController.findUser(Long id)
          ---
 User AccessControllerImpl.findUser(Long id)
          ---
 User AccessController.findUser(String name)
          ---
 User AccessControllerImpl.findUser(String name)
          ---
 boolean AccessController.isValidSession(Session s)
          ---
 Session AccessController.login(String usr_name, String passwd, Long prefGroupID)
          ---
 Session AccessControllerImpl.login(String usr_name, String passwd, Long prefGroupID)
          ---
 void AccessController.logout(Session s)
          ---
 void AccessControllerImpl.logout(Session s)
          ---
 void Group.removeUser(Long userID, Session s)
          ---
 void GroupImpl.removeUser(Long userID, Session s)
          ---
 void Group.removeUser(User usr, Session s)
          ---
 void GroupImpl.removeUser(User usr, Session s)
          ---
 void Group.setName(String newName, Session s)
          ---
 void GroupImpl.setName(String newName, Session s)
          ---
 void User.setName(String newName, Session s)
          changes user name Only members of the ADMIN group have sufficient privileges.
 void UserImpl.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 UserImpl.setPassword(String newPass, Session s)
          changes user password Only members of the ADMIN group and the user himself have sufficient privileges
 void AccessController.setSessionTimeout(Session s, int timeoutMins)
          ---
 void AccessControllerImpl.setSessionTimeout(Session s, int timeoutMins)
          ---
 


GATE
Version 3.1-2270