Class SchedulerSecurityTest

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void runSecuredMethodOnSchedule()  
      void runSecuredMethodOnScheduleMultiGroup()  
      void runUnauthorizedMethodOnSchedule()  
      • Methods inherited from class ubic.gemma.core.util.test.BaseSpringContextTest

        addTestAnalyses, countRowsInTable, deleteFromTables, executeSqlScript, getNewTestPersistentCompleteExpressionExperiment, getTaxon, getTestNonPersistentBioSequence, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentBasicExpressionExperiment, getTestPersistentBasicExpressionExperiment, getTestPersistentBibliographicReference, getTestPersistentBioAssay, getTestPersistentBioAssay, getTestPersistentBioMaterial, getTestPersistentBioMaterial, getTestPersistentBioSequence, getTestPersistentBioSequence, getTestPersistentBioSequence2GeneProducts, getTestPersistentBlatResult, getTestPersistentBlatResult, getTestPersistentCompleteExpressionExperiment, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentContact, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentExpressionExperiment, getTestPersistentExpressionExperiment, getTestPersistentGene, getTestPersistentGene, getTestPersistentGeneProduct, getTestPersistentQuantitationType, randomName, resetTestCollectionSize, runAsAdmin, runAsAgent, runAsAnonymous, runAsUser, runAsUser, setPersisterHelper, setTaxonService, setTestCollectionSize, setUpAuthentication, setUpSecurityContextHolderStrategy, tearDownSecurityContext
    • Constructor Detail

      • SchedulerSecurityTest

        public SchedulerSecurityTest()
    • Method Detail

      • runSecuredMethodOnSchedule

        public void runSecuredMethodOnSchedule()
                                        throws Exception
        Throws:
        Exception
      • runSecuredMethodOnScheduleMultiGroup

        public void runSecuredMethodOnScheduleMultiGroup()
                                                  throws Exception
        Throws:
        Exception
      • runUnauthorizedMethodOnSchedule

        public void runUnauthorizedMethodOnSchedule()
                                             throws Exception
        Throws:
        Exception