[cp-patches] RFC: Configuration file local to security packages (PR27649)

Vivek Lakshmanan vivekl at redhat.com
Fri Jun 23 23:17:51 UTC 2006


Hi,
I have added a new file: gnu/java/security/Configuration.java.in. This
can be used to provide access to the properties in
gnu.classpath.Configuration without requiring the need to include it
explicitly aiding the separation of the crypto components into a
separate jar in the near future as discussed in the above PR. 

Most of this patch is really a search and replace of
gnu.classpath.Configuration with gnu.java.security.Configuration within
crypto related packages:
gnu.javax.crypto, gnu.java.security, gnu.javax.security.

Please comment.
Thanks,
Vivek

Changelog:

2006-06-23  Vivek Lakshmanan  <vivekl at redhat.com>

	* gnu/java/security/Configuration.java.in: New File.
	* gnu/java/security/Properties.java: Change import from gnu.classpath.Configuration to gnu.java.security.Configuration.
	* gnu/java/security/hash/Whirlpool.java: Likewise.
	* gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
	* gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
	* gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
	* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
	* gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
	* gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
	* gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
	* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
	* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
	* gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
	* gnu/java/security/pkcs/SignerInfo.java: Likewise.
	* gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
	* gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
	* gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
	* gnu/java/security/util/Base64.java: Likewise.
	* gnu/java/security/x509/X509CRL.java: Likewise.
	* gnu/java/security/x509/X509CRLEntry.java: Likewise.
	* gnu/java/security/x509/ext/Extension.java: Likewise.
	* gnu/javax/crypto/cipher/Anubis.java: Likewise.
	* gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
	* gnu/javax/crypto/cipher/Khazad.java: Likewise.
	* gnu/javax/crypto/cipher/Rijndael.java: Likewise.
	* gnu/javax/crypto/cipher/Twofish.java: Likewise.
	* gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
	* gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
	* gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
	* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
	* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
	* gnu/javax/crypto/keyring/Entry.java: Likewise.
	* gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
	* gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
	* gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
	* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
	* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
	* gnu/javax/crypto/mac/OMAC.java: Likewise.
	* gnu/javax/crypto/pad/BasePad.java: Likewise.
	* gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
	* gnu/javax/crypto/pad/PKCS7.java: Likewise.
	* gnu/javax/crypto/pad/TBC.java: Likewise.
	* gnu/javax/crypto/prng/CSPRNG.java: Likewise.
	* gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
	* gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
	* gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
	* gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
	* gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
	* gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
	* gnu/javax/security/auth/login/GnuConfiguration.java 
	(getAppConfigurationEntry): Change reference to gnu.classpath.Configuration.DEBUG to
	gnu.java.security.Configuration.DEBUG.
	(getConfigFromUserHome): Likewise.
	(getInputStreamFromURL): Likewise.
	(getUserHome): Likewise.
	(init): Likewise.
	(processSecurityProperties): Likewise.
	(processSystemProperty): Likewise.
	(processUserHome): Likewise.
	* configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
	* lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
	


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR27649-Configuration.patch
Type: text/x-patch
Size: 41055 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060623/10e47955/PR27649-Configuration-0001.bin


More information about the Classpath-patches mailing list