@@ -122,7 +122,7 @@ public class AccessDecisionManagerAuthorizationManagerAdapter implements Authori
122
122
@Override
123
123
public AuthorizationDecision check(Supplier<Authentication> authentication, Object object) {
124
124
try {
125
- Collection<ConfigAttributes > attributes = this.securityMetadataSource.getAttributes(object);
125
+ Collection<ConfigAttribute > attributes = this.securityMetadataSource.getAttributes(object);
126
126
this.accessDecisionManager.decide(authentication.get(), object, attributes);
127
127
return new AuthorizationDecision(true);
128
128
} catch (AccessDeniedException ex) {
@@ -132,7 +132,7 @@ public class AccessDecisionManagerAuthorizationManagerAdapter implements Authori
132
132
133
133
@Override
134
134
public void verify(Supplier<Authentication> authentication, Object object) {
135
- Collection<ConfigAttributes > attributes = this.securityMetadataSource.getAttributes(object);
135
+ Collection<ConfigAttribute > attributes = this.securityMetadataSource.getAttributes(object);
136
136
this.accessDecisionManager.decide(authentication.get(), object, attributes);
137
137
}
138
138
}
@@ -155,7 +155,7 @@ public class AccessDecisionVoterAuthorizationManagerAdapter implements Authoriza
155
155
156
156
@Override
157
157
public AuthorizationDecision check(Supplier<Authentication> authentication, Object object) {
158
- Collection<ConfigAttributes > attributes = this.securityMetadataSource.getAttributes(object);
158
+ Collection<ConfigAttribute > attributes = this.securityMetadataSource.getAttributes(object);
159
159
int decision = this.accessDecisionVoter.vote(authentication.get(), object, attributes);
160
160
switch (decision) {
161
161
case ACCESS_GRANTED:
0 commit comments