better logging

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1451780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-03-01 23:44:13 +00:00
parent 7a54ae0aaf
commit a8f651e8a6

View File

@ -58,7 +58,7 @@ public void addLdapMapping( String ldapGroup, List<String> roles )
throws MappingException throws MappingException
{ {
ldapMappings.put( ldapGroup, roles ); ldapMappings.put( ldapGroup, roles );
log.warn( "addLdapMapping implemented but only in memory save" ); log.warn( "addLdapMapping implemented but only in memory save: group '{}' roles '{}'", ldapGroup, roles );
} }
public void removeLdapMapping( String group ) public void removeLdapMapping( String group )
@ -70,7 +70,7 @@ public void updateLdapMapping( String ldapGroup, List<String> roles )
throws MappingException throws MappingException
{ {
ldapMappings.put( ldapGroup, roles ); ldapMappings.put( ldapGroup, roles );
log.warn( "updateLdapMapping implemented but only in memory save" ); log.warn( "updateLdapMapping implemented but only in memory save: group '{}' roles '{}'", ldapGroup, roles );
} }
public void setLdapGroupMappings( Map<String, List<String>> mappings ) public void setLdapGroupMappings( Map<String, List<String>> mappings )