unit test « Security « Spring Q&A





1. Unit testing with Spring Security    stackoverflow.com

My company has been evaluating Spring MVC to determine if we should use it in one of our next projects. So far I love what I've seen, and right now I'm ...

2. Unit Tests for data access layer    forum.springsource.org

I am about to embark on refactoring an existing J2EE application at work. The current application has a simple data access object that returns various objects queried from a DB2 database. ...

3. How to make a unit test for spring security    forum.springsource.org

Unit test for spring security doesn't work as expected with @PreAuthorize("hasPermiss hi i have a service method that's only accessible by user who have sufficient permission Code: @PreAuthorize("hasPermission(#user,'add_user')") public void addUser(User ...

4. Spring DAO Unit Testing access to connection    forum.springsource.org

Spring DAO Unit Testing access to connection Springers, I am trying to write unit tests for my Spring enhanced Hibernate DAOs. I am using DBUnit and AbstractTransactionalDataSourceSpringContextTests. Now, I subscribe to ...

5. How to Unit Test Hibernate concurrency access?    forum.springsource.org

How to Unit Test Hibernate concurrency access? Does anyone knows how to unit test a concurrency access in Hibernate when DAO's are declare in spring ? I have Services and DAO ...

6. Spring security unit test    forum.springsource.org

Spring security unit test Hello I would like to test the situation, when unauthorized user tries to open protected page and is being forwarded to login page. This is already working ...

7. Unit testing - How to switch users?    forum.springsource.org

Unit testing - How to switch users? I've managed to set up a unit test where I authenticate a user via the spring security context, then the class I'm unit testing ...

8. Spring Security Unit Testing    forum.springsource.org

Spring Security Unit Testing I am trying test spring secured login (j_spring_security_check) functionality? I have a set pages that are protect by spring security in my WebApp. When I try to ...