X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=security%2Fruntime%2Forg.argeo.security.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fsecurity%2Fldap%2FArgeoUserDetailsContextMapper.java;h=3bb8fb7e43410089a139a8f56821574b8d8cd1a5;hb=b00a7e9898ea2819100290cab22bf614e23a3abf;hp=d9b76a6c60c6234878d3c062f3c5b6e1d9e6ec9c;hpb=f3ff1f46c8a04c4a60bbccd44e16d5880b386229;p=lgpl%2Fargeo-commons.git diff --git a/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/ldap/ArgeoUserDetailsContextMapper.java b/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/ldap/ArgeoUserDetailsContextMapper.java index d9b76a6c6..3bb8fb7e4 100644 --- a/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/ldap/ArgeoUserDetailsContextMapper.java +++ b/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/ldap/ArgeoUserDetailsContextMapper.java @@ -30,7 +30,7 @@ public class ArgeoUserDetailsContextMapper implements UserDetailsContextMapper { List userInfos = new ArrayList(); 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 } } }