Spring proxy self-invocation

Is it Spring proxy self-invocation or Spring proxy inter-object calls – or something completely different? I don’t know but I hope it makes sense to you anyway. Several options for Spring proxy self-invocation https://jira.springsource.org/browse/SPR-8450 and http://stackoverflow.com/questions/5152686/self-injection-with-spring show several options for self-invocation. For details follow the two links. Here’s just the hints: Option a: have the […]

JRebel side effects?

While debugging a Spring/Hibernate-based web application I found this in the logs. Pre-bound JDBC Connection found! HibernateTransactionManager does not support running within DataSourceTransactionManager if told to manage the DataSource itself. It is recommended to use a single HibernateTransactionManager for all transactions on a single DataSource, no matter whether Hibernate or JDBC access. Sounds as something […]

How to add AccessDescisionVoters to AccessDescisionManager in Spring Security

Here’s a pretty neat approach to add AccessDescisionVoters to the default AccessDescisionManager in Spring Security:

Source: http://forum.springsource.org/showthread.php?116830-How-to-add-voters-to-the-default-accessDecisionManager&s=1a6d05dedb0342570b900141a6d53d2e&p=386079#post386079

OpenID with Spring Security 3 and Google OpenID

So much information on Spring OpenID is outdated so quickly…Lots of articles and blog entries describe solutions with Spring Security 2.x which is slightly different from 3.x. I recommend sticking with the sample application at http://repo1.maven.org/maven2/org/springframework/security/spring-security-samples-openid/<your_version>/spring-security-samples-openid-<your_version>.war as a reference. Also, I found http://www.packtpub.com/article/opening-up-to-openid-with-spring-security quite helpful. One caveat though is worth mentioning here: the Spring sample […]