ShiroConstants.java 434 B

12345678910111213
  1. package com.goafanti.common.constant;
  2. public class ShiroConstants {
  3. public static final String SESSION_STATUS = "goafanti-online-status";
  4. public static final String REDIS_SHIRO_SESSION = "goafanti-session:";
  5. public static final String REDIS_SHIRO_ALL = "*goafanti-session:*";
  6. // 0:禁止登录
  7. public static final Integer USER_DISABLE = new Integer(0);
  8. // 1:有效
  9. public static final Integer USER_ENABLE = new Integer(1);
  10. }