continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440568 - /maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
Date Wed, 06 Sep 2006 02:03:43 GMT
Author: carlos
Date: Tue Sep  5 19:03:43 2006
New Revision: 440568

URL: http://svn.apache.org/viewvc?view=rev&rev=440568
Log:
Remove configuration of guest user through continuum interface, must be done through maven-user

Modified:
    maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java

Modified: maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java?view=diff&rev=440568&r1=440567&r2=440568
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
Tue Sep  5 19:03:43 2006
@@ -154,14 +154,27 @@
         systemConf.setCompanyUrl( companyUrl );
     }
 
+    /**
+     * Is the guest user account enabled?
+     * 
+     * @deprecated always returns <code>false</code>, use the new security framework
for setting
+     *             guest user permissions
+     * @return <code>false</code> always
+     */
     public boolean isGuestAccountEnabled()
     {
-        return systemConf.isGuestAccountEnabled();
+        return false;
     }
 
+    /**
+     * Set if the guest user account is enabled or not
+     * 
+     * @deprecated value set is ignored, use the new security framework for setting
+     *             guest user permissions
+     */
     public void setGuestAccountEnabled( boolean enabled )
     {
-        systemConf.setGuestAccountEnabled( enabled );
+        // ignore
     }
 
     public String getBuildOutput( int buildId, int projectId )



Mime
View raw message