Browse Source

Javadoc updates.

Luke Taylor 16 years ago
parent
commit
67ad0456a1

+ 1 - 2
core/src/main/java/org/springframework/security/access/expression/method/DefaultMethodSecurityExpressionHandler.java

@@ -16,7 +16,6 @@ import org.springframework.expression.ExpressionParser;
 import org.springframework.expression.spel.antlr.SpelAntlrExpressionParser;
 import org.springframework.expression.spel.antlr.SpelAntlrExpressionParser;
 import org.springframework.security.access.PermissionEvaluator;
 import org.springframework.security.access.PermissionEvaluator;
 import org.springframework.security.access.expression.ExpressionUtils;
 import org.springframework.security.access.expression.ExpressionUtils;
-import org.springframework.security.access.expression.SecurityExpressionRoot;
 import org.springframework.security.authentication.AuthenticationTrustResolver;
 import org.springframework.security.authentication.AuthenticationTrustResolver;
 import org.springframework.security.authentication.AuthenticationTrustResolverImpl;
 import org.springframework.security.authentication.AuthenticationTrustResolverImpl;
 import org.springframework.security.core.Authentication;
 import org.springframework.security.core.Authentication;
@@ -44,7 +43,7 @@ public class DefaultMethodSecurityExpressionHandler implements MethodSecurityExp
 
 
     /**
     /**
      * Uses a {@link MethodSecurityEvaluationContext} as the <tt>EvaluationContext</tt> implementation and
      * Uses a {@link MethodSecurityEvaluationContext} as the <tt>EvaluationContext</tt> implementation and
-     * configures it with a {@link SecurityExpressionRoot} instance as the expression root object.
+     * configures it with a {@link MethodSecurityExpressionRoot} instance as the expression root object.
      */
      */
     public EvaluationContext createEvaluationContext(Authentication auth, MethodInvocation mi) {
     public EvaluationContext createEvaluationContext(Authentication auth, MethodInvocation mi) {
         MethodSecurityEvaluationContext ctx = new MethodSecurityEvaluationContext(auth, mi, parameterNameDiscoverer);
         MethodSecurityEvaluationContext ctx = new MethodSecurityEvaluationContext(auth, mi, parameterNameDiscoverer);

+ 6 - 0
core/src/main/java/org/springframework/security/access/expression/package.html

@@ -1,2 +1,8 @@
+<html>
+<body>
+<p>
 Expression handling code to support the use of Spring-EL based expressions in @PreAuthorize, @PreFilter,
 Expression handling code to support the use of Spring-EL based expressions in @PreAuthorize, @PreFilter,
 @PostAuthorizue and @PostFilter annotations. Mainly for internal framework use and liable to change.
 @PostAuthorizue and @PostFilter annotations. Mainly for internal framework use and liable to change.
+</p>
+</body>
+</html>

+ 4 - 0
core/src/main/java/org/springframework/security/access/prepost/package.html

@@ -1,6 +1,10 @@
+<html>
+<body>
 <p>
 <p>
 Contains the infrastructure classes for handling the @PreAuthorize, @PreFilter, @PostAuthorize and
 Contains the infrastructure classes for handling the @PreAuthorize, @PreFilter, @PostAuthorize and
 @PostFilter annotations.
 @PostFilter annotations.
 </p>
 </p>
 Other than the annotations themselves, the classes should be regarded as for internal framework use and
 Other than the annotations themselves, the classes should be regarded as for internal framework use and
 are liable to change without notice.
 are liable to change without notice.
+</body>
+</html>