-
-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for tomcat 8.5.x #220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments noting what's really changed in this PR.
<dependency> | ||
<groupId>org.apache.tomcat.embed</groupId> | ||
<artifactId>tomcat-embed-core</artifactId> | ||
<version>8.5.16</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bit is different from the Tomcat 8.0.x module
protected void startInternal() throws LifecycleException { | ||
super.startInternal(); | ||
logger.debug("{} starting.", getName()); | ||
final Realm realm = this.context.getRealm(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to allow access to the realm, needed to add a dependency on tomcat-embedded directly.
|
||
/** {@inheritDoc} */ | ||
@Override | ||
protected boolean doAuthenticate(final Request request, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to adjust the method signature as tomcat 8.5.x is different.
Add support for tomcat 8.5.x
Adds a module
<module>cas-client-integration-tomcat-v85</module>
to handle support for tomcat 8.5.xCloses #215