|
@@ -0,0 +1,12 @@
|
|
|
+package com.ym.mec.common.security;
|
|
|
+
|
|
|
+public interface SecurityConstants {
|
|
|
+
|
|
|
+ public static final String USERNAME_PRINCIPAL_PREFIX = "username:";
|
|
|
+
|
|
|
+ public static final String PHONE_PRINCIPAL_PREFIX = "phone:";
|
|
|
+
|
|
|
+ String PARAM_VERIFY_EXCEPTION = "参数校验异常";
|
|
|
+
|
|
|
+ String VERIFY_FAILURE = "校验失败";
|
|
|
+}
|