mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-07 19:22: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).
|
* 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 {
|
||||||
|
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user