Still useful
Type: Posts; User: marcovmx; Keyword(s):
Still useful
Getting also a ClassCastException in FlowAjaxTilesView.getRenderFragments()
Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.String;
at...
2) Not sure we are seeing the issue from the same perspective. The first request will be to authenticate the user, the second one will be to access the resource. By default, the security context...
1) Can use method security level. Have a look to @PreAuthorize and @Secured
2) You necessarily need a session mechanism to achieve security at that level, be cookies, database or any other.
3) The...
You can define your java class containing the roles as a spring bean and use SpEL to inject the roles. If it works let us know! :)
Try having a look to the javaee Cookie api docs instead. Path is the property you need to modify.
Hi rwinch,
if SavedRequestAwareWrapper is not visible, is there a better way to reconstruct the request? I find SavedRequestAwareWrapper suitable for it. Besides, RequestCache specifies the...
You are totally right. I had a quick look to the method summary that says:
Drilling down the details you can read the saved request should be removed. My mistake ;)
That should be said in the api docs. No clue about that.
Even though MongoDB does not support transactions. It would be nice to have a mechanism (perhaps an annotation) to undo your writes to the database at testing time.
Thanks for responding Rossen,
Well, I have a Spring Webflow configuration with a custom conversation manager using a custom conversation reopository to store conversations with spring mongo db.
...
I expected to have an answer to this thread from any of the spring web flow team members, since I considered this issue to be sensitive because it makes two of the spring modules incompatible and not...
I see...
Jira created: https://jira.springsource.org/browse/DATACMNS-132
Thanks!
My temporary solution is changing:
protected boolean isEntity() {
boolean isComplexType = true;
isComplexType = !simpleTypeHolder.isSimpleType(information.getActualType().getType());...
Hi, flow execution repositories types are not longer supported in webflow 2.3 the reason is unknown at least for me, you can have a look to my post...
It should be working. But another way to do it is by executing and storing your variable in the flow scope. In brief, there are four scopes in webflow: conversation, flash, flow and view. One option...
Related with the post http://forum.springsource.org/showthread.php?123144-Spring-Webflow-integration-with-Spring-MongoDB-issues Where I described I wrote a custom ConversationManager, I have an issue...
Hi, I wrote a custom ConversationManager having a Repository object using a MongoTemplate. I am getting a NullPointerException when storing the FlowExecution object, the reason is 'messagesMemento'...
I think your configuration is not correct, apart from the flow executor you have to to register the flow trough the flow registry, I am using webflow 2.3 though. Itīs a late answer but I hope it...
Hi,
I am facing a different issue now,
My object to persist has an association of type org.springframework.webflow.execution.repository.impl.SimpleFlowExecutionSnapshotGroup, that has a...
Hi Oliver,
Yes, Webflow does it. I think throwing a more meaningful exception would help to quickly identify the problem without having to look the source code, though the occurrence of this...
Hi,
I am working with spring mongodb (1.0.0.RELEASE) and spring webflow, I am getting a null pointer exception:
java.lang.NullPointerException: null
at...
Are you sure you are running Spring 3.1? Spring bean profiles is available as of version 3.1. By this time maybe you have solved the issue.
Hi Rossen,
I am using SWF 2.3 and I dont see any support for Client Continuation Repository. Why is that? I was thinking in implementing my web flows in such way to support failover and...
Hi all!
Does somebody know why is ClientContinuationFlowExecutionStorage (Client Continuation Repository) no longer supported in Spring Webflow 2.3?
What are the suggested storage mechanisms to...