UserCredentialModel.java

59 lines | 924 B Blame History Raw Download
package org.keycloak.services.model.data;

import java.io.Serializable;

/**
 * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
 * @version $Revision: 1 $
 */
@Deprecated
public class UserCredentialModel implements Serializable
{
   private static final long serialVersionUID = 1L;

   protected String id;
   protected String type;
   protected String value;
   protected boolean hashed;

   public String getId()
   {
      return id;
   }

   public void setId(String id)
   {
      this.id = id;
   }

   public String getType()
   {
      return type;
   }

   public void setType(String type)
   {
      this.type = type;
   }

   public String getValue()
   {
      return value;
   }

   public void setValue(String value)
   {
      this.value = value;
   }

   public boolean isHashed()
   {
      return hashed;
   }

   public void setHashed(boolean hashed)
   {
      this.hashed = hashed;
   }
}