mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
15888: ETHREEOH-2617: CIFS Authenticators should not try to initialize when disabled - removed init-method declaration from cifsAuthenticatorBase 15731: ENH-524: Use JobLockService to ensure that it is only possible for LDAP sync to run on one node at a time in a cluster - Ensures that if schedule is identical on all nodes, the LDAP sync will only be run on one 15694: Fix TransactionServiceImplTest broken by 15685 15685: ETHREEOH-983: Move RepoServerMgmt JMX editable capabilities into a sysAdmin subsystem for more consistent control and cluster support - New SysAdminParams interface exported by sysAdmin subsystem through which AuthenticationService and TransactionService get at the configured parameters - The repository read only flag does not apply to the system user so that we can still persist changes to that flag through JMX! - Removed sysAdminCache and supporting configuration. 15684: Improvements to cluster support for subsystems - When a subsystem is stopped on a node for editing it is completely destroyed and deregistered from JMX on other nodes - Should the subsystem be reactivated on those other nodes (e.g. called into by code) it will be reinitialized from persisted properties and thus stay in sync with the node being edited! 15683: Fixed potential concurrency issues in HeartBeat and LicenseComponent - Discovered during cluster testing - Because these components schedule triggers in a retrying transaction, they need to unschedule the triggers beforehand, just in case a retry has happened 15617: MOB-646: JMX edits now synchronized across cluster via JGroups - When you stop a component or subsystem, it is stopped across the entire cluster - When you restart it after editing properties, the component is reinitialized from the persisted properties across the cluster git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -32,13 +32,6 @@ package org.alfresco.repo.admin;
|
||||
*/
|
||||
public interface RepoServerMgmtMBean
|
||||
{
|
||||
/**
|
||||
* Set whether Repository allows writes or not
|
||||
*
|
||||
* @param readOnly true is READONLY, false is WRITEABLE
|
||||
*/
|
||||
public void setReadOnly(boolean readOnly);
|
||||
|
||||
/**
|
||||
* Does the Repository allows writes or not ?
|
||||
*
|
||||
@@ -117,42 +110,6 @@ public interface RepoServerMgmtMBean
|
||||
*/
|
||||
public void invalidateUser(String username);
|
||||
|
||||
/**
|
||||
* Set whether Repository allows single user mode or not
|
||||
*
|
||||
* If single user mode is set then all tickets will be invalidated first before allowing the
|
||||
* named user to login (with one or more sessions) assuming maxUsers is not set to 0
|
||||
*
|
||||
* Note: This can also be configured at startup. Refer to repository property (server.singleuseronly.name).
|
||||
*
|
||||
* @param String allowed username (eg. 'admin') or null to unset (ie. allow all users)
|
||||
*/
|
||||
public void setSingleUserOnly(String allowedUsername);
|
||||
|
||||
/**
|
||||
* If Repository is in single user mode then return the name of the allowed user else return null
|
||||
*
|
||||
* @param String allowed username (eg. 'admin') or null (ie. allow all users)
|
||||
*/
|
||||
public String getSingleUserOnly();
|
||||
|
||||
/**
|
||||
* Set limit for max users and/or prevent further logins
|
||||
*
|
||||
* If number of non-expired logins is greater or equal to the limit then further logins will be prevented
|
||||
* otherwise valid login attempt will be permitted, unless the system is in single-user mode.
|
||||
*
|
||||
* Note:
|
||||
*
|
||||
* Max users = 0 prevents further logins (will also prevent single-user mode login)
|
||||
* Max users = -1 allow logins (without a max limit)
|
||||
*
|
||||
* Note: This can also be configured at startup. Refer to repository property (server.maxusers).
|
||||
*
|
||||
* @param maxUsers
|
||||
*/
|
||||
public void setMaxUsers(int maxUsers);
|
||||
|
||||
/**
|
||||
* Get limit for max users
|
||||
*
|
||||
@@ -166,13 +123,7 @@ public interface RepoServerMgmtMBean
|
||||
*/
|
||||
public int getMaxUsers();
|
||||
|
||||
/**
|
||||
* Disable or re-enable link validation
|
||||
*
|
||||
* @param disable true = disable, false = re-enable
|
||||
*/
|
||||
public void setLinkValidationDisabled(boolean disable);
|
||||
|
||||
|
||||
/**
|
||||
* Is link validation disabled ?
|
||||
*
|
||||
|
Reference in New Issue
Block a user