]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/ldap/nature/SimpleUserNatureMapper.java
Make security UI more robust
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / ldap / nature / SimpleUserNatureMapper.java
index 56da470056de67ba5184548140fac8ce4f709bb2..bc20c9db8026909b3352ac417b0448a1ccfdd26a 100644 (file)
@@ -24,7 +24,7 @@ import org.springframework.ldap.core.DirContextOperations;
 
 public class SimpleUserNatureMapper implements UserNatureMapper {
        public String getName() {
-               return "simpleUser";
+               return SimpleUserNature.TYPE;
        }
 
        public UserNature mapUserInfoFromContext(DirContextOperations ctx) {