Hello, I am surprised to see the error too. If you are asking about the stack trace, I did not change anything when I posted it here. I think as it is not able to form a valid URL to complete a successful redirection, it is throwing this error. i.e. https://localhost:5555/cfgmgnt.cas.sso/login#{ requestScope.response.url}. As we can see the URL which is formed at the end does not contain any session ticket.
Would really appreciate if anyone can help me with this. Thanks :) On Tuesday, 4 November 2014 12:47:19 UTC+1, j shaik wrote: > > Hello, > > I am surprised to see the error too. If you are asking about the stack > trace, I did not change anything when I posted it here. I think as it is > not able to form a valid URL to complete a successful redirection, it is > throwing this error. i.e. > https://localhost:5555/cfgmgnt.cas.sso/login#{requestScope.response.url}. > As we can see the URL which is formed at the end does not contain any > session ticket. > > Would really appreciate if anyone can help me with this. > > Thanks :) > > On Friday, 31 October 2014 18:25:01 UTC+1, Jérôme LELEU wrote: >> >> Hi, >> >> Here you are a the right place to ask questions. >> >> I'm surprised by this error line: java.net.MalformedURLException: no >> protocol: {cas.securityContext.casProcessingFilterEntryPoint.loginUrl} >> >> Is this the right plain text or did you change something? >> >> Thanks. >> Best regards, >> >> >> >> Jérôme LELEU >> Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj >> Chairman of CAS: www.jasig.org/cas | Creator of pac4j: www.pac4j.org >> >> 2014-10-31 18:17 GMT+01:00 j shaik <junai...@gmail.com>: >> >>> Hello, >>> >>> >>> I am looking for some help about this error, I have been redirected from >>> jira to github to this place and I am not sure where to go to find some >>> help. I would really appreciate if someone can lead me to answers or a >>> place where I can get some help. >>> >>> Thanks :) >>> >>> scenario: >>> >>> I have a jenkins server which needs to authenticate using CAS with >>> openid protocol. i.e. when I click on login from jenkins server, it takes >>> me to the CAS login page. I enter my username and password which are >>> handled by our LDAP server and then it issues a ticket which is used to >>> authenticate the user to the jenkins server. >>> >>> Problem: >>> I have configured the CAS server to use openiD and the LDAP. When I >>> click on the login from my jenkins server, I get the CAS login page. I >>> enter my username and password and click on login. It shows successfull >>> login >>> But Ideally it should redirect me back to the jenkins homepage, but it >>> doesnt. it redirects to this URL >>> https://localhost:5555/cfgmgnt.cas.sso/login#{requestScope.response.url} >>> >>> cas.properties: >>> server.name=https://localhost:5555 >>> server.prefix=${server.name}/cfgmgnt.cas.sso >>> cas.securityContext.status.allowedSubnet=127.0.0.1 >>> cas.themeResolver.defaultThemeName=cas-theme-default >>> cas.viewResolver.basename=default_views >>> host.name=cas01.example.org >>> >>> cas.securityContext.serviceProperties.service=${server.prefix}/services/j_acegi_cas_security_check >>> >>> cas.securityContext.serviceProperties.adminRoles=ROLE_ADMIN >>> >>> cas.securityContext.casProcessingFilterEntryPoint.loginUrl=${server.prefix}/login >>> cas.securityContext.ticketValidator.casServerUrlPrefix=${server.prefix} >>> password.policy.warnAll=false >>> password.policy.warningDays=30 >>> password.policy.url=https://password.example.edu/change >>> >>> my ldap.properties file: >>> >>> ldap.url=ldap://myserver >>> ldap.domain=myserver >>> ldap.connectTimeout=3000 >>> ldap.useStartTLS=false >>> ldap.pool.minSize=3 >>> ldap.pool.maxSize=10 >>> ldap.pool.validateOnCheckout=false >>> ldap.pool.validatePeriodically=true >>> ldap.pool.blockWaitTime=3000 >>> ldap.pool.validatePeriod=300 >>> ldap.pool.prunePeriod=300 >>> ldap.pool.idleTime=600 >>> ldap.authn.managerDN=uid=manager,ou=Users,dc=example,dc=org >>> ldap.authn.managerPassword=nonsense >>> ldap.authn.searchFilter=(uid={user}) >>> ldap.authn.format=%s...@example.com >>> >>> Providing the stack trace of error from CAS server: >>> >>> 2014-10-21 18:45:19,177 ERROR [org.openid4java.server.ServerManager] - >>> {cas.securityContext.casProcessingFilterEntryPoint.loginUrl}> >>> java.net.MalformedURLException: no protocol: >>> {cas.securityContext.casProcessingFilterEntryPoint.loginUrl} >>> at java.net.URL.(URL.java:585) >>> at java.net.URL.(URL.java:482) >>> at java.net.URL.(URL.java:431) >>> at >>> org.openid4java.server.ServerManager.authResponse(ServerManager.java:681) >>> at >>> org.openid4java.server.ServerManager.authResponse(ServerManager.java:615) >>> at >>> org.openid4java.server.ServerManager.authResponse(ServerManager.java:521) >>> at >>> org.jasig.cas.support.openid.authentication.principal.OpenIdService.getResponse(OpenIdService.java:125) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:870) >>> at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1293) >>> at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68) >>> at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1369) >>> at ognl.ASTMethod.getValueBody(ASTMethod.java:90) >>> at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) >>> at ognl.SimpleNode.getValue(SimpleNode.java:258) >>> at ognl.ASTChain.getValueBody(ASTChain.java:141) >>> at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) >>> at ognl.SimpleNode.getValue(SimpleNode.java:258) >>> at ognl.Ognl.getValue(Ognl.java:494) >>> at >>> org.springframework.binding.expression.ognl.OgnlExpression.getValue(OgnlExpression.java:85) >>> at >>> org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:75) >>> at >>> org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) >>> at >>> org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145) >>> at >>> org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) >>> at >>> org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101) >>> at org.springframework.webflow.engine.State.enter(State.java:194) >>> at >>> org.springframework.webflow.engine.Transition.execute(Transition.java:227) >>> at >>> org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51) >>> at org.springframework.webflow.engine.State.enter(State.java:194) >>> at >>> org.springframework.webflow.engine.Transition.execute(Transition.java:227) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) >>> at >>> org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119) >>> at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) >>> at >>> org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105) >>> at org.springframework.webflow.engine.State.enter(State.java:194) >>> at >>> org.springframework.webflow.engine.Transition.execute(Transition.java:227) >>> at >>> org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51) >>> at org.springframework.webflow.engine.State.enter(State.java:194) >>> at >>> org.springframework.webflow.engine.Transition.execute(Transition.java:227) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) >>> at >>> org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119) >>> at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) >>> at >>> org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105) >>> at org.springframework.webflow.engine.State.enter(State.java:194) >>> at >>> org.springframework.webflow.engine.Transition.execute(Transition.java:227) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) >>> at >>> org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119) >>> at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) >>> at >>> org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105) >>> at org.springframework.webflow.engine.State.enter(State.java:194) >>> at >>> org.springframework.webflow.engine.Transition.execute(Transition.java:227) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) >>> at >>> org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119) >>> at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388) >>> at >>> org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) >>> at >>> org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:232) >>> at >>> org.springframework.webflow.engine.ViewState.resume(ViewState.java:196) >>> at org.springframework.webflow.engine.Flow.resume(Flow.java:545) >>> at >>> org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258) >>> at >>> org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169) >>> at >>> org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183) >>> at >>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) >>> at >>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) >>> at >>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) >>> at >>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) >>> at >>> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >>> at >>> org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:125) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>> at >>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> at >>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) >>> at >>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>> at >>> com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) >>> at >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) >>> at >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) >>> at >>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) >>> at >>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) >>> at >>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) >>> at >>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at >>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>> at java.lang.Thread.run(Thread.java:745) >>> >>> -- >>> You are currently subscribed to cas-...@lists.jasig.org as: lel...@gmail.com >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> >>> >> -- >> You are currently subscribed to cas-...@lists.jasig.org as: >> jasig-cas-user...@googlegroups.com >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> -- > You are currently subscribed to cas-user@lists.jasig.org as: > cas-user-garchive-84...@googlegroups.com > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user