diff --git a/WebContent/WEB-INF/views/frame.html b/WebContent/WEB-INF/views/frame.html index ea322f5..cc038bf 100644 --- a/WebContent/WEB-INF/views/frame.html +++ b/WebContent/WEB-INF/views/frame.html @@ -52,7 +52,7 @@
  • Function
  • Feature
  • Demo
  • -
  • People
  • +
  • Publication
  • About
  • @@ -76,12 +76,12 @@
  • Function
  • Feature
  • Demo
  • -
  • People
  • +
  • Publication
  • About
  • - Welcome, Friend - Welcome, Friend + Welcome + Welcome
  • Login diff --git a/src/edu/gmu/csiss/earthcube/cyberconnector/user/UserTool.java b/src/edu/gmu/csiss/earthcube/cyberconnector/user/UserTool.java index 444bb56..ec3c8ac 100644 --- a/src/edu/gmu/csiss/earthcube/cyberconnector/user/UserTool.java +++ b/src/edu/gmu/csiss/earthcube/cyberconnector/user/UserTool.java @@ -24,6 +24,7 @@ import edu.gmu.csiss.earthcube.cyberconnector.services.Service; import edu.gmu.csiss.earthcube.cyberconnector.utils.BaseTool; import edu.gmu.csiss.earthcube.cyberconnector.utils.Message; +import edu.gmu.csiss.earthcube.cyberconnector.utils.SysDir; /** *Class UserTool.java @@ -487,8 +488,41 @@ public static String get_SHA_512_SecurePassword(String passwordToHash, String sa return generatedPassword; } + /** + * Check if the user exists in the white list + * @param email + * @return + */ + public static boolean checkWhiteList(String email) { + + boolean allowed = false; + + for(int i=0;i