geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r684567 - in /geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message: AuthStatus.java config/AuthConfigFactory.java
Date Sun, 10 Aug 2008 18:39:49 GMT
Author: djencks
Date: Sun Aug 10 11:39:49 2008
New Revision: 684567

URL: http://svn.apache.org/viewvc?rev=684567&view=rev
Log:
make AuthStatus.toString more informative.  Update default AuthConfigFactory impl package

Modified:
    geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/AuthStatus.java
    geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/config/AuthConfigFactory.java

Modified: geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/AuthStatus.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/AuthStatus.java?rev=684567&r1=684566&r2=684567&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/AuthStatus.java
(original)
+++ geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/AuthStatus.java
Sun Aug 10 11:39:49 2008
@@ -21,13 +21,19 @@
  */
 public class AuthStatus {
 
-    public static final AuthStatus FAILURE = new AuthStatus();
-    public static final AuthStatus SEND_CONTINUE = new AuthStatus();
-    public static final AuthStatus SEND_FAILURE = new AuthStatus();
-    public static final AuthStatus SEND_SUCCESS = new AuthStatus();
-    public static final AuthStatus SUCCESS = new AuthStatus();
+    public static final AuthStatus FAILURE = new AuthStatus("FAILURE");
+    public static final AuthStatus SEND_CONTINUE = new AuthStatus("SEND_CONTINUE");
+    public static final AuthStatus SEND_FAILURE = new AuthStatus("SEND_FAILURE");
+    public static final AuthStatus SEND_SUCCESS = new AuthStatus("SEND_SUCCESS");
+    public static final AuthStatus SUCCESS = new AuthStatus("SUCCESS");
 
-    private AuthStatus() {
+    private final String name;
+
+    private AuthStatus(String name) {
+        this.name = name;
+    }
+
+    public String toString() {
+        return name;
     }
-    
 }

Modified: geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/config/AuthConfigFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/config/AuthConfigFactory.java?rev=684567&r1=684566&r2=684567&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/config/AuthConfigFactory.java
(original)
+++ geronimo/specs/trunk/geronimo-jaspi_1.0_spec/src/main/java/javax/security/auth/message/config/AuthConfigFactory.java
Sun Aug 10 11:39:49 2008
@@ -28,7 +28,7 @@
 public abstract class AuthConfigFactory {
 
     public static final String DEFAULT_FACTORY_SECURITY_PROPERTY = "authconfigprovider.factory";
-    private static final String DEFAULT_JASPI_AUTHCONFIGFACTORYIMPL = "org.apache.geronimo.security.jaspi.AuthConfigFactoryImpl";
+    private static final String DEFAULT_JASPI_AUTHCONFIGFACTORYIMPL = "org.apache.geronimo.components.jaspi.AuthConfigFactoryImpl";
 
     private static AuthConfigFactory factory;
     private static ClassLoader contextClassLoader;



Mime
View raw message