Spelling
This commit is contained in:
@@ -82,11 +82,11 @@ public class CryptoFactoryBean implements FactoryBean, BeanClassLoaderAware, Ini
|
||||
* This property maps to the WSS4J <code>org.apache.ws.security.crypto.merlin.file</code> property.
|
||||
*
|
||||
* @param location the key store location
|
||||
* @throws java.io.IOException when the resource cannot be openened
|
||||
* @throws java.io.IOException when the resource cannot be opened
|
||||
*/
|
||||
public void setKeyStoreLocation(Resource location) throws IOException {
|
||||
File keystoreFile = location.getFile();
|
||||
this.configuration.setProperty("org.apache.ws.security.crypto.merlin.file", keystoreFile.getAbsolutePath());
|
||||
File keyStoreFile = location.getFile();
|
||||
this.configuration.setProperty("org.apache.ws.security.crypto.merlin.file", keyStoreFile.getAbsolutePath());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -48,7 +48,7 @@ public abstract class SaxUtils {
|
||||
return inputSource;
|
||||
}
|
||||
|
||||
/** Retrieves the URL from the given resource as System ID. Returns <code>null</code> if it cannot be openened. */
|
||||
/** Retrieves the URL from the given resource as System ID. Returns <code>null</code> if it cannot be opened. */
|
||||
public static String getSystemId(Resource resource) {
|
||||
try {
|
||||
return new URI(resource.getURL().toExternalForm()).toString();
|
||||
|
||||
Reference in New Issue
Block a user