From c7d492742233c73d4594e5ff3b3b448809d93209 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 03 Jun 2021 17:21:34 +0000
Subject: [PATCH] Readme hinzugefuegt, Kommentare ergaenzt

---
 src/de/uhilger/httpserver/auth/realm/User.java |   33 +--------------------------------
 1 files changed, 1 insertions(+), 32 deletions(-)

diff --git a/src/de/uhilger/httpserver/auth/realm/User.java b/src/de/uhilger/httpserver/auth/realm/User.java
index c5a4cd4..4a973e4 100644
--- a/src/de/uhilger/httpserver/auth/realm/User.java
+++ b/src/de/uhilger/httpserver/auth/realm/User.java
@@ -1,5 +1,5 @@
 /*
-  jwtTest - JSON Web Token Testimplementierung 
+  http-auth - Authentication Extensions to jdk.httpserver
   Copyright (C) 2021  Ulrich Hilger
 
   This program is free software: you can redistribute it and/or modify
@@ -25,27 +25,7 @@
 public class User {
   private String name;
   private String password;
-  //private String hash;
-  //private List<String> roles;
   
-  public User() {
-    //this.roles = new ArrayList();
-  }
-  
-  /*
-  public void addRole(String role) {
-    roles.add(role);
-  }
-  
-  public void revokeRole(String role) {
-    roles.remove(role);
-  }
-  
-  public boolean hasRole(String role) {
-    return roles.contains(role);
-  }
-  */
-
   public String getName() {
     return name;
   }
@@ -63,17 +43,6 @@
     this.password = password;
   }
   
-  
-  /*
-  public void setHash(String hash) {
-    this.hash = hash;
-  }
-  
-  public String getHash() {
-    return hash;
-  }
-  */
-
   @Override
   public int hashCode() {
     return this.getName().hashCode();

--
Gitblit v1.9.3