SEC-752: ClassLoading in GlobalMethodSecurityBeanDefinitionParser doesn't work in tooling

http://jira.springframework.org/browse/SEC-752. Removed check for JSR-250 class.
This commit is contained in:
Luke Taylor 2008-04-13 20:59:39 +00:00
parent 552dc6486a
commit 4ae40150c9
1 changed files with 0 additions and 2 deletions

View File

@ -35,7 +35,6 @@ import org.w3c.dom.Element;
class GlobalMethodSecurityBeanDefinitionParser implements BeanDefinitionParser {
public static final String SECURED_DEPENDENCY_CLASS = "org.springframework.security.annotation.Secured";
public static final String SECURED_METHOD_DEFINITION_SOURCE_CLASS = "org.springframework.security.annotation.SecuredMethodDefinitionSource";
public static final String JSR_250_DEPENDENCY_CLASS = "javax.annotation.security.DenyAll";
public static final String JSR_250_SECURITY_METHOD_DEFINITION_SOURCE_CLASS = "org.springframework.security.annotation.Jsr250MethodDefinitionSource";
public static final String JSR_250_VOTER_CLASS = "org.springframework.security.annotation.Jsr250Voter";
private static final String ATT_ACCESS = "access";
@ -63,7 +62,6 @@ class GlobalMethodSecurityBeanDefinitionParser implements BeanDefinitionParser {
if (useJsr250) {
validatePresent(JSR_250_SECURITY_METHOD_DEFINITION_SOURCE_CLASS, element, parserContext);
validatePresent(JSR_250_VOTER_CLASS, element, parserContext);
validatePresent(JSR_250_DEPENDENCY_CLASS, element, parserContext);
}
// Now create a Map<String, ConfigAttribute> for each <protect-pointcut> sub-element