Fix various issues:
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / UserNature.java
index a0cda3c83a84f8d25b9942c37e2f07149e2adb6e..f41643b9ad88be6c07539170e4882bd4f8a8e6d8 100644 (file)
@@ -1,25 +1,12 @@
 package org.argeo.security;
 
 import java.io.Serializable;
-import java.util.UUID;
 
-//@JsonAutoDetect(value = { JsonMethod.GETTER, JsonMethod.SETTER })
 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;
 
-       public String getUuid() {
-               return uuid;
-       }
-
-       public void setUuid(String uuid) {
-               this.uuid = uuid;
-       }
-
        public String getType() {
                if (type != null)
                        return type;
@@ -30,11 +17,4 @@ public class UserNature implements Serializable {
        public void setType(String type) {
                this.type = type;
        }
-
-       // @JsonAnySetter
-       // public void anySetter(String key, Object obj) {
-       // if (obj != null)
-       // log.info("anySetter: " + key + "=" + obj + " (" + obj.getClass()
-       // + "), natureType=" + type);
-       // }
 }