mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 17:38:32 +08:00
Redis id prefix with MXK_
This commit is contained in:
parent
5ae9dfd16f
commit
45dd4e6270
@ -34,7 +34,7 @@ public class RedisSessionManager implements SessionManager {
|
||||
|
||||
RedisConnectionFactory connectionFactory;
|
||||
|
||||
public static String PREFIX="REDIS_SESSION_";
|
||||
public static String PREFIX="MXK_SESSION_";
|
||||
|
||||
public String getKey(String sessionId) {
|
||||
return PREFIX + sessionId;
|
||||
|
||||
@ -30,7 +30,7 @@ public class RedisMomentaryService implements MomentaryService {
|
||||
|
||||
RedisConnectionFactory connectionFactory;
|
||||
|
||||
public static String PREFIX="REDIS_MOMENTARY_";
|
||||
public static String PREFIX="MXK_MOMENTARY_";
|
||||
/**
|
||||
* @param connectionFactory
|
||||
*/
|
||||
|
||||
@ -30,7 +30,7 @@ public class RedisProxyGrantingTicketServices extends RandomServiceTicketService
|
||||
|
||||
RedisConnectionFactory connectionFactory;
|
||||
|
||||
public static String PREFIX="REDIS_CAS_TICKET_PGT_";
|
||||
public static String PREFIX = "MXK_CAS_TICKET_PGT_";
|
||||
/**
|
||||
* @param connectionFactory
|
||||
*/
|
||||
|
||||
@ -30,7 +30,7 @@ public class RedisTicketServices extends RandomServiceTicketServices {
|
||||
|
||||
RedisConnectionFactory connectionFactory;
|
||||
|
||||
public static String PREFIX="REDIS_CAS_TICKET_ST_";
|
||||
public static String PREFIX="MXK_CAS_TICKET_ST_";
|
||||
/**
|
||||
* @param connectionFactory
|
||||
*/
|
||||
|
||||
@ -30,7 +30,7 @@ public class RedisAuthorizationCodeServices extends RandomValueAuthorizationCode
|
||||
|
||||
RedisConnectionFactory connectionFactory;
|
||||
|
||||
public static String PREFIX="MAXKEY_REDIS_OAUTH_V20_CODE_";
|
||||
public static String PREFIX="MXK_OAUTH_V20_CODE_";
|
||||
|
||||
protected int codeValiditySeconds = 60 * 10; //default 10 minutes.
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ import java.util.Date;
|
||||
public class RedisTokenStore implements TokenStore {
|
||||
static final Logger _logger = LoggerFactory.getLogger(RedisTokenStore.class);
|
||||
|
||||
private static final String PREFIX = "REDIS_OAUTH_V20_";
|
||||
private static final String PREFIX = "MXK_OAUTH_V20_";
|
||||
|
||||
private static final String ACCESS = PREFIX + "ACCESS_";
|
||||
private static final String AUTH_TO_ACCESS = PREFIX + "AUTH_TO_ACCESS_";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user