November 2017
Intermediate to advanced
542 pages
14h 24m
English
Now that we know how PT authentication works, we will update our current configuration to obtain a PGT by performing the following steps:
//src/main/java/com/packtpub/springsecurity/configuration/ CasConfig.java @Bean public ProxyGrantingTicketStorage pgtStorage() { return new ProxyGrantingTicketStorageImpl(); } @Scheduled(fixedRate = 300_000) public void proxyGrantingTicketStorageCleaner(){ pgtStorage().cleanUp(); }
Read now
Unlock full access