User services
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / UserNature.java
index f0bff97e8bf9547274f8fbe5254a24a69ddf26a5..a0cda3c83a84f8d25b9942c37e2f07149e2adb6e 100644 (file)
@@ -1,13 +1,13 @@
 package org.argeo.security;
 
+import java.io.Serializable;
 import java.util.UUID;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
 //@JsonAutoDetect(value = { JsonMethod.GETTER, JsonMethod.SETTER })
-public class UserNature {
-       private final static Log log = LogFactory.getLog(UserNature.class);
+public class UserNature implements Serializable {
+       private static final long serialVersionUID = 1L;
+
+       // private final static Log log = LogFactory.getLog(UserNature.class);
 
        private String uuid = UUID.randomUUID().toString();
        private String type;
@@ -31,10 +31,10 @@ public class UserNature {
                this.type = type;
        }
 
-//     @JsonAnySetter
-//     public void anySetter(String key, Object obj) {
-//             if (obj != null)
-//                     log.info("anySetter: " + key + "=" + obj + " (" + obj.getClass()
-//                                     + "), natureType=" + type);
-//     }
+       // @JsonAnySetter
+       // public void anySetter(String key, Object obj) {
+       // if (obj != null)
+       // log.info("anySetter: " + key + "=" + obj + " (" + obj.getClass()
+       // + "), natureType=" + type);
+       // }
 }