SEC-1562: Made SecurityExpressionRootPropertyAccessor a package private class as it is no longer referenced from multiple packages.

This commit is contained in:
Luke Taylor 2010-09-13 13:52:24 +01:00
parent c5231fc213
commit 62cbd51d54
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import org.springframework.expression.PropertyAccessor;
import org.springframework.expression.TypedValue;
@SuppressWarnings("unchecked")
public final class SecurityExpressionRootPropertyAccessor implements PropertyAccessor {
final class SecurityExpressionRootPropertyAccessor implements PropertyAccessor {
public final Class[] CLASSES = {SecurityExpressionRoot.class};
public boolean canRead(EvaluationContext context, Object target, String name) throws AccessException {

View File

@ -16,7 +16,6 @@ import org.springframework.security.access.PermissionEvaluator;
import org.springframework.security.access.expression.AbstractSecurityExpressionHandler;
import org.springframework.security.access.expression.ExpressionUtils;
import org.springframework.security.access.expression.SecurityExpressionRoot;
import org.springframework.security.access.expression.SecurityExpressionRootPropertyAccessor;
import org.springframework.security.core.Authentication;
/**