SEC-1836: use GET as the default method with authorize tag.
This commit is contained in:
parent
2f67bb3032
commit
fc399af136
|
@ -61,7 +61,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
|
||||||
public abstract class AbstractAuthorizeTag {
|
public abstract class AbstractAuthorizeTag {
|
||||||
private String access;
|
private String access;
|
||||||
private String url;
|
private String url;
|
||||||
private String method;
|
private String method = "GET";
|
||||||
private String ifAllGranted;
|
private String ifAllGranted;
|
||||||
private String ifAnyGranted;
|
private String ifAnyGranted;
|
||||||
private String ifNotGranted;
|
private String ifNotGranted;
|
||||||
|
|
|
@ -42,8 +42,9 @@
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<description>
|
<description>
|
||||||
Can optionally be used to narrow down the HTTP method (typically GET or POST) to which the URL
|
Can be used to narrow down the HTTP method (typically GET or POST) to which the URL
|
||||||
applies to. Only has any meaning when used in combination with the "url" attribute.
|
applies. Only has any meaning when used in combination with the "url" attribute. This method will
|
||||||
|
be used when looking up the security metadata for the URL. Defaults to GET.
|
||||||
</description>
|
</description>
|
||||||
<name>method</name>
|
<name>method</name>
|
||||||
<required>false</required>
|
<required>false</required>
|
||||||
|
|
Loading…
Reference in New Issue