[java-idp-testbed] branch main updated: Commit controller with a CAS testing change.
Scott Cantor
cantor.2 at osu.edu
Tue Aug 19 13:43:01 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-idp-testbed.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=7a4fbdbb9ca01e0d8de3f026df7b6a95de400620
The following commit(s) were added to refs/heads/main by this push:
new 7a4fbdb Commit controller with a CAS testing change.
7a4fbdb is described below
commit 7a4fbdbb9ca01e0d8de3f026df7b6a95de400620
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 19 09:42:56 2025 -0400
Commit controller with a CAS testing change.
---
src/main/java/sp/CASController.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/sp/CASController.java b/src/main/java/sp/CASController.java
index a9cbd3b..5c66f55 100644
--- a/src/main/java/sp/CASController.java
+++ b/src/main/java/sp/CASController.java
@@ -44,7 +44,7 @@ public class CASController {
public String idpCASEndpointPath = "/idp/profile/cas";
- public String casSPServicePath = "/sp/CAS/Service";
+ public String casSPServicePath = "/sp/CAS/Service?foo=bar&baf=baz";
/**
* Init SSO by redirecting to the CAS login service.
@@ -65,6 +65,7 @@ public class CASController {
final List<Pair<String, String>> queryParams = urlBuilder.getQueryParams();
+ queryParams.add(new Pair<String, String>(ProtocolParam.Method.id(), "post"));
queryParams.add(new Pair<String, String>(ProtocolParam.Service.id(), baseUrl + casSPServicePath));
final String redirectURL = urlBuilder.buildURL();
@@ -148,7 +149,7 @@ public class CASController {
*
* @throws Exception if something bad happens
*/
- @RequestMapping(value = "/Service", method = RequestMethod.GET)
+ @RequestMapping(value = "/Service")
public ResponseEntity<String> handleCASResponse(HttpServletRequest servletRequest, HttpServletResponse servletResponse) throws Exception {
final String ticket = servletRequest.getParameter(ProtocolParam.Ticket.id());
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list