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

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

1 participant

@spring-issuemaster

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

@spring-issuemaster

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