Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1128: Use ClassUtils.forName to load javaType for ObjectIdentityImpl #1379

spring-issuemaster opened this Issue Mar 24, 2009 · 1 comment


None yet
1 participant

Dan Dormont(Migrated from SEC-1128) said:

org.springframework.security.acls.objectidentity.ObjectIdentityImpl currently uses Class.forName to resolve the requested javaType. Using ClassUtils.forName will invoke the Spring default ClassLoader which, for example, allows Spring Security to be used in a shared parent context: http://blog.springsource.com/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/

I’m attaching the modified ObjectIdenityImpl.java here (taken from 2.0.4) – apologies if this is the wrong way to submit a patch

Luke Taylor said:

I’ve modified the constructor to use ClassUtils.forName() instead of Class.forName();

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment