275 Map<String, String[]> filters =
new HashMap<>();
277 filters.put(
"type",
new String[] {
"uma"});
278 filters.put(
"resource",
new String[] {this.
resource.getId()});
279 filters.put(
"owner",
new String[] {
getOwner().getId()});
283 if (policies.isEmpty()) {
284 return Collections.emptyList();
287 return policies.stream()
289 Map<String, String> filters1 =
new HashMap<>();
291 filters1.put(PermissionTicket.POLICY, policy.getId());
296 .map(ManagedPermissionBean::new).collect(Collectors.toList());
final AuthorizationProvider authorization
Definition: AuthorizationBean.java:52
String getId()
Definition: AuthorizationBean.java:237
Resource resource
Definition: AuthorizationBean.java:226
ResourceServerBean getResourceServer()
Definition: AuthorizationBean.java:299
final ResourceServerBean resourceServer
Definition: AuthorizationBean.java:224
String getId()
Definition: AuthorizationBean.java:356
UserModel getOwner()
Definition: AuthorizationBean.java:253