[Patch] javax.security cleanup
Michael Koch
konqueror@gmx.de
Wed Oct 20 10:44:00 GMT 2004
Hi list,
I just commited the attached patch to clean up javax.security.
Michael
2004-10-20 Michael Koch <konqueror@gmx.de>
* javax/security/auth/login/NullConfiguration.java,
javax/security/auth/x500/X500Principal.java,
javax/security/cert/X509Certificate.java,
javax/security/sasl/AuthenticationException.java,
javax/security/sasl/AuthorizeCallback.java,
javax/security/sasl/RealmCallback.java,
javax/security/sasl/RealmChoiceCallback.java,
javax/security/sasl/Sasl.java,
javax/security/sasl/SaslClient.java,
javax/security/sasl/SaslClientFactory.java,
javax/security/sasl/SaslException.java,
javax/security/sasl/SaslServer.java,
javax/security/sasl/SaslServerFactory.java:
Cleaned up import statements and copyright notices.
-------------- next part --------------
Index: javax/security/auth/login/NullConfiguration.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/auth/login/NullConfiguration.java,v
retrieving revision 1.1
diff -u -r1.1 NullConfiguration.java
--- javax/security/auth/login/NullConfiguration.java 21 Sep 2004 08:33:33 -0000 1.1
+++ javax/security/auth/login/NullConfiguration.java 20 Oct 2004 10:41:13 -0000
@@ -38,8 +38,6 @@
package javax.security.auth.login;
-import javax.security.auth.AuthPermission;
-
final class NullConfiguration extends Configuration
{
Index: javax/security/auth/x500/X500Principal.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/auth/x500/X500Principal.java,v
retrieving revision 1.5
diff -u -r1.5 X500Principal.java
--- javax/security/auth/x500/X500Principal.java 21 Sep 2004 11:25:25 -0000 1.5
+++ javax/security/auth/x500/X500Principal.java 20 Oct 2004 10:41:13 -0000
@@ -39,9 +39,7 @@
package javax.security.auth.x500;
import gnu.java.security.OID;
-import gnu.java.security.der.BitString;
import gnu.java.security.der.DER;
-import gnu.java.security.der.DEREncodingException;
import gnu.java.security.der.DERReader;
import gnu.java.security.der.DERValue;
@@ -59,7 +57,6 @@
import java.security.Principal;
import java.util.ArrayList;
-import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
@@ -68,7 +65,6 @@
import java.util.Locale;
import java.util.Map;
import java.util.Set;
-import java.util.TreeMap;
public final class X500Principal implements Principal, Serializable
{
Index: javax/security/cert/X509Certificate.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/cert/X509Certificate.java,v
retrieving revision 1.1
diff -u -r1.1 X509Certificate.java
--- javax/security/cert/X509Certificate.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/cert/X509Certificate.java 20 Oct 2004 10:41:13 -0000
@@ -40,11 +40,9 @@
import java.io.ByteArrayInputStream;
import java.io.InputStream;
-import java.io.IOException;
import java.math.BigInteger;
-import java.security.NoSuchAlgorithmException;
import java.security.Principal;
import java.security.cert.CertificateFactory;
Index: javax/security/sasl/AuthenticationException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/AuthenticationException.java,v
retrieving revision 1.1
diff -u -r1.1 AuthenticationException.java
--- javax/security/sasl/AuthenticationException.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/AuthenticationException.java 20 Oct 2004 10:41:13 -0000
@@ -1,22 +1,22 @@
-/* AuthenticationException.java
- Copyright (C) 2003, Free Software Foundation, Inc.
+/* AuthenticationException.java --
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
-GNU Classpathis free software; you can redistribute it and/or modify
+GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-GNU Classpathis distributed in the hope that it will be useful, but
+GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/AuthorizeCallback.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/AuthorizeCallback.java,v
retrieving revision 1.1
diff -u -r1.1 AuthorizeCallback.java
--- javax/security/sasl/AuthorizeCallback.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/AuthorizeCallback.java 20 Oct 2004 10:41:13 -0000
@@ -1,22 +1,22 @@
-/* AuthorizeCallback.java
- Copyright (C) 2003, Free Software Foundation, Inc.
+/* AuthorizeCallback.java --
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
-GNU Classpathis free software; you can redistribute it and/or modify
+GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-GNU Classpathis distributed in the hope that it will be useful, but
+GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/RealmCallback.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/RealmCallback.java,v
retrieving revision 1.1
diff -u -r1.1 RealmCallback.java
--- javax/security/sasl/RealmCallback.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/RealmCallback.java 20 Oct 2004 10:41:13 -0000
@@ -1,5 +1,5 @@
-/* RealmCallback.java
- Copyright (C) 2003, Free Software Foundation, Inc.
+/* RealmCallback.java --
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/RealmChoiceCallback.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/RealmChoiceCallback.java,v
retrieving revision 1.1
diff -u -r1.1 RealmChoiceCallback.java
--- javax/security/sasl/RealmChoiceCallback.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/RealmChoiceCallback.java 20 Oct 2004 10:41:13 -0000
@@ -1,5 +1,5 @@
-/* RealmChoiceCallback.java
- Copyright (C) 2003, Free Software Foundation, Inc.
+/* RealmChoiceCallback.java --
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/Sasl.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/Sasl.java,v
retrieving revision 1.1
diff -u -r1.1 Sasl.java
--- javax/security/sasl/Sasl.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/Sasl.java 20 Oct 2004 10:41:13 -0000
@@ -1,5 +1,5 @@
-/* Sasl.java
- Copyright (C) 2003, Free Software Foundation, Inc.
+/* Sasl.java --
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/SaslClient.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/SaslClient.java,v
retrieving revision 1.1
diff -u -r1.1 SaslClient.java
--- javax/security/sasl/SaslClient.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/SaslClient.java 20 Oct 2004 10:41:13 -0000
@@ -1,22 +1,22 @@
-/* SaslClient.java
- Copyright (C) 2003, Free Software Foundation, Inc.
+/* SaslClient.java --
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
-GNU Classpathis free software; you can redistribute it and/or modify
+GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-GNU Classpathis distributed in the hope that it will be useful, but
+GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/SaslClientFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/SaslClientFactory.java,v
retrieving revision 1.1
diff -u -r1.1 SaslClientFactory.java
--- javax/security/sasl/SaslClientFactory.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/SaslClientFactory.java 20 Oct 2004 10:41:13 -0000
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/SaslException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/SaslException.java,v
retrieving revision 1.1
diff -u -r1.1 SaslException.java
--- javax/security/sasl/SaslException.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/SaslException.java 20 Oct 2004 10:41:13 -0000
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/SaslServer.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/SaslServer.java,v
retrieving revision 1.1
diff -u -r1.1 SaslServer.java
--- javax/security/sasl/SaslServer.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/SaslServer.java 20 Oct 2004 10:41:13 -0000
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
Index: javax/security/sasl/SaslServerFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/sasl/SaslServerFactory.java,v
retrieving revision 1.1
diff -u -r1.1 SaslServerFactory.java
--- javax/security/sasl/SaslServerFactory.java 21 Sep 2004 08:33:34 -0000 1.1
+++ javax/security/sasl/SaslServerFactory.java 20 Oct 2004 10:41:13 -0000
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307 USA
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -33,7 +33,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
+exception statement from your version. */
package javax.security.sasl;
More information about the Java-patches
mailing list