Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-226

ehcache masking security exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • None

    Description

      Need to add try/catch block around ehcache mgr instantiation because it is masking important exceptions like access control violations.

      try

      { // 1. Construct an instance of Ehcache's CacheManager object. // 2. Requires location of ehcache's config file as parameter. // 3. The CacheManager reference then gets stored as member variable of this class instance. mEhCacheImpl = new CacheManager( ClassUtil.resourceAsStream( cacheConfig ) ); }

      catch(Exception e)

      { String error = "CacheMgr.init caught Exception=" + e.getMessage(); LOG.error( error ); throw new CfgRuntimeException( GlobalErrIds.FT_CACHE_NOT_CONFIGURED, error, e ); }

      Attachments

        Activity

          People

            smckinney Shawn McKinney
            smckinney Shawn McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: