--- DisableAuthenticationSchemeAction.java	Mon Aug 10 15:45:40 2009
+++ EnableAuthenticationSchemeAction.java	Mon Aug 10 15:45:55 2009
@@ -30,25 +30,25 @@
 
 /**
  */
-public class DisableAuthenticationSchemeAction extends TableItemAction {
+public class EnableAuthenticationSchemeAction extends TableItemAction {
 
     /**
      * Default constructor
      */
-    public DisableAuthenticationSchemeAction() {
-        super("disable", "security", 300, "", false, SessionInfo.MANAGEMENT_CONSOLE_CONTEXT,
+    public EnableAuthenticationSchemeAction() {
+        super("enable", "security", 300, "", false, SessionInfo.MANAGEMENT_CONSOLE_CONTEXT,
                         PolicyConstants.AUTHENTICATION_SCHEMES_RESOURCE_TYPE, new Permission[] { PolicyConstants.PERM_CREATE_EDIT_AND_ASSIGN,  PolicyConstants.PERM_EDIT_AND_ASSIGN });
     }
     
     @Override
     public String getPath(AvailableTableItemAction availableItem) {
         AuthenticationSchemeSequenceItem item = (AuthenticationSchemeSequenceItem)availableItem.getRowItem();
-        return "/showAuthenticationSchemes.do?actionTarget=disable&selectedResource=" + item.getResource().getResourceId();
+        return "/showAuthenticationSchemes.do?actionTarget=enable&selectedResource=" + item.getResource().getResourceId();
     }
 
     @Override
     public boolean isEnabled(AvailableTableItemAction availableItem) {
         AuthenticationSchemeSequenceItem item = (AuthenticationSchemeSequenceItem)availableItem.getRowItem();
-        return ((AuthenticationScheme)item.getResource()).getEnabled();
+        return !((AuthenticationScheme)item.getResource()).getEnabled();
     }
 }
