Probably because the flow ends if you successfully authenticate and you're redirected.
-Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Tue, Sep 30, 2008 at 2:41 PM, jlcampos <[EMAIL PROTECTED]>wrote: > > Im seeing that the error is thrown in FlowsessionImpl line 151 > > public void writeExternal(ObjectOutput out) line with > out.writeObject(flashMap); > > The question is, why when there is a success authentication the flashMap > doesnot contain the DefaultMultipartHttpServletRequest and when there is > an > error it does? > > Any help will be highly appreciated. > > Regards > > > scott_battaglia wrote: > > > > It has to do with the fact that whatever you're trying to store isn't > > serializable. My guess is the Web Flow is attempting to store it in its > > flow session. > > > > -Scott > > > > -Scott Battaglia > > PGP Public Key Id: 0x383733AA > > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > > > > On Sun, Sep 28, 2008 at 5:31 PM, jlcampos > > <[EMAIL PROTECTED]>wrote: > > > >> > >> Ok, I allready trace down the problem, in the > >> AuthenticationViaFomrAction, > >> when there is a TicketException, the populateErrorsInstance sets > >> BindingException objects to flash scope, but I still have no idea of why > >> this action causes the NotSerializableException. > >> > >> Please help. > >> > >> Regards > >> > >> jlcampos wrote: > >> > > >> > Hi, > >> > > >> > Im integrating CAS to an existing proyect which uses an encrypted file > >> as > >> > username and a manually input password. I already implemented a > >> > PasswordHandler in order to obtain the file from request, decrypt it > an > >> > read its data, everything is fine whenever I return true from my > >> > PasswordHandler, but when I return false, e.g. due to an not found > >> user, > >> > Im getting ContinuationCreationException: Could not serialize flow > >> > execution, I know this is spring webflow related but I want your > >> comments > >> > on why when I return false from my PasswordHandler the serialization > >> > process cannot be achived and why when I return true it get achieved. > >> > > >> > The stack trace follows > >> > > >> > > >> > org.springframework.webflow.execution.repository.continuation.ContinuationCreationException: > >> > Could not serialize flow execution; make sure all objects stored in > >> flow > >> > or flash scope are serializable; nested exception is > >> > java.io.NotSerializableException: > >> > > >> > org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest > >> > at > >> > > >> > org.springframework.webflow.execution.repository.continuation.SerializedFlowExecutionContinuation.<init>(SerializedFlowExecutionContinuation.java:75) > >> > at > >> > > >> > org.springframework.webflow.execution.repository.continuation.SerializedFlowExecutionContinuationFactory.createContinuation(SerializedFlowExecutionContinuationFactory.java:55) > >> > at > >> > > >> > org.springframework.webflow.execution.repository.continuation.ContinuationFlowExecutionRepository.putFlowExecution(ContinuationFlowExecutionRepository.java:162) > >> > at > >> > > >> > org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:226) > >> > at > >> > > >> > org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:111) > >> > Truncated. see log file for complete stacktrace > >> > java.io.NotSerializableException: > >> > > >> > org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest > >> > at > >> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) > >> > at > >> > > >> > java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) > >> > at > >> > > >> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) > >> > at > >> > > >> > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) > >> > at > >> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) > >> > Truncated. see log file for complete stacktrace > >> > > >> > > >> > Any comment will be highly appreciated. > >> > > >> > Best regards > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Help-with-serialization-of-Multipart-Credentials-tp19712975p19715730.html > >> Sent from the CAS Users mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> Yale CAS mailing list > >> [email protected] > >> http://tp.its.yale.edu/mailman/listinfo/cas > >> > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > -- > View this message in context: > http://www.nabble.com/Help-with-serialization-of-Multipart-Credentials-tp19712975p19748001.html > Sent from the CAS Users mailing list archive at Nabble.com. > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas >
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
