Comments (9)
Same problem after after upgrading from 2.150.1 to 2.150.2 last night.
The exchange goes like this:
- GET / -> 403 Forbidden
- GET /securityRealm/commenceLogin -> 302 to CAS server
- CAS login successful, 302 back to Jenkins
- GET /securityRealm/finishLogin?ticket=xxxxxx -> 302 back to /
- GET / -> 403 Forbidden
- Repeat
I don't see anything happening in the Jenkins log file while this is going on.
from jenkins-cas-plugin.
The fix for this issue is available in jenkinsci#2, but before I release it could you please try the test build available on the CI server? (get cas-plugin.hpi, rename it to cas-plugin.jpi, put it in your Jenkins plugins folder and restart).
from jenkins-cas-plugin.
Thanks for the feedback, CAS plugin version 1.4.3 is now released. It may take a few hours to appear in the Update Center, until then you can grab it from the Maven repository.
from jenkins-cas-plugin.
I am having the same issue.
differences:
- Apache as reverse proxy
- running 2.150.2 LTS (just upgraded this morning); 2.160 security fix was backported to 2.150
- downgrading to 2.150.1 fixes the problem
from jenkins-cas-plugin.
Thanks for the notice. This issue is related to the SECURITY-901 fix in Jenkins. I'll try to implement the necessary adjustments in CAS plugin ASAP, until then you can either downgrade Jenkins or apply the workaround described in the Upgrade Guide.
from jenkins-cas-plugin.
Ah, the upgrade guide did not mention this when I looked yesterday. Unfortunately the workaround of setting that Java property does not seem to fix it for me. But we can stay at .1 for now.
from jenkins-cas-plugin.
Turns out, there was a typo in the property name on the release notes. Someone updated the wiki page and release notes and things are working for me on .2 now. Just need to remember to unset the property after the CAS plugin is updated :)
from jenkins-cas-plugin.
@fcrespel I've tested. It's run OK. Thank you so much for you fixing.
Please release it in Jenkins Plugin market. Thank you
from jenkins-cas-plugin.
get cas-plugin.hpi, rename it to cas-plugin.jpi, put it in your Jenkins plugins folder and restart
Not even required to rename, the hpi
files are also correctly handled :)
from jenkins-cas-plugin.
Related Issues (8)
- Use the same ticket to call finishlogin, log off, and finally error failedLogin page HOT 3
- how to set the ignorePattern parameter? HOT 1
- Recent cas upgrade break the connexion HOT 2
- API token failure authentication using some jenkins ruby library HOT 4
- Compilation fails with latest version of jenkins HOT 3
- Invalid property 'casServerUrlPrefix' of bean class [org.jasig.cas.client.session.SingleSignOutHandler] HOT 3
- CAS Plugin not available any more from the Jenkins Update Center HOT 4
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 jenkins-cas-plugin.