Update TokenSettings.TOKEN_SETTING_BASE

Issue gh-117
This commit is contained in:
Joe Grandja 2020-11-04 15:38:48 -05:00
parent 40ca7a4654
commit d7fe79d0ec

View File

@ -29,7 +29,7 @@ import java.util.Map;
* @see Settings
*/
public class TokenSettings extends Settings {
private static final String TOKEN_SETTING_BASE = "spring.security.oauth2.authorization-server.token.";
private static final String TOKEN_SETTING_BASE = "setting.token.";
public static final String ACCESS_TOKEN_TIME_TO_LIVE = TOKEN_SETTING_BASE.concat("access-token-time-to-live");
public static final String ENABLE_REFRESH_TOKENS = TOKEN_SETTING_BASE.concat("enable-refresh-tokens");
public static final String REUSE_REFRESH_TOKENS = TOKEN_SETTING_BASE.concat("reuse-refresh-tokens");