createApplicationSecurityConfiguration(config);
callbackhandler = (CallbackHandler)Class.forName(
configuration.getSecurityEnvironmentHandler(),true,
Thread.currentThread().getContextClassLoader()).newInstance();
securityEnvironment =
new DefaultSecurityEnvironmentImpl(callbackhandler);
} catch (IOException e) {
throw new XWSSecurityException(e);
} catch (Exception e) {
throw new XWSSecurityException(e);