use of org.apereo.cas.ticket.registry.IgniteTicketRegistry in project cas by apereo.
the class IgniteTicketRegistryConfiguration method ticketRegistry.
@Bean
@RefreshScope
public TicketRegistry ticketRegistry() {
final IgniteProperties igniteProperties = casProperties.getTicket().getRegistry().getIgnite();
final IgniteTicketRegistry r = new IgniteTicketRegistry(igniteConfiguration(), igniteProperties);
r.setCipherExecutor(Beans.newTicketRegistryCipherExecutor(igniteProperties.getCrypto()));
return r;
}
use of org.apereo.cas.ticket.registry.IgniteTicketRegistry in project cas by apereo.
the class IgniteTicketRegistryConfiguration method ticketRegistry.
@Bean
@RefreshScope
public TicketRegistry ticketRegistry(@Qualifier("ticketCatalog") final TicketCatalog ticketCatalog) {
final IgniteProperties igniteProperties = casProperties.getTicket().getRegistry().getIgnite();
final IgniteTicketRegistry r = new IgniteTicketRegistry(ticketCatalog, igniteConfiguration(ticketCatalog), igniteProperties);
r.setCipherExecutor(CoreTicketUtils.newTicketRegistryCipherExecutor(igniteProperties.getCrypto(), "ignite"));
return r;
}
Aggregations