CasCookieConfiguration.java 文件源码

java
阅读 19 收藏 0 点赞 0 评论 0

项目:cas-5.1.0 作者:
@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());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号