Search:

Type: Posts; User: bkraut; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Resources in multi module web applicationwith maven

    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...
  2. Replies
    0
    Views
    840

    Slices, Snaps and Web Modules

    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...
  3. Replies
    2
    Views
    233

    I understand that jdbc implementation can work on...

    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...
  4. Replies
    2
    Views
    233

    ACL Security Question

    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...
  5. Replies
    0
    Views
    253

    Multitenant spring application

    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...
  6. Replies
    2
    Views
    312

    Thanks. Here is the case: I'd like to have a...

    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...
  7. Replies
    2
    Views
    312

    Spring Scheduler

    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...
  8. Replies
    0
    Views
    276

    Remember me transient problem

    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...
  9. Thread: Remember me

    by bkraut
    Replies
    0
    Views
    200

    Remember me

    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...
  10. Replies
    3
    Views
    345

    Thanks that was it. Anyway, I'm throwing now an...

    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...
  11. Replies
    3
    Views
    345

    StackTrace instead of errorPage

    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...
  12. My mistake - I've just seen UserDetails is an...

    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...
  13. So, if I understood correctly, I should just use...

    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...
  14. How to store user in the HttpSession on login?

    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...
  15. Replies
    1
    Views
    832

    Spring security Users, Groups, ACL

    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:
    ...
  16. Ok. I managed to solve this. Here is the...

    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">
    ...
  17. AnnotationMethodHandlerAdapter order property triggers Ajax REST DELETE malfunction

    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"...
  18. Replies
    1
    Views
    800

    REST Web Services Blob download

    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...
  19. Spring + Hibernate ManyToMany relationships

    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...
  20. Replies
    1
    Views
    530

    I'd just like to know if I can have two web...

    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.
  21. Replies
    1
    Views
    530

    Two modules in one application

    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...
  22. Replies
    1
    Views
    625

    updating record with Spring

    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...
  23. Replies
    2
    Views
    1,119

    I know HQL is the same syntax. But I need a tool...

    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...
  24. Replies
    2
    Views
    1,119

    Hibernate HQL editor working with Spring

    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...
  25. Replies
    0
    Views
    673

    json deserialization exeption handling

    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....
Results 1 to 25 of 47
Page 1 of 2 1 2