I commented the populateErrorsInstance and the problem persist :S, Im lost

Please help

Regards

jlcampos 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-tp19712975p19716927.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

Reply via email to