mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-07 11:12:14 +00:00
Reformatting.
This commit is contained in:
parent
9b29dcb8bf
commit
ca679e1479
@ -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).
|
||||
* 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.
|
||||
*
|
||||
* <p/>
|
||||
* 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.
|
||||
*
|
||||
* @author Francois Beausoleil
|
||||
* @author Luke Taylor
|
||||
* @author Rossen Stoyanchev
|
||||
*
|
||||
* @since 3.1.0
|
||||
*/
|
||||
public abstract class AbstractAuthorizeTag {
|
||||
@ -96,7 +95,6 @@ public abstract class AbstractAuthorizeTag {
|
||||
* The above combinations are mutually exclusive and evaluated in the given order.
|
||||
*
|
||||
* @return the result of the authorization decision
|
||||
*
|
||||
* @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.
|
||||
*
|
||||
* @return the result of the authorization decision
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
public boolean authorizeUsingAccessExpression() throws IOException {
|
||||
@ -196,7 +193,6 @@ public abstract class AbstractAuthorizeTag {
|
||||
* allowed to access the given URL as defined.
|
||||
*
|
||||
* @return the result of the authorization decision
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
public boolean authorizeUsingUrlCheck() throws IOException {
|
||||
|
@ -14,11 +14,9 @@ import org.springframework.web.util.ExpressionEvaluationUtils;
|
||||
/**
|
||||
* A JSP {@link Tag} implementation of {@link AbstractAuthorizeTag}.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
*
|
||||
* @see AbstractAuthorizeTag
|
||||
* @since 3.1.0
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @return EVAL_PAGE
|
||||
*
|
||||
* @see Tag#doEndTag()
|
||||
*/
|
||||
public int doEndTag() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user