Package org.ejbca.core.model.ra.userdatasource

Examples of org.ejbca.core.model.ra.userdatasource.UserDataSourceExistsException


          String msg = intres.getLocalizedMessage("userdatasource.addedsource", name);             
            logSession.log(admin, admin.getCaId(), LogConstants.MODULE_RA, new java.util.Date(), null, null, LogConstants.EVENT_INFO_USERDATASOURCEDATA, msg);
          } else {
          String msg = intres.getLocalizedMessage("userdatasource.erroraddsource", name);             
            logSession.log(admin, admin.getCaId(), LogConstants.MODULE_RA, new java.util.Date(), null, null, LogConstants.EVENT_ERROR_USERDATASOURCEDATA, msg);
            throw new UserDataSourceExistsException();
          }
        } else {
      String msg = intres.getLocalizedMessage("userdatasource.errornotauth", name);             
          logSession.log(admin, admin.getCaId(),LogConstants.MODULE_RA,new Date(),null,null,LogConstants.EVENT_ERROR_NOTAUTHORIZEDTORESOURCE,msg);
        }
View Full Code Here


          String msg = intres.getLocalizedMessage("userdatasource.renamedsource", oldname, newname);             
            logSession.log(admin, admin.getCaId(), LogConstants.MODULE_RA, new java.util.Date(), null, null, LogConstants.EVENT_INFO_USERDATASOURCEDATA, msg);
        } else {
            String msg = intres.getLocalizedMessage("userdatasource.errorrenamesource", oldname, newname);             
            logSession.log(admin, admin.getCaId(), LogConstants.MODULE_RA, new java.util.Date(), null, null, LogConstants.EVENT_ERROR_USERDATASOURCEDATA, msg);
            throw new UserDataSourceExistsException();
        }
        log.trace("<renameUserDataSource()");
    }
View Full Code Here

TOP

Related Classes of org.ejbca.core.model.ra.userdatasource.UserDataSourceExistsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.