spring
Configure Spring Security to use custom UsernamePasswordAuthenticationFilter
I have implemented my own LowerCaseUsernamePasswordAuthenticationFilter that is just a subclass of UsernamePasswordAuthenticationFilter.[详细]
2023-04-12 01:07 分类:问答How to get hold of the (un)marshalled message for logging
I have a Spring MVC REST service that uses XStream to convert the messages to and from XML. 开发者_如何学PythonIs there any way I can print the xml (ie the body) from the request and response to a no[详细]
2023-04-12 01:03 分类:问答Hibernate High Concurrency and User defined @Id ’s
firstly please excuse my relative inexperience with Hibernate I’ve only really been using it in fairly standard cases, and certainly never in a scenario where I had to manage the primary key’s (@Id)[详细]
2023-04-12 00:53 分类:问答Integrate hibernateTemplate with spring and Jsf
I have an error when I integrate JSF, Hibernate, and Spring. I have created some unit tests, and all of them work. I think that the problem is coming from JSF. I get this error:[详细]
2023-04-12 00:48 分类:问答Calling Spring component from groovy
I have a spring-based java application with some useful components. As a part of the system I have a groovy script, to process some reports. I would like to call a spring component from groovy script.[详细]
2023-04-12 00:35 分类:问答Unable to proxy a JBossMQ queue in Spring
Spring JMS going against a JBoss 4.x JBossMQ queue (I know, old JBoss, JBossMQ superseded by JBoss Messaging, but I can\'t change the stack).Everything works when the Spring JMS configuration is loade[详细]
2023-04-12 00:34 分类:问答org.springframework.util.Assert shows in my surefire reports as an error, when in fact it should be a failure
However when using the nromal junit assertions, the failures are reported correctly. import static org.junit.Assert.assertEquals;[详细]
2023-04-12 00:13 分类:问答Spring @Controllers declared in the root application context
Spring web applications have two context - the web co开发者_C百科ntext (child) and the root context (parent). If @Controller beans are defined in dispatcher-servlet.xml (the web context) everything is[详细]
2023-04-12 00:13 分类:问答Spring dependency injection: Inject all instances of interface
How, if possible can I configure a Spring bean with all a collection of other Spring beans that implements a specific interface?[详细]
2023-04-12 00:07 分类:问答Migrating application context configuration to Spring 3.1 and Hibernate 4.0
I\'m having hard time finding migration docs. I was using sping 3.0.5 and hibernate 3.4. I migrated to the latest release candidates: spring 3.1 and hibernate 4.0[详细]
2023-04-11 23:59 分类:问答