@@ -129,7 +129,7 @@ public class AccessDecisionManagerAuthorizationManagerAdapter implements Authori
129
129
@Override
130
130
public AuthorizationDecision check(Supplier<Authentication> authentication, Object object) {
131
131
try {
132
- Collection<ConfigAttributes > attributes = this.securityMetadataSource.getAttributes(object);
132
+ Collection<ConfigAttribute > attributes = this.securityMetadataSource.getAttributes(object);
133
133
this.accessDecisionManager.decide(authentication.get(), object, attributes);
134
134
return new AuthorizationDecision(true);
135
135
} catch (AccessDeniedException ex) {
@@ -139,7 +139,7 @@ public class AccessDecisionManagerAuthorizationManagerAdapter implements Authori
139
139
140
140
@Override
141
141
public void verify(Supplier<Authentication> authentication, Object object) {
142
- Collection<ConfigAttributes > attributes = this.securityMetadataSource.getAttributes(object);
142
+ Collection<ConfigAttribute > attributes = this.securityMetadataSource.getAttributes(object);
143
143
this.accessDecisionManager.decide(authentication.get(), object, attributes);
144
144
}
145
145
}
@@ -162,7 +162,7 @@ public class AccessDecisionVoterAuthorizationManagerAdapter implements Authoriza
162
162
163
163
@Override
164
164
public AuthorizationDecision check(Supplier<Authentication> authentication, Object object) {
165
- Collection<ConfigAttributes > attributes = this.securityMetadataSource.getAttributes(object);
165
+ Collection<ConfigAttribute > attributes = this.securityMetadataSource.getAttributes(object);
166
166
int decision = this.accessDecisionVoter.vote(authentication.get(), object, attributes);
167
167
switch (decision) {
168
168
case ACCESS_GRANTED:
0 commit comments