cas-security-spring-boot-starter icon indicating copy to clipboard operation
cas-security-spring-boot-starter copied to clipboard

Proxy Ticket Validator Configuration Property

Open naisamendoza opened this issue 4 years ago • 1 comments

Hi,

I was wondering if there is any configuration property to set the proxy ticket validator to false? Because in here, only the proxy chain validation is set. image

So in here, the proxyTicketValidator is always null. image

So it would always generate a proxy ticket validator. image

I'm quite new to CAS so please bear with me.

naisamendoza avatar Sep 04 '20 07:09 naisamendoza

You can define your own bean of type TicketValidator thanks to

@ConditionalOnMissingBean(TicketValidator.class)

Builder will not be used.

Or create bean of type CasSecurityConfigurerAdapter and use method void configure(CasTicketValidatorBuilder ticketValidator) to set proxyTicketValidator to false

kakawait avatar Sep 04 '20 16:09 kakawait