1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.kim.permission.mock; |
17 | |
|
18 | |
import org.kuali.rice.kim.bo.role.dto.KimPermissionInfo; |
19 | |
import org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo; |
20 | |
|
21 | |
import java.util.*; |
22 | |
import org.kuali.rice.kim.bo.Role; |
23 | |
import org.kuali.rice.kim.bo.role.dto.DelegateMemberCompleteInfo; |
24 | |
import org.kuali.rice.kim.bo.role.dto.DelegateTypeInfo; |
25 | |
import org.kuali.rice.kim.bo.role.dto.KimRoleInfo; |
26 | |
import org.kuali.rice.kim.bo.role.dto.PermissionAssigneeInfo; |
27 | |
import org.kuali.rice.kim.bo.role.dto.RoleMemberCompleteInfo; |
28 | |
import org.kuali.rice.kim.bo.role.dto.RoleMembershipInfo; |
29 | |
import org.kuali.rice.kim.bo.role.dto.RoleResponsibilityActionInfo; |
30 | |
import org.kuali.rice.kim.bo.role.dto.RoleResponsibilityInfo; |
31 | |
import org.kuali.rice.kim.bo.types.dto.AttributeSet; |
32 | |
import org.kuali.rice.kim.service.PermissionService; |
33 | |
import org.kuali.rice.kim.service.PermissionUpdateService; |
34 | |
import org.kuali.rice.kim.service.RoleManagementService; |
35 | |
import org.kuali.rice.kim.service.RoleService; |
36 | |
import org.kuali.rice.kim.service.RoleUpdateService; |
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | 0 | public class PermissionServiceMockImpl implements PermissionService, |
42 | |
PermissionUpdateService, |
43 | |
RoleService, |
44 | |
RoleUpdateService, |
45 | |
RoleManagementService { |
46 | |
|
47 | 0 | private transient Map<String, KimPermissionTemplateInfo> permissionTemplateCache = new HashMap<String, KimPermissionTemplateInfo>(); |
48 | 0 | private transient Map<String, KimPermissionInfo> permissionCache = new HashMap<String, KimPermissionInfo>(); |
49 | 0 | private transient Map<String, KimRoleInfo> roleCache = new HashMap<String, KimRoleInfo>(); |
50 | |
|
51 | |
@Override |
52 | |
public List<KimPermissionTemplateInfo> getAllTemplates() { |
53 | 0 | return new ArrayList(this.permissionTemplateCache.values()); |
54 | |
} |
55 | |
|
56 | |
@Override |
57 | |
public List<KimPermissionInfo> getAuthorizedPermissions(String principalId, |
58 | |
String namespaceCode, |
59 | |
String permissionName, |
60 | |
AttributeSet permissionDetails, |
61 | |
AttributeSet qualification) { |
62 | 0 | List<KimPermissionInfo> list = new ArrayList<KimPermissionInfo>(); |
63 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
64 | 0 | if (namespaceCode.equals(permission.getNamespaceCode())) { |
65 | 0 | if (permissionName.equals(permission.getName())) { |
66 | 0 | if (matchesPermissionDetails(permission, permissionDetails)) { |
67 | 0 | if (matchesQualification(permission, qualification)) { |
68 | 0 | if (matchesPrincipalId(permission, principalId)) { |
69 | 0 | list.add(permission); |
70 | |
} |
71 | |
} |
72 | |
} |
73 | |
} |
74 | |
} |
75 | |
} |
76 | 0 | return list; |
77 | |
} |
78 | |
|
79 | |
private boolean matchesPermissionDetails(KimPermissionInfo permission, AttributeSet permissionDetails) { |
80 | |
|
81 | 0 | return true; |
82 | |
} |
83 | |
|
84 | |
private boolean matchesQualification(KimPermissionInfo permission, AttributeSet qualification) { |
85 | |
|
86 | 0 | return true; |
87 | |
} |
88 | |
|
89 | |
private boolean matchesPrincipalId(KimPermissionInfo permission, String principalId) { |
90 | |
|
91 | 0 | return true; |
92 | |
} |
93 | |
|
94 | |
@Override |
95 | |
public List<KimPermissionInfo> getAuthorizedPermissionsByTemplateName(String principalId, |
96 | |
String namespaceCode, |
97 | |
String permissionTemplateName, |
98 | |
AttributeSet permissionDetails, |
99 | |
AttributeSet qualification) { |
100 | 0 | List<KimPermissionInfo> list = new ArrayList<KimPermissionInfo>(); |
101 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
102 | 0 | if (permission.getTemplate() != null) { |
103 | 0 | if (namespaceCode.equals(permission.getTemplate().getNamespaceCode())) { |
104 | 0 | if (permissionTemplateName.equals(permission.getTemplate().getName())) { |
105 | 0 | if (matchesPermissionDetails(permission, permissionDetails)) { |
106 | 0 | if (matchesQualification(permission, qualification)) { |
107 | 0 | if (matchesPrincipalId(permission, principalId)) { |
108 | 0 | list.add(permission); |
109 | |
} |
110 | |
} |
111 | |
} |
112 | |
} |
113 | |
} |
114 | |
} |
115 | |
} |
116 | 0 | return list; |
117 | |
} |
118 | |
|
119 | |
@Override |
120 | |
public KimPermissionInfo getPermission(String permissionId) { |
121 | 0 | return this.permissionCache.get(permissionId); |
122 | |
} |
123 | |
|
124 | |
@Override |
125 | |
public List<PermissionAssigneeInfo> getPermissionAssignees(String namespaceCode, |
126 | |
String permissionName, |
127 | |
AttributeSet permissionDetails, |
128 | |
AttributeSet qualification) { |
129 | 0 | List<PermissionAssigneeInfo> list = new ArrayList<PermissionAssigneeInfo>(); |
130 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
131 | 0 | if (namespaceCode.equals(permission.getNamespaceCode())) { |
132 | 0 | if (permissionName.equals(permission.getName())) { |
133 | 0 | if (matchesPermissionDetails(permission, permissionDetails)) { |
134 | 0 | if (matchesQualification(permission, qualification)) { |
135 | 0 | list.addAll(getPermissionAssignees(permission)); |
136 | |
} |
137 | |
} |
138 | |
} |
139 | |
} |
140 | |
} |
141 | 0 | return list; |
142 | |
} |
143 | |
|
144 | |
private List<PermissionAssigneeInfo> getPermissionAssignees(KimPermissionInfo permission) { |
145 | 0 | List<PermissionAssigneeInfo> list = new ArrayList<PermissionAssigneeInfo>(); |
146 | |
|
147 | 0 | return list; |
148 | |
} |
149 | |
|
150 | |
@Override |
151 | |
public List<PermissionAssigneeInfo> getPermissionAssigneesForTemplateName(String namespaceCode, |
152 | |
String permissionTemplateName, |
153 | |
AttributeSet permissionDetails, |
154 | |
AttributeSet qualification) { |
155 | 0 | List<PermissionAssigneeInfo> list = new ArrayList<PermissionAssigneeInfo>(); |
156 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
157 | 0 | if (permission.getTemplate() != null) { |
158 | 0 | if (namespaceCode.equals(permission.getTemplate().getNamespaceCode())) { |
159 | 0 | if (permissionTemplateName.equals(permission.getTemplate().getName())) { |
160 | 0 | if (matchesPermissionDetails(permission, permissionDetails)) { |
161 | 0 | if (matchesQualification(permission, qualification)) { |
162 | 0 | list.addAll(getPermissionAssignees(permission)); |
163 | |
} |
164 | |
} |
165 | |
} |
166 | |
} |
167 | |
} |
168 | |
} |
169 | 0 | return list; |
170 | |
} |
171 | |
|
172 | |
@Override |
173 | |
public String getPermissionDetailLabel(String permissionId, String kimTypeId, |
174 | |
String attributeName) { |
175 | |
|
176 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
177 | |
} |
178 | |
|
179 | |
@Override |
180 | |
public KimPermissionTemplateInfo getPermissionTemplate(String permissionTemplateId) { |
181 | 0 | return this.permissionTemplateCache.get(permissionTemplateId); |
182 | |
} |
183 | |
|
184 | |
@Override |
185 | |
public KimPermissionTemplateInfo getPermissionTemplateByName(String namespaceCode, |
186 | |
String permissionTemplateName) { |
187 | 0 | for (KimPermissionTemplateInfo template : this.permissionTemplateCache.values()) { |
188 | 0 | if (template.getNamespaceCode().equals(namespaceCode)) { |
189 | 0 | if (template.getName().equals(permissionTemplateName)) { |
190 | 0 | return template; |
191 | |
} |
192 | |
} |
193 | |
} |
194 | 0 | return null; |
195 | |
} |
196 | |
|
197 | |
@Override |
198 | |
public List<KimPermissionInfo> getPermissionsByName(String namespaceCode, |
199 | |
String permissionName) { |
200 | 0 | List<KimPermissionInfo> list = new ArrayList<KimPermissionInfo>(); |
201 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
202 | 0 | if (namespaceCode.equals(permission.getNamespaceCode())) { |
203 | 0 | if (permissionName.equals(permission.getName())) { |
204 | 0 | if (permission.isActive()) { |
205 | 0 | list.add(permission); |
206 | |
} |
207 | |
} |
208 | |
} |
209 | |
} |
210 | 0 | return list; |
211 | |
} |
212 | |
|
213 | |
@Override |
214 | |
public List<KimPermissionInfo> getPermissionsByNameIncludingInactive(String namespaceCode, |
215 | |
String permissionName) { |
216 | 0 | List<KimPermissionInfo> list = new ArrayList<KimPermissionInfo>(); |
217 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
218 | 0 | if (namespaceCode.equals(permission.getNamespaceCode())) { |
219 | 0 | if (permissionName.equals(permission.getName())) { |
220 | 0 | list.add(permission); |
221 | |
} |
222 | |
} |
223 | |
} |
224 | 0 | return list; |
225 | |
} |
226 | |
|
227 | |
@Override |
228 | |
public List<KimPermissionInfo> getPermissionsByTemplateName(String namespaceCode, |
229 | |
String permissionTemplateName) { |
230 | 0 | List<KimPermissionInfo> list = new ArrayList<KimPermissionInfo>(); |
231 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
232 | 0 | if (permission.getTemplate() != null) { |
233 | 0 | if (namespaceCode.equals(permission.getTemplate().getNamespaceCode())) { |
234 | 0 | if (permissionTemplateName.equals(permission.getTemplate().getName())) { |
235 | 0 | list.add(permission); |
236 | |
} |
237 | |
} |
238 | |
} |
239 | |
} |
240 | 0 | return list; |
241 | |
} |
242 | |
|
243 | |
@Override |
244 | |
public List<String> getRoleIdsForPermission(String namespaceCode, |
245 | |
String permissionName, |
246 | |
AttributeSet permissionDetails) { |
247 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
248 | |
} |
249 | |
|
250 | |
@Override |
251 | |
public List<String> getRoleIdsForPermissionId(String permissionId) { |
252 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
253 | |
} |
254 | |
|
255 | |
@Override |
256 | |
public List<String> getRoleIdsForPermissions(List<KimPermissionInfo> permissions) { |
257 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
258 | |
} |
259 | |
|
260 | |
@Override |
261 | |
public boolean hasPermission(String principalId, String namespaceCode, |
262 | |
String permissionName, |
263 | |
AttributeSet permissionDetails) { |
264 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
265 | |
} |
266 | |
|
267 | |
@Override |
268 | |
public boolean hasPermissionByTemplateName(String principalId, |
269 | |
String namespaceCode, |
270 | |
String permissionTemplateName, |
271 | |
AttributeSet permissionDetails) { |
272 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
273 | |
} |
274 | |
|
275 | |
@Override |
276 | |
public boolean isAuthorized(String principalId, String namespaceCode, |
277 | |
String permissionName, |
278 | |
AttributeSet permissionDetails, |
279 | |
AttributeSet qualification) { |
280 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
281 | |
} |
282 | |
|
283 | |
@Override |
284 | |
public boolean isAuthorizedByTemplateName(String principalId, |
285 | |
String namespaceCode, |
286 | |
String permissionTemplateName, |
287 | |
AttributeSet permissionDetails, |
288 | |
AttributeSet qualification) { |
289 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
290 | |
} |
291 | |
|
292 | |
@Override |
293 | |
public boolean isPermissionDefined(String namespaceCode, String permissionName, |
294 | |
AttributeSet permissionDetails) { |
295 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
296 | 0 | if (namespaceCode.equals(permission.getNamespaceCode())) { |
297 | 0 | if (permissionName.equals(permission.getName())) { |
298 | 0 | if (matchesPermissionDetails(permission, permissionDetails)) { |
299 | 0 | return true; |
300 | |
} |
301 | |
} |
302 | |
} |
303 | |
} |
304 | |
|
305 | 0 | return false; |
306 | |
} |
307 | |
|
308 | |
@Override |
309 | |
public boolean isPermissionDefinedForTemplateName(String namespaceCode, |
310 | |
String permissionTemplateName, |
311 | |
AttributeSet permissionDetails) { |
312 | 0 | for (KimPermissionInfo permission : this.permissionCache.values()) { |
313 | 0 | if (permission.getTemplate() != null) { |
314 | 0 | if (namespaceCode.equals(permission.getTemplate().getNamespaceCode())) { |
315 | 0 | if (permissionTemplateName.equals(permission.getTemplate().getName())) { |
316 | 0 | if (matchesPermissionDetails(permission, permissionDetails)) { |
317 | 0 | return true; |
318 | |
} |
319 | |
} |
320 | |
} |
321 | |
} |
322 | |
} |
323 | 0 | return false; |
324 | |
} |
325 | |
|
326 | |
@Override |
327 | |
public List<KimPermissionInfo> lookupPermissions(Map<String, String> searchCriteria, |
328 | |
boolean unbounded) { |
329 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
330 | |
} |
331 | |
|
332 | |
@Override |
333 | |
public String getNextAvailablePermissionId() throws UnsupportedOperationException { |
334 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
335 | |
} |
336 | |
|
337 | |
@Override |
338 | |
public void savePermission(String permissionId, String permissionTemplateId, |
339 | |
String namespaceCode, String name, |
340 | |
String description, boolean active, |
341 | |
AttributeSet permissionDetails) { |
342 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
343 | |
} |
344 | |
|
345 | |
@Override |
346 | |
public void applicationRoleMembershipChanged(String roleId) { |
347 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
348 | |
} |
349 | |
|
350 | |
@Override |
351 | |
public List<DelegateMemberCompleteInfo> findDelegateMembersCompleteInfo(Map<String, String> fieldValues) { |
352 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
353 | |
} |
354 | |
|
355 | |
@Override |
356 | |
public List<RoleMembershipInfo> findRoleMembers(Map<String, String> fieldValues) { |
357 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
358 | |
} |
359 | |
|
360 | |
@Override |
361 | |
public List<RoleMemberCompleteInfo> findRoleMembersCompleteInfo(Map<String, String> fieldValues) { |
362 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
363 | |
} |
364 | |
|
365 | |
@Override |
366 | |
public void flushInternalDelegationCache() { |
367 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
368 | |
} |
369 | |
|
370 | |
@Override |
371 | |
public void flushInternalDelegationMemberCache() { |
372 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
373 | |
} |
374 | |
|
375 | |
@Override |
376 | |
public void flushInternalRoleCache() { |
377 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
378 | |
} |
379 | |
|
380 | |
@Override |
381 | |
public void flushInternalRoleMemberCache() { |
382 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
383 | |
} |
384 | |
|
385 | |
@Override |
386 | |
public DelegateTypeInfo getDelegateTypeInfo(String roleId, |
387 | |
String delegationTypeCode) { |
388 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
389 | |
} |
390 | |
|
391 | |
@Override |
392 | |
public DelegateTypeInfo getDelegateTypeInfoById(String delegationId) { |
393 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
394 | |
} |
395 | |
|
396 | |
@Override |
397 | |
public DelegateMemberCompleteInfo getDelegationMemberByDelegationAndMemberId(String delegationId, |
398 | |
String memberId) { |
399 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
400 | |
} |
401 | |
|
402 | |
@Override |
403 | |
public DelegateMemberCompleteInfo getDelegationMemberById(String delegationMemberId) { |
404 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
405 | |
} |
406 | |
|
407 | |
@Override |
408 | |
public List<DelegateMemberCompleteInfo> getDelegationMembersByDelegationId(String delegationId) { |
409 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
410 | |
} |
411 | |
|
412 | |
@Override |
413 | |
public List<RoleMembershipInfo> getFirstLevelRoleMembers(List<String> roleIds) { |
414 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
415 | |
} |
416 | |
|
417 | |
@Override |
418 | |
public List<String> getMemberParentRoleIds(String memberType, String memberId) { |
419 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
420 | |
} |
421 | |
|
422 | |
@Override |
423 | |
public List<String> getPrincipalIdSubListWithRole(List<String> principalIds, |
424 | |
String roleNamespaceCode, |
425 | |
String roleName, |
426 | |
AttributeSet qualification) { |
427 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
428 | |
} |
429 | |
|
430 | |
@Override |
431 | |
public KimRoleInfo getRole(String roleId) { |
432 | 0 | return this.roleCache.get(roleId); |
433 | |
} |
434 | |
|
435 | |
@Override |
436 | |
public KimRoleInfo getRoleByName(String namespaceCode, String roleName) { |
437 | 0 | for (KimRoleInfo role: this.roleCache.values()) { |
438 | 0 | if (namespaceCode.equals(role.getNamespaceCode())) { |
439 | 0 | if (roleName.equals(role.getRoleName())) { |
440 | 0 | return role; |
441 | |
} |
442 | |
} |
443 | |
} |
444 | 0 | return null; |
445 | |
} |
446 | |
|
447 | |
@Override |
448 | |
public String getRoleIdByName(String namespaceCode, String roleName) { |
449 | 0 | for (KimRoleInfo role: this.roleCache.values()) { |
450 | 0 | if (namespaceCode.equals(role.getNamespaceCode())) { |
451 | 0 | if (roleName.equals(role.getRoleName())) { |
452 | 0 | return role.getRoleId(); |
453 | |
} |
454 | |
} |
455 | |
} |
456 | 0 | return null; |
457 | |
} |
458 | |
|
459 | |
@Override |
460 | |
public Collection<String> getRoleMemberPrincipalIds(String namespaceCode, |
461 | |
String roleName, |
462 | |
AttributeSet qualification) { |
463 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
464 | |
} |
465 | |
|
466 | |
@Override |
467 | |
public List<RoleResponsibilityActionInfo> getRoleMemberResponsibilityActionInfo(String roleMemberId) { |
468 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
469 | |
} |
470 | |
|
471 | |
@Override |
472 | |
public List<RoleMembershipInfo> getRoleMembers(List<String> roleIds, |
473 | |
AttributeSet qualification) { |
474 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
475 | |
} |
476 | |
|
477 | |
@Override |
478 | |
public List<AttributeSet> getRoleQualifiersForPrincipal(String principalId, |
479 | |
List<String> roleIds, |
480 | |
AttributeSet qualification) { |
481 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
482 | |
} |
483 | |
|
484 | |
@Override |
485 | |
public List<AttributeSet> getRoleQualifiersForPrincipal(String principalId, |
486 | |
String namespaceCode, |
487 | |
String roleName, |
488 | |
AttributeSet qualification) { |
489 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
490 | |
} |
491 | |
|
492 | |
@Override |
493 | |
public List<AttributeSet> getRoleQualifiersForPrincipalIncludingNested(String principalId, |
494 | |
String namespaceCode, |
495 | |
String roleName, |
496 | |
AttributeSet qualification) { |
497 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
498 | |
} |
499 | |
|
500 | |
@Override |
501 | |
public List<AttributeSet> getRoleQualifiersForPrincipalIncludingNested(String principalId, |
502 | |
List<String> roleIds, |
503 | |
AttributeSet qualification) { |
504 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
505 | |
} |
506 | |
|
507 | |
@Override |
508 | |
public List<RoleResponsibilityInfo> getRoleResponsibilities(String roleId) { |
509 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
510 | |
} |
511 | |
|
512 | |
@Override |
513 | |
public List<KimRoleInfo> getRoles(List<String> roleIds) { |
514 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
515 | |
} |
516 | |
|
517 | |
@Override |
518 | |
public List<? extends Role> getRolesSearchResults(Map<String, String> fieldValues) { |
519 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
520 | |
} |
521 | |
|
522 | |
@Override |
523 | |
public void groupInactivated(String groupId) { |
524 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
525 | |
} |
526 | |
|
527 | |
@Override |
528 | |
public boolean isRoleActive(String roleId) { |
529 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
530 | |
} |
531 | |
|
532 | |
@Override |
533 | |
public List<KimRoleInfo> lookupRoles(Map<String, String> searchCriteria) { |
534 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
535 | |
} |
536 | |
|
537 | |
@Override |
538 | |
public boolean principalHasRole(String principalId, |
539 | |
List<String> roleIds, |
540 | |
AttributeSet qualification) { |
541 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
542 | |
} |
543 | |
|
544 | |
@Override |
545 | |
public void principalInactivated(String principalId) { |
546 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
547 | |
} |
548 | |
|
549 | |
@Override |
550 | |
public void roleInactivated(String roleId) { |
551 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
552 | |
} |
553 | |
|
554 | |
@Override |
555 | |
public void assignGroupToRole(String groupId, String namespaceCode, |
556 | |
String roleName, AttributeSet qualifications) |
557 | |
throws UnsupportedOperationException { |
558 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
559 | |
} |
560 | |
|
561 | |
@Override |
562 | |
public void assignPermissionToRole(String permissionId, String roleId) throws UnsupportedOperationException { |
563 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
564 | |
} |
565 | |
|
566 | |
@Override |
567 | |
public void assignPrincipalToRole(String principalId, String namespaceCode, |
568 | |
String roleName, AttributeSet qualifications) |
569 | |
throws UnsupportedOperationException { |
570 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
571 | |
} |
572 | |
|
573 | |
@Override |
574 | |
public void assignRoleToRole(String roleId, String namespaceCode, |
575 | |
String roleName, AttributeSet qualifications) |
576 | |
throws UnsupportedOperationException { |
577 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
578 | |
} |
579 | |
|
580 | |
@Override |
581 | |
public String getNextAvailableRoleId() throws UnsupportedOperationException { |
582 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
583 | |
} |
584 | |
|
585 | |
@Override |
586 | |
public void removeGroupFromRole(String groupId, String namespaceCode, |
587 | |
String roleName, AttributeSet qualifications) |
588 | |
throws UnsupportedOperationException { |
589 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
590 | |
} |
591 | |
|
592 | |
@Override |
593 | |
public void removePrincipalFromRole(String principalId, String namespaceCode, |
594 | |
String roleName, |
595 | |
AttributeSet qualifications) throws UnsupportedOperationException { |
596 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
597 | |
} |
598 | |
|
599 | |
@Override |
600 | |
public void removeRoleFromRole(String roleId, String namespaceCode, |
601 | |
String roleName, AttributeSet qualifications) |
602 | |
throws UnsupportedOperationException { |
603 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
604 | |
} |
605 | |
|
606 | |
@Override |
607 | |
public void saveDelegationMemberForRole(String delegationMemberId, |
608 | |
String roleMemberId, |
609 | |
String memberId, |
610 | |
String memberTypeCode, |
611 | |
String delegationTypeCode, |
612 | |
String roleId, |
613 | |
AttributeSet qualifications, |
614 | |
java.sql.Date activeFromDate, |
615 | |
java.sql.Date activeToDate) |
616 | |
throws UnsupportedOperationException { |
617 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
618 | |
} |
619 | |
|
620 | |
@Override |
621 | |
public void saveRole(String roleId, |
622 | |
String roleName, |
623 | |
String roleDescription, |
624 | |
boolean active, |
625 | |
String kimTypeId, |
626 | |
String namespaceCode) |
627 | |
throws UnsupportedOperationException { |
628 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
629 | |
} |
630 | |
|
631 | |
@Override |
632 | |
public RoleMemberCompleteInfo saveRoleMemberForRole(String roleMemberId, |
633 | |
String memberId, |
634 | |
String memberTypeCode, |
635 | |
String roleId, |
636 | |
AttributeSet qualifications, |
637 | |
java.sql.Date activeFromDate, |
638 | |
java.sql.Date activeToDate) throws UnsupportedOperationException { |
639 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
640 | |
} |
641 | |
|
642 | |
@Override |
643 | |
public void saveRoleRspActions(String roleResponsibilityActionId, |
644 | |
String roleId, String roleResponsibilityId, |
645 | |
String roleMemberId, String actionTypeCode, |
646 | |
String actionPolicyCode, Integer priorityNumber, |
647 | |
Boolean forceAction) { |
648 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
649 | |
} |
650 | |
|
651 | |
@Override |
652 | |
public void flushDelegationCaches() { |
653 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
654 | |
} |
655 | |
|
656 | |
@Override |
657 | |
public void flushDelegationMemberCaches() { |
658 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
659 | |
} |
660 | |
|
661 | |
@Override |
662 | |
public void flushRoleCaches() { |
663 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
664 | |
} |
665 | |
|
666 | |
@Override |
667 | |
public void flushRoleMemberCaches() { |
668 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
669 | |
} |
670 | |
|
671 | |
@Override |
672 | |
public void removeCacheEntries(String roleId, String principalId) { |
673 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
674 | |
} |
675 | |
} |
676 | |
|