redback.runtime.ldap.mapping.group.label=LDAP Groups
redback.runtime.ldap.mapping.roles.label=Roles
+error.redback.runtimeconfiguration.user-managers.empty=You must choose at least one userManager
+error.redback.runtimeconfiguration.rbac-managers.empty=You must choose at least one rbacManager
+
#welcome
welcome.title=Welcome to Apache Archiva
}
}
+ clearUserMessages();
+
+ if (self.usedUserManagerImpls().length<1){
+ displayErrorMessage( $.i18n.prop("error.redback.runtimeconfiguration.user-managers.empty"));
+ valid=false;
+ }
+
+ if (self.usedRbacManagerImpls().length<1){
+ displayErrorMessage( $.i18n.prop("error.redback.runtimeconfiguration.rbac-managers.empty"));
+ valid=false;
+ }
+
+ if(valid==false){
+ return;
+ }
+
$.log("saveRedbackRuntimeConfiguration");
var saveButton = mainContent.find("#redback-runtime-configuration-save" );
saveButton.button('loading');