public static Policy getDefaultRampartConfig() {
//Extract the primary keystore information from server configuration
ServerConfiguration serverConfig = ServerConfiguration.getInstance();
String keyStore = serverConfig.getFirstProperty("Security.KeyStore.Location");
String keyStoreType = serverConfig.getFirstProperty("Security.KeyStore.Type");
String keyStorePassword = serverConfig.getFirstProperty("Security.KeyStore.Password");
String privateKeyAlias = serverConfig.getFirstProperty("Security.KeyStore.KeyAlias");
String privateKeyPassword = serverConfig.getFirstProperty("Security.KeyStore.KeyPassword");
//Populate Rampart Configuration
RampartConfig rampartConfig = new RampartConfig();
rampartConfig.setUser(privateKeyAlias);
//TODO use a registry based callback handler