This commit is contained in:
Arjen Poutsma
2010-01-11 08:25:56 +00:00
parent 37bd3e9c7c
commit 3eeb8b20ce
2 changed files with 4 additions and 4 deletions

View File

@@ -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());
}
/**

View File

@@ -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();