All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quincy.AuthorizationCacheContext Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package com.quincy;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AuthorizationCacheContext {
	@Value("${spring.application.name}")
	private String applicationName;

	@Bean("sessionKeyPrefix")
	public String sessionKeyPrefix() {
		return applicationName+".session.";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy