Comments (5)
@igorhara Thank you for reporting. I'm not totally sure to understand completely your needs. So I have some questions:
Are you aware that you're able to customize and add/configure your own implementation of org.jasig.cas.client.validation.TicketValidator
which is responsible to validate ticket. By registring a bean that implement org.jasig.cas.client.validation.TicketValidator
.
Because CasTicketValidatorConfiguration
will only be configured if you're not providing your own TicketValidator
bean.
So if somewhere in your configuration you define a new bean of
@Bean
TicketValidator myCustomTicketValidator() {
return new MyCustomTicketValidator();
}
Where MyCustomTicketValidator
is implementing TicketValidator
.
Does it not enough for you?
from cas-security-spring-boot-starter.
from cas-security-spring-boot-starter.
@igorhara So why do you not creating a bean extending Cas30ServiceTicketValidator
(or whatever the version, depending of your needs) and then overriding protected Map<String, Object> extractCustomAttributes(final String xml)
method?
from cas-security-spring-boot-starter.
That is what I am doing, but I had to read the source code in order to be able to configure my custom TIcketValidator correctly.
from cas-security-spring-boot-starter.
Ok but currently the starter is more about integrating CAS client inside Spring boot & Security app.
I don't mean that this feature request will never resolved but since there are missing few integrations (Spring boot 2, RestTemplate, tests & coverage). To be honest with you, since it's possible to override by yourself the TicketValidator
, I don't think I will work on that top priority on that request.
Feel free to propose PR.
from cas-security-spring-boot-starter.
Related Issues (20)
- Securing CORS RestAPI HOT 1
- Where is 1.0.0-beta-1 built from? HOT 6
- Cannot get targetUrl HOT 5
- Does it support set `ignorePattern` HOT 4
- Integration tests
- Invalid custom permission validation HOT 5
- Support for Saml11TicketValidator HOT 1
- Endpoint which authenticate from CAS Server HOT 1
- Whether it is suitable for front-end projects HOT 4
- Configuration question HOT 1
- Proxy Ticket Validator Configuration Property HOT 1
- Replace PostConstruct
- Fix JDK11 build
- Compilation error java-cas-client 3.6.1 HOT 1
- [Question] How to extract attributes from XML document return by ticket validation? HOT 1
- CAS logout custom configuration logout success url ? HOT 1
- CAS Proxy Authentication HOT 6
- Problem with Logout HOT 3
- Use springboot 2.7.0+ with SecurityFilterChain instead of deprecated WebSecurityConfigurerAdapter HOT 1
- When will it be possible to use this library with spring boot 3?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cas-security-spring-boot-starter.