Skip to content
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

Merged
merged 2 commits into from
Oct 6, 2017
Merged

Add support for tomcat 8.5.x #220

merged 2 commits into from
Oct 6, 2017

Conversation

mmoayyed
Copy link
Member

@mmoayyed mmoayyed commented Jul 6, 2017

Adds a module <module>cas-client-integration-tomcat-v85</module> to handle support for tomcat 8.5.x

Closes #215

@mmoayyed mmoayyed requested a review from serac July 6, 2017 21:06
Copy link
Member Author

@mmoayyed mmoayyed left a 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>
Copy link
Member Author

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();
Copy link
Member Author

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,
Copy link
Member Author

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.

@mmoayyed mmoayyed merged commit d999745 into apereo:master Oct 6, 2017
@mmoayyed mmoayyed deleted the tomcat85x branch October 6, 2017 11:30
leleuj pushed a commit to leleuj/java-cas-client that referenced this pull request Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant