Dmitriy,

Thanks for your reply. I think action element itself does not work. Are you 
meaning to use evaluate element?

From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
Sent: Wednesday, October 07, 2015 9:17 AM
To: cas-user@lists.jasig.org
Subject: Re: [cas-user] Remote Address Authentication - Configuration Error on 
Documentation

That's a documentation typo. That should have been: <action 
evaluate="remoteAddressCheck" />

Cheers,
Dmitriy.

On Oct 7, 2015, at 09:04, Song, Doe-Hyun 
<ds...@armada.net<mailto:ds...@armada.net>> wrote:
Hello All,

>From the following document,
http://jasig.github.io/cas/4.1.x/installation/Remote-Address-Authentication.html

action tag seems not correct.
<action-state id="startAuthenticate">
   <action bean="remoteAddressCheck" />
   <transition on="success" to="sendTicketGrantingTicket" />
   <transition on="error" to="viewLoginForm" />
</action-state>

I can find parser error as below:

07-Oct-2015 08:50:21.603 SEVERE [http-nio-8443-exec-6] 
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for 
servlet [cas] in context with path [/cas] threw exception [Request processing 
failed; nested exception is 
org.springframework.webflow.definition.registry.FlowDefinitionConstructionException:
 An exception occurred constructing the flow 'login'] with root cause
 org.xml.sax.SAXParseException; lineNumber: 82; columnNumber: 40; 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'action'. One of '{"http://www.springframework.org/schema/webflow":attribute, 
"http://www.springframework.org/schema/webflow":secured, 
"http://www.springframework.org/schema/webflow":on-entry, 
"http://www.springframework.org/schema/webflow":evaluate, 
"http://www.springframework.org/schema/webflow":render, 
"http://www.springframework.org/schema/webflow":set, 
"http://www.springframework.org/schema/webflow":transition, 
"http://www.springframework.org/schema/webflow":on-exit, 
"http://www.springframework.org/schema/webflow":exception-handler}' is expected.
                at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
                at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
                at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437)
                at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
                at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
                at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:458)
                at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3237)
                at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1796)
              at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:766)
                at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:355)
                at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770)
                at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
                at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
                at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
                at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
                at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
                at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
                at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
                at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
                at 
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
                at 
org.springframework.webflow.engine.model.builder.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:113)
                at 
org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.init(XmlFlowModelBuilder.java:112)
                at 
org.springframework.webflow.engine.model.builder.DefaultFlowModelHolder.assembleFlowModel(DefaultFlowModelHolder.java:87)
                at 
org.springframework.webflow.engine.model.builder.DefaultFlowModelHolder.getFlowModel(DefaultFlowModelHolder.java:61)
                at 
org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit(FlowModelFlowBuilder.java:151)
                at 
org.springframework.webflow.engine.builder.support.AbstractFlowBuilder.init(AbstractFlowBuilder.java:46)
                at 
org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:90)
                at 
org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:109)
                at 
org.springframework.webflow.engine.builder.DefaultFlowHolder.getFlowDefinition(DefaultFlowHolder.java:84)
                at 
org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:60)
                at 
org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:138)
                at 
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:238)
                at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
                at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
                at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
                at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
                at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.jasig.cas.security.RequestParameterPolicyEnforcementFilter.doFilter(RequestParameterPolicyEnforcementFilter.java:296)
                at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
                at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.jasig.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:62)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
                at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
                at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
                at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
                at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
                at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
                at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
                at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
                at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
                at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
                at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
                at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
                at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
                at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
                at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
                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)

Thanks,
Doe

--

You are currently subscribed to 
cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: 
dkopyle...@unicon.net<mailto:dkopyle...@unicon.net>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

The information contained in this e-mail and any attachments is confidential and

intended only for the recipient. If you are not the intended recipient, the

information contained in this message may not be used, copied, or forwarded to

third parties or otherwise distributed for any other purpose. Please notify the

sender if you received this e-mail in error and delete the e-mail and its

attachments promptly.  Nothing in this e-mail may be used or deemed to form the

basis of a contractual or any other legally binding obligation unless separately

confirmed in writing by an authorized representative of ARMADA.



--

You are currently subscribed to cas-user@lists.jasig.org as: ds...@armada.net

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



The information contained in this e-mail and any attachments is confidential and
intended only for the recipient. If you are not the intended recipient, the
information contained in this message may not be used, copied, or forwarded to
third parties or otherwise distributed for any other purpose. Please notify the
sender if you received this e-mail in error and delete the e-mail and its
attachments promptly.  Nothing in this e-mail may be used or deemed to form the
basis of a contractual or any other legally binding obligation unless separately
confirmed in writing by an authorized representative of ARMADA.

-- 
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

Reply via email to