LdapUserManagr can be not readOnly depending on configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436671 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8e61f56f9d
commit
a7c4bd1d97
|
@ -20,6 +20,7 @@ package org.apache.archiva.redback.users.ldap;
|
|||
*/
|
||||
|
||||
|
||||
import org.apache.archiva.redback.common.ldap.role.LdapRoleMapper;
|
||||
import org.apache.archiva.redback.common.ldap.user.LdapUser;
|
||||
import org.apache.archiva.redback.common.ldap.user.UserMapper;
|
||||
import org.apache.archiva.redback.configuration.UserConfiguration;
|
||||
|
@ -86,7 +87,7 @@ public class LdapUserManager
|
|||
|
||||
public boolean isReadOnly()
|
||||
{
|
||||
return true;
|
||||
return !this.writableLdap;
|
||||
}
|
||||
|
||||
public User addUser( User user )
|
||||
|
|
Loading…
Reference in New Issue