Restructure security
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / ldap / ArgeoUserDetailsContextMapper.java
index d9b76a6c60c6234878d3c062f3c5b6e1d9e6ec9c..3bb8fb7e43410089a139a8f56821574b8d8cd1a5 100644 (file)
@@ -30,7 +30,7 @@ public class ArgeoUserDetailsContextMapper implements UserDetailsContextMapper {
                List<UserNature> userInfos = new ArrayList<UserNature>();
                for (UserNatureMapper userInfoMapper : userNatureMappers) {
                        UserNature userNature = userInfoMapper.mapUserInfoFromContext(ctx);
-                       if (log.isDebugEnabled())
+                       if (log.isTraceEnabled())
                                log.debug("Add user nature " + userNature);
                        userInfos.add(userNature);
                }
@@ -49,7 +49,7 @@ public class ArgeoUserDetailsContextMapper implements UserDetailsContextMapper {
                                for (UserNatureMapper userInfoMapper : userNatureMappers) {
                                        if (userInfoMapper.supports(userInfo)) {
                                                userInfoMapper.mapUserInfoToContext(userInfo, ctx);
-                                               break;// use the first mapper found an no others
+                                               break;// use the first mapper found and no others
                                        }
                                }
                        }