Hi,
I'm trying to split my application into several functional modules. I tried Virgo snaps and landed on multi-module maven architecture. For now I managed to split java files, but I'd also like...
Type: Posts; User: bkraut; Keyword(s):
Hi,
I'm trying to split my application into several functional modules. I tried Virgo snaps and landed on multi-module maven architecture. For now I managed to split java files, but I'd also like...
I'm researching an option to split my application into several modules. I tried Spring DM two years ago, but as I'm heavily using ExtJS for my user interface I had several issues.
A few days ago I...
I understand that jdbc implementation can work on several databases. I really hate to mix technologies and different implementation patterns in the same solution - that was the reason why we...
Hi,
we are using hibernate for our ORM in our Spring application. I read that we should avoid ORM based implementation for ACL based security because of performance. We implemented it anyway as it...
Hi,
I've read all articles regarding multitenant applications in Spring. If I create a subclass of AbstractRoutingDataSource and in constructor I initialize all datasources and targetDataSources...
Thanks. Here is the case: I'd like to have a scheduler that will execute every 5 minutes a task, which will go to the database and check if it has something to do. In multi tennant application this...
Hi,
I need some sort of a cron service in my application and I found this:
http://static.springsource.org/spring/docs/2.5.x/reference/scheduling.html
I have a question how this works - does...
Hi,
I implemented remember me functionality in my application. It works ok except when I try to save a record. As system user, which is also a principal saved in securitycontext, is set as creator...
Hi,
I implemented splring security into my application successfully. I added also Remember me functionality.
If I just start an application everithing works fine. But if I go back and remember...
Thanks that was it. Anyway, I'm throwing now an throw new UsernameNotFoundException("Access denied") but on the fron form I get Bad credentials message. Do I have to set something to allow my custom...
Hi,
this is my code where I check if a user exists in the database. When I write a username correct and password wrong I get a page with an error description, as it is configured in...
My mistake - I've just seen UserDetails is an interface. So I added Interface definitions to my SystemUser and replaced the code where I retrieve a SystemUser from session. Everything works now.
I...
So, if I understood correctly, I should just use UserDetail from the Spring Security and load SystemUser on demand, when I need it? The case is that the SystemUser is quite complex - it is connected...
Hi,
I'm implementing my own UserDetailsService to validate login process against the database users. I'm using spring 3.0.7., with Spring security 3.0.7. I have a entity SystemUser, from which I...
Hi I'm interested if Spring Security covers urganizing users into groups? Can I have permissions for the group and for the user? Can I restrict access to some record like in the following example:
...
Ok. I managed to solve this. Here is the solution. I have to register additional converter:
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
...
I've been struggling with this for a few days now and this is where I isolated the problem:
Here is my spring config:
<bean id="jacksonDateMapper"...
Hi I'm using REST WebServices to publish Update objects to the server. These are stored into the database. Here is Update entity:
import java.sql.Blob;
import java.util.Date;
import...
Hi,
I'm not new to Spring, but currently I'm facing a development patter problem when using Spring. It is connected with ManyToMany relationships between two classes.
Let say I have two...
I'd just like to know if I can have two web application modules in one app? I also need to modularize javascripts and images.
Hi,
I'd like to have two modules in the same web application, where application would be accessible at http://localhost/app.
Now, if this is Spring app, how can I create two web modules where...
Hi,
I have following problem by using Spring:
My records in the database have two required attributes: creationDate and updateDate. For the frontend I'm using ExtJs, server Spring MVC 3.0 and...
I know HQL is the same syntax. But I need a tool to test my HQL, before I put it into the code. Not all the people have HQL like select o from Table o, but I have several joins, ordering, grouping...
Hi,
I need a tool where I can write hql and test it. Before I used HQL query editor, but after implementing Spring there is no hibernate.cfg.xml any more. How can I use some utility that will use...
Hi,
I'm a little stuck here as I don't know where to start searching for the solution.
Here is the case. I'm using json for form submittion. For enetity resolution I use JSONDeserializators....