Open paszczus opened 7 years ago
Unfortunately, it doesn't help to post an error that relates to a modified code. How should I trace that? Additionally, we currently have no resources to updating the module to the latest OX and CAS versions. Sorry.
I changed CasConfiguration.java
LoginConfiguration conf = new LoginConfiguration( uiWebPath, sessiondAutoLogin, hashSource, httpAuthAutoLogin, defaultClient, clientVersion, errorPageTemplate, cookieExpiry, cookieForceHTTPS, insecure, ipCheck, ipCheckWhitelist, redirectIPChangeAllowed, ranges, disableTrimLogin, formLoginWithoutAuthId, isRandomTokenEnabled, false); // new: checkPunyCodeLoginString
to
LoginConfiguration conf = new LoginConfiguration( uiWebPath, sessiondAutoLogin, hashSource, httpAuthAutoLogin, defaultClient, clientVersion, errorPageTemplate, cookieExpiry, cookieForceHTTPS, insecure, redirectIPChangeAllowed, disableTrimLogin, formLoginWithoutAuthId, isRandomTokenEnabled, false);
and CasLoginRequestHandler.java
LoginRequestImpl logReq = new LoginRequestImpl( credentials[0], credentials[1], clientIP, userAgent, authId, client, null, hash, HTTP_JSON, headers, cookies, Tools.considerSecure(request, fLoginConf.isCookieForceHTTPS()), request.getServerName(), request.getServerPort(), httpSessionId);
to
LoginRequestImpl logReq = new LoginRequestImpl( credentials[0], credentials[1], clientIP, userAgent, authId, client, null, hash, HTTP_JSON, headers, null, cookies, Tools.considerSecure(request, fLoginConf.isCookieForceHTTPS()), request.getServerName(), request.getServerPort(), httpSessionId);
After modifying current code and get compiled jar, we are now having another problem:
`### storing original url: https://nowapoczta.foo.bar.pl/appsuite/ com.openexchange.grizzly.method=GET com.openexchange.grizzly.queryString=
com.openexchange.grizzly.remoteAddress=10.59.146.75
com.openexchange.grizzly.remotePort=35542
com.openexchange.grizzly.requestURI=/ajax/casauth
com.openexchange.grizzly.serverName=nowapoczta.foo.bar.pl
com.openexchange.grizzly.servletPath=/ajax/casauth
com.openexchange.grizzly.threadName=OXWorker-0000072
com.openexchange.grizzly.userAgent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
com.openexchange.request.trackingId=730564226-365282116
2017-05-25T17:10:34,071+0200 INFO [OXTimer-0000072] com.openexchange.push.impl.balancing.reschedulerpolicy.PermanentListenerRescheduler.checkReschedule(PermanentListenerRescheduler.java:314)
Triggered rescheduling of permanent listeners incl. remote rescheduling
2017-05-25T17:10:34,071+0200 INFO [OXTimer-0000072] com.openexchange.push.impl.balancing.reschedulerpolicy.PermanentListenerRescheduler.cancelTimerTask(PermanentListenerRescheduler.java:202)
Canceled timer task for rescheduling checks
2017-05-25T17:10:35,702+0200 ERROR [OXWorker-0000074] de.hofuniversity.iisys.ox.sso.CasLoginRequestHandler.handleLogin(CasLoginRequestHandler.java:454)
failed to extract PGT IOU from CAS validation response
com.openexchange.grizzly.method=GET
com.openexchange.grizzly.queryString=ticket=ST-451450-6MiRRryUcff349HAF4sP-login.foo.bar.pl
com.openexchange.grizzly.remoteAddress=10.59.146.75
com.openexchange.grizzly.remotePort=35546
com.openexchange.grizzly.requestURI=/ajax/casauth
com.openexchange.grizzly.serverName=nowapoczta.foo.bar.pl
com.openexchange.grizzly.servletPath=/ajax/casauth
com.openexchange.grizzly.threadName=OXWorker-0000074
com.openexchange.grizzly.userAgent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
com.openexchange.request.trackingId=730564226-365282117
2017-05-25T17:10:35,702+0200 WARN [OXWorker-0000074] de.hofuniversity.iisys.ox.sso.CasLoginRequestHandler.handleRequest(CasLoginRequestHandler.java:170)
ClearPassHook Exception:
com.openexchange.grizzly.method=GET
com.openexchange.grizzly.queryString=ticket=ST-451450-6MiRRryUcff349HAF4sP-login.foo.bar.pl
com.openexchange.grizzly.remoteAddress=10.59.146.75
com.openexchange.grizzly.remotePort=35546
com.openexchange.grizzly.requestURI=/ajax/casauth
com.openexchange.grizzly.serverName=nowapoczta.foo.bar.pl
com.openexchange.grizzly.servletPath=/ajax/casauth
com.openexchange.grizzly.threadName=OXWorker-0000074
com.openexchange.grizzly.userAgent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
com.openexchange.request.trackingId=730564226-365282117
java.lang.Exception: failed to process CAS validation response: