@Service(value="ldapRoleMapperConfiguration#archiva") public class ArchivaLdapRoleMapperConfiguration extends Object implements org.apache.archiva.redback.common.ldap.role.LdapRoleMapperConfiguration
Constructor and Description |
---|
ArchivaLdapRoleMapperConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addLdapMapping(String ldapGroup,
List<String> roles) |
Map<String,Collection<String>> |
getLdapGroupMappings() |
void |
removeLdapMapping(String group) |
void |
setLdapGroupMappings(Map<String,List<String>> mappings) |
void |
updateLdapMapping(String ldapGroup,
List<String> roles) |
public ArchivaLdapRoleMapperConfiguration()
public void addLdapMapping(String ldapGroup, List<String> roles) throws org.apache.archiva.redback.common.ldap.MappingException
addLdapMapping
in interface org.apache.archiva.redback.common.ldap.role.LdapRoleMapperConfiguration
org.apache.archiva.redback.common.ldap.MappingException
public void updateLdapMapping(String ldapGroup, List<String> roles) throws org.apache.archiva.redback.common.ldap.MappingException
updateLdapMapping
in interface org.apache.archiva.redback.common.ldap.role.LdapRoleMapperConfiguration
org.apache.archiva.redback.common.ldap.MappingException
public void removeLdapMapping(String group) throws org.apache.archiva.redback.common.ldap.MappingException
removeLdapMapping
in interface org.apache.archiva.redback.common.ldap.role.LdapRoleMapperConfiguration
org.apache.archiva.redback.common.ldap.MappingException
public Map<String,Collection<String>> getLdapGroupMappings() throws org.apache.archiva.redback.common.ldap.MappingException
getLdapGroupMappings
in interface org.apache.archiva.redback.common.ldap.role.LdapRoleMapperConfiguration
org.apache.archiva.redback.common.ldap.MappingException
public void setLdapGroupMappings(Map<String,List<String>> mappings) throws org.apache.archiva.redback.common.ldap.MappingException
setLdapGroupMappings
in interface org.apache.archiva.redback.common.ldap.role.LdapRoleMapperConfiguration
org.apache.archiva.redback.common.ldap.MappingException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.