Thibaud Lepretre
Thibaud Lepretre
I'm not maintainer at all, I just show that project and I'd like to use it. But as you suggest, I'd like to have support of XDG base dir standard...
Why would you like to rename `examples` to `.examples`. By nature examples must be visible and easily accessible, and dot starting folder on POSIX is hidden.
One examples I'd like to add is Gatus + http to SMTP proxy + alert webhook (everything on docker-compose format). That may help fixing #117
@kulemeevag you should not define your own endpoint ```java @GetMapping(path = "/casCallback") public void casCallback(@RequestParam(name = "pgtIou") final String proxyGrantingTicketIou, @RequestParam(name = "pgtId") final String proxyGrantingTicket) { proxyGrantingTicketStorage.save(proxyGrantingTicketIou, proxyGrantingTicket); }...
I don't see anything wrong. Do you have some sample project to let me dig on problem?
@kulemeevag proxy call back setting must be a path, otherwise it will fail because of https://github.com/spring-projects/spring-security/blob/main/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java#L293 If you add url that will generate ant path `/**http://my_local_machine_IP:8081/casCallback` that will not works...
Since login page is hosted on CAS server, there is no specificity for frontend. Every time anonymous user is visiting private page it will be redirected by the backend code...
@kulemeevag did you try creating your own bean of `CasAuthenticationEntryPoint`? You may override `com.kakawait.spring.security.cas.web.RequestAwareCasAuthenticationEntryPoint`
You can define your own bean of type `TicketValidator` thanks to ```java @ConditionalOnMissingBean(TicketValidator.class) ``` Builder will not be used. Or create bean of type `CasSecurityConfigurerAdapter` and use method `void configure(CasTicketValidatorBuilder...
No it does not support out-of-box. I don't have complete idea how to support it because I never used SAML but you may import `cas-client-support-saml` from official client and configure...