public void handleCreate(TrustedEntityEvent tee) throws AdminEventListenerException {
try {
ConfigContext configContext = tee.getConfigContext();
Config cfg = (Config) ServerBeansFactory.getConfigBean(ApplicationServer.getServerContext().getConfigContext());
SecurityService secService = cfg.getSecurityService();
ConfigSetImpl configAdd = null;
ArrayList configChangeList = tee.getConfigChangeList();
String xpath = null;
Object configObject;
for (int i = 0; i < configChangeList.size(); i++) {
configObject = configChangeList.get(i);
if (configObject instanceof ConfigSetImpl) {
configAdd = (ConfigSetImpl) configObject;
xpath = configAdd.getXPath();
} else if (configObject instanceof ConfigAddImpl) {
ConfigAddImpl cad = (ConfigAddImpl) configObject;
xpath = cad.getXPath();
}else if(configObject instanceof ConfigUpdateImpl){
ConfigUpdateImpl cad = (ConfigUpdateImpl) configObject;