6
6
import java
7
7
8
8
/** The class `org.springframework.security.config.annotation.web.builders.HttpSecurity`. */
9
- class TypeHttpSecurity extends Class {
10
- TypeHttpSecurity ( ) {
9
+ class SpringHttpSecurity extends Class {
10
+ SpringHttpSecurity ( ) {
11
11
this .hasQualifiedName ( "org.springframework.security.config.annotation.web.builders" ,
12
12
"HttpSecurity" )
13
13
}
@@ -19,8 +19,8 @@ class TypeHttpSecurity extends Class {
19
19
* or the class
20
20
* `org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer$AuthorizedUrl`.
21
21
*/
22
- class TypeAuthorizedUrl extends Class {
23
- TypeAuthorizedUrl ( ) {
22
+ class SpringAuthorizedUrl extends Class {
23
+ SpringAuthorizedUrl ( ) {
24
24
this .hasQualifiedName ( "org.springframework.security.config.annotation.web.configurers" ,
25
25
[
26
26
"ExpressionUrlAuthorizationConfigurer<HttpSecurity>$AuthorizedUrl<>" ,
@@ -32,8 +32,8 @@ class TypeAuthorizedUrl extends Class {
32
32
/**
33
33
* The class `org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry`.
34
34
*/
35
- class TypeAbstractRequestMatcherRegistry extends Class {
36
- TypeAbstractRequestMatcherRegistry ( ) {
35
+ class SpringAbstractRequestMatcherRegistry extends Class {
36
+ SpringAbstractRequestMatcherRegistry ( ) {
37
37
this .hasQualifiedName ( "org.springframework.security.config.annotation.web" ,
38
38
"AbstractRequestMatcherRegistry<AuthorizedUrl<>>" )
39
39
}
@@ -45,10 +45,10 @@ class TypeAbstractRequestMatcherRegistry extends Class {
45
45
* Note: this method is deprecated and scheduled for removal
46
46
* in Spring Security 7.0.
47
47
*/
48
- class AuthorizeRequestsCall extends MethodCall {
49
- AuthorizeRequestsCall ( ) {
48
+ class SpringAuthorizeRequestsCall extends MethodCall {
49
+ SpringAuthorizeRequestsCall ( ) {
50
50
this .getMethod ( ) .hasName ( "authorizeRequests" ) and
51
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeHttpSecurity
51
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringHttpSecurity
52
52
}
53
53
}
54
54
@@ -58,10 +58,10 @@ class AuthorizeRequestsCall extends MethodCall {
58
58
* Note: the no-argument version of this method is deprecated
59
59
* and scheduled for removal in Spring Security 7.0.
60
60
*/
61
- class AuthorizeHttpRequestsCall extends MethodCall {
62
- AuthorizeHttpRequestsCall ( ) {
61
+ class SpringAuthorizeHttpRequestsCall extends MethodCall {
62
+ SpringAuthorizeHttpRequestsCall ( ) {
63
63
this .getMethod ( ) .hasName ( "authorizeHttpRequests" ) and
64
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeHttpSecurity
64
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringHttpSecurity
65
65
}
66
66
}
67
67
@@ -71,10 +71,10 @@ class AuthorizeHttpRequestsCall extends MethodCall {
71
71
* Note: this method was removed in Spring Security 6.0.
72
72
* It was replaced by `securityMatcher`.
73
73
*/
74
- class RequestMatcherCall extends MethodCall {
75
- RequestMatcherCall ( ) {
74
+ class SpringRequestMatcherCall extends MethodCall {
75
+ SpringRequestMatcherCall ( ) {
76
76
this .getMethod ( ) .hasName ( "requestMatcher" ) and
77
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeHttpSecurity
77
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringHttpSecurity
78
78
}
79
79
}
80
80
@@ -84,41 +84,41 @@ class RequestMatcherCall extends MethodCall {
84
84
* Note: this method was removed in Spring Security 6.0.
85
85
* It was replaced by `securityMatchers`.
86
86
*/
87
- class RequestMatchersCall extends MethodCall {
88
- RequestMatchersCall ( ) {
87
+ class SpringRequestMatchersCall extends MethodCall {
88
+ SpringRequestMatchersCall ( ) {
89
89
this .getMethod ( ) .hasName ( "requestMatchers" ) and
90
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeHttpSecurity
90
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringHttpSecurity
91
91
}
92
92
}
93
93
94
94
/** A call to the `HttpSecurity.securityMatcher` method. */
95
- class SecurityMatcherCall extends MethodCall {
96
- SecurityMatcherCall ( ) {
95
+ class SpringSecurityMatcherCall extends MethodCall {
96
+ SpringSecurityMatcherCall ( ) {
97
97
this .getMethod ( ) .hasName ( "securityMatcher" ) and
98
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeHttpSecurity
98
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringHttpSecurity
99
99
}
100
100
}
101
101
102
102
/** A call to the `HttpSecurity.securityMatchers` method. */
103
- class SecurityMatchersCall extends MethodCall {
104
- SecurityMatchersCall ( ) {
103
+ class SpringSecurityMatchersCall extends MethodCall {
104
+ SpringSecurityMatchersCall ( ) {
105
105
this .getMethod ( ) .hasName ( "securityMatchers" ) and
106
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeHttpSecurity
106
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringHttpSecurity
107
107
}
108
108
}
109
109
110
110
/** A call to the `AuthorizedUrl.permitAll` method. */
111
- class PermitAllCall extends MethodCall {
112
- PermitAllCall ( ) {
111
+ class SpringPermitAllCall extends MethodCall {
112
+ SpringPermitAllCall ( ) {
113
113
this .getMethod ( ) .hasName ( "permitAll" ) and
114
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeAuthorizedUrl
114
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringAuthorizedUrl
115
115
}
116
116
}
117
117
118
118
/** A call to the `AbstractRequestMatcherRegistry.anyRequest` method. */
119
- class AnyRequestCall extends MethodCall {
120
- AnyRequestCall ( ) {
119
+ class SpringAnyRequestCall extends MethodCall {
120
+ SpringAnyRequestCall ( ) {
121
121
this .getMethod ( ) .hasName ( "anyRequest" ) and
122
- this .getMethod ( ) .getDeclaringType ( ) instanceof TypeAbstractRequestMatcherRegistry
122
+ this .getMethod ( ) .getDeclaringType ( ) instanceof SpringAbstractRequestMatcherRegistry
123
123
}
124
124
}
0 commit comments