@Autowired
@Bean
@RefreshScope
public CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator(@Qualifier("cookieCipherExecutor") final CipherExecutor cipherExecutor) {
final TicketGrantingCookieProperties tgc = casProperties.getTgc();
final int rememberMeMaxAge = Long.valueOf(tgc.getRememberMeMaxAge()).intValue();
return new TGCCookieRetrievingCookieGenerator(cookieValueManager(cipherExecutor),
tgc.getName(),
tgc.getPath(), tgc.getDomain(),
rememberMeMaxAge, tgc.isSecure(),
tgc.getMaxAge(),
tgc.isHttpOnly());
}
CasCookieConfiguration.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:cas-5.1.0
作者:
评论列表
文章目录