Reformatting.

This commit is contained in:
Luke Taylor 2010-11-30 00:29:39 +00:00
parent 9b29dcb8bf
commit ca679e1479
3 changed files with 288 additions and 295 deletions

View File

@ -48,14 +48,13 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
* A base class for an <authorize> tag that is independent of the tag rendering technology (JSP, Facelets). * A base class for an <authorize> tag that is independent of the tag rendering technology (JSP, Facelets).
* It treats tag attributes as simple strings rather than strings that may contain expressions with the * It treats tag attributes as simple strings rather than strings that may contain expressions with the
* exception of the "access" attribute, which is always expected to contain a Spring EL expression. * exception of the "access" attribute, which is always expected to contain a Spring EL expression.
* * <p/>
* Subclasses are expected to extract tag attribute values from the specific rendering technology, evaluate * Subclasses are expected to extract tag attribute values from the specific rendering technology, evaluate
* them as expressions if necessary, and set the String-based attributes of this class. * them as expressions if necessary, and set the String-based attributes of this class.
* *
* @author Francois Beausoleil * @author Francois Beausoleil
* @author Luke Taylor * @author Luke Taylor
* @author Rossen Stoyanchev * @author Rossen Stoyanchev
*
* @since 3.1.0 * @since 3.1.0
*/ */
public abstract class AbstractAuthorizeTag { public abstract class AbstractAuthorizeTag {
@ -96,7 +95,6 @@ public abstract class AbstractAuthorizeTag {
* The above combinations are mutually exclusive and evaluated in the given order. * The above combinations are mutually exclusive and evaluated in the given order.
* *
* @return the result of the authorization decision * @return the result of the authorization decision
*
* @throws IOException * @throws IOException
*/ */
public boolean authorize() throws IOException { public boolean authorize() throws IOException {
@ -161,7 +159,6 @@ public abstract class AbstractAuthorizeTag {
* in Spring Security for details on what expressions can be used. * in Spring Security for details on what expressions can be used.
* *
* @return the result of the authorization decision * @return the result of the authorization decision
*
* @throws IOException * @throws IOException
*/ */
public boolean authorizeUsingAccessExpression() throws IOException { public boolean authorizeUsingAccessExpression() throws IOException {
@ -196,7 +193,6 @@ public abstract class AbstractAuthorizeTag {
* allowed to access the given URL as defined. * allowed to access the given URL as defined.
* *
* @return the result of the authorization decision * @return the result of the authorization decision
*
* @throws IOException * @throws IOException
*/ */
public boolean authorizeUsingUrlCheck() throws IOException { public boolean authorizeUsingUrlCheck() throws IOException {

View File

@ -14,11 +14,9 @@ import org.springframework.web.util.ExpressionEvaluationUtils;
/** /**
* A JSP {@link Tag} implementation of {@link AbstractAuthorizeTag}. * A JSP {@link Tag} implementation of {@link AbstractAuthorizeTag}.
* *
* @since 3.1.0
*
* @author Rossen Stoyanchev * @author Rossen Stoyanchev
*
* @see AbstractAuthorizeTag * @see AbstractAuthorizeTag
* @since 3.1.0
*/ */
public class JspAuthorizeTag extends AbstractAuthorizeTag implements Tag { public class JspAuthorizeTag extends AbstractAuthorizeTag implements Tag {
@ -59,7 +57,6 @@ public class JspAuthorizeTag extends AbstractAuthorizeTag implements Tag {
* Default processing of the end tag returning EVAL_PAGE. * Default processing of the end tag returning EVAL_PAGE.
* *
* @return EVAL_PAGE * @return EVAL_PAGE
*
* @see Tag#doEndTag() * @see Tag#doEndTag()
*/ */
public int doEndTag() { public int doEndTag() {