use of org.apereo.cas.configuration.model.core.util.CryptographyProperties in project cas by apereo.
the class DynamoDbTicketRegistryConfiguration method ticketRegistry.
@Autowired
@RefreshScope
@Bean
public TicketRegistry ticketRegistry(@Qualifier("ticketCatalog") final TicketCatalog ticketCatalog) {
final DynamoDbTicketRegistryProperties db = casProperties.getTicket().getRegistry().getDynamoDb();
final CryptographyProperties crypto = db.getCrypto();
return new DynamoDbTicketRegistry(Beans.newTicketRegistryCipherExecutor(crypto), dynamoDbTicketRegistryFacilitator(ticketCatalog));
}
Aggregations