|
@@ -1,6 +1,6 @@
|
|
package cn.com.qmth.examcloud.web.security;
|
|
package cn.com.qmth.examcloud.web.security;
|
|
|
|
|
|
-import org.apache.commons.lang.StringUtils;
|
|
|
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
|
@@ -33,6 +33,7 @@ public class SecurityProperty {
|
|
Properties curProperties = new Properties();
|
|
Properties curProperties = new Properties();
|
|
curProperties.load(br);
|
|
curProperties.load(br);
|
|
|
|
|
|
|
|
+ // PROPS.clear();
|
|
if (curProperties.size() > 0) {
|
|
if (curProperties.size() > 0) {
|
|
PROPS.putAll(curProperties);
|
|
PROPS.putAll(curProperties);
|
|
log.info("Security loadProperties size is {}", PROPS.size());
|
|
log.info("Security loadProperties size is {}", PROPS.size());
|