Thank you for your fast reply.
Yes, there is a reason. We use a listener to generate a breadcrumb navigation list. This breadcrumb list is generated by using the attribute tags of the view-states…...
Type: Posts; User: springUser213; Keyword(s):
Thank you for your fast reply.
Yes, there is a reason. We use a listener to generate a breadcrumb navigation list. This breadcrumb list is generated by using the attribute tags of the view-states…...
Hi Experts,
I’m a Spring WebFlow newbee, so please be kind to me ;)
I want to put a value of a flow input attribute into the value attribute of an attribute tag of a view-state:
<input...
Never mind, I just looked at the source code of the RoleVoter and found out that this seems to be the normal behavior. I thought the AccessDecisionManager would be somehow smarter and wouldn’t call...
Yes that helped a lot. But since I can’t use the Spring Security ACL DB Tables (I have to use the existing tables of the App) I will skip all Spring Security ACL stuff and just implement my own...
Thx this is what I need. But is there a code example that shows how to use AccessDecisionVoter and AclService (in combination with AspectJ style pointcuts) ?
Hey,
I’m using the AspectJ style pointcuts to define Security on Method level. This works fine, but for certain methods the user role is not enough. E.g. a method getData(int dataId); is used by...
I somehow feel like talking to myself here. Are these klicks real or are they generated by SpringForumKlickGeneratorImpl ;)?
Problem solved: I had to define my Beans with protected Methods in applicationContext.xml, they will not be found automatically. Specifying beans in app-servlet.xml isn't enough they have to be...
I really don’t get it. I now tried to set up the most simple App with method level security by myself. Therefore I just copied the libs from petclinic (where method level security is working!) into...
Hey,
I’m using Spring Security 2.0.3 and want to access the DB using jdbc-user-service to load the user data out of the db (I’m not using the standard schema). I have just one table with users. Each...
Hey,
I’m trying to extend an existing Spring 2.5 App by using using Spring Security 2.0.3 to protect my application on method-access level, but my Service methods are not protected, i.e. I can still...
Found the solution. After updating the toplink-essentials.jar to the newest version everything works fine...
Found the solution. And yes, it was an DB error. After updating the toplink-essentials.jar to the newest version everything works fine...
root cause
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception...
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception ...
Hey Guys,
I’m trying to add Spring Security (2.0.3) to an existing Spring 2.5 Application. I first thought this is a Spring Security problem (thread), but now I think this is rather a DB config...
Thanks, but I tried out these easy examples before. Now I need to load the users out of my DB. Perhaps it is rather a DB config problem? Can nobody help??
Here is my DB config:
<bean...
root cause
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception...
Hey Spring Experts,
I’m trying to add Spring Security (2.0.3) to an existing Spring 2.5 Application.
My web.xml looks like this:
<context-param>...
thank you for your reply. In your solution everybody could access these static objects (pictures, js scripts etc). But, I want to extend my application later and control who is allowed to see the...
Hey,
first of all I’m a Spring noob, and yes I used the search function, so please be kind ;). I did the Spring 2.5 MVC tutorial and everything works fine.
Now I want to extend the current...
By the way, it would be nice if there was a method in the SimpleMappingExceptionResolver to specify the exception class by type (incl. subclasses like in a try-catch block) and not only by name ;)
Thank you!
Ok then it was my mistake. But I’m still wondering why Spring dosen’t translate the hibernate exceptions in one of these exceptions: CleanupFailureDataAccessException,...
No, I’m not using OpenSessionInViewInterceptor. I’m using Acegi Security but that should’t be the problem when I’m already logged in. In fact I tried to cause exceptions at several points in my...