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 java.util.*; |
19 | |
|
20 | |
import org.joda.time.DateTime; |
21 | |
import org.kuali.rice.core.api.criteria.QueryByCriteria; |
22 | |
import org.kuali.rice.core.api.delegation.DelegationType; |
23 | |
import org.kuali.rice.core.api.exception.RiceIllegalArgumentException; |
24 | |
import org.kuali.rice.core.api.exception.RiceIllegalStateException; |
25 | |
import org.kuali.rice.core.api.util.jaxb.MapStringStringAdapter; |
26 | |
import org.kuali.rice.kim.api.KimConstants; |
27 | |
import org.kuali.rice.kim.api.common.delegate.DelegateMember; |
28 | |
import org.kuali.rice.kim.api.common.delegate.DelegateType; |
29 | |
|
30 | |
import org.kuali.rice.kim.api.group.GroupService; |
31 | |
import org.kuali.rice.kim.api.role.*; |
32 | |
import org.kuali.rice.core.api.membership.MemberType; |
33 | |
import org.kuali.rice.kim.framework.type.KimTypeService; |
34 | |
|
35 | |
import javax.jws.WebParam; |
36 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | 0 | public class RoleServiceMockImpl implements RoleService { |
42 | |
|
43 | 0 | private transient Map<String, Role> roleCache = new HashMap<String, Role>(); |
44 | 0 | private transient Map<String, RoleMembership> roleMembershipCache = new HashMap<String, RoleMembership>(); |
45 | 0 | private transient Map<String, RoleMember> roleMemberCompleteInfoCache = new HashMap<String, RoleMember>(); |
46 | |
private GroupService groupService; |
47 | |
private KimTypeService kimTypeInfoService; |
48 | |
|
49 | |
public GroupService getGroupService() { |
50 | 0 | return groupService; |
51 | |
} |
52 | |
|
53 | |
public void setGroupService(GroupService groupService) { |
54 | 0 | this.groupService = groupService; |
55 | 0 | } |
56 | |
|
57 | |
public KimTypeService getKimTypeService() { |
58 | 0 | return kimTypeInfoService; |
59 | |
} |
60 | |
|
61 | |
public void setKimTypeService(KimTypeService kimTypeInfoService) { |
62 | 0 | this.kimTypeInfoService = kimTypeInfoService; |
63 | 0 | } |
64 | |
|
65 | |
|
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
@Override |
72 | |
public Role getRole(String roleId) { |
73 | 0 | return roleCache.get(roleId); |
74 | |
} |
75 | |
|
76 | |
|
77 | |
|
78 | |
|
79 | |
@Override |
80 | |
public List<Role> getRoles(List<String> roleIds) { |
81 | 0 | List<Role> list = new ArrayList<Role>(); |
82 | 0 | for (String roleId : roleIds) { |
83 | 0 | list.add(this.getRole(roleId)); |
84 | |
} |
85 | 0 | return list; |
86 | |
} |
87 | |
|
88 | |
|
89 | |
|
90 | |
|
91 | |
|
92 | |
|
93 | |
|
94 | |
@Override |
95 | |
public Role getRoleByNameAndNamespaceCode(String namespaceCode, String roleName) { |
96 | 0 | for (Role role : this.roleCache.values()) { |
97 | 0 | if (namespaceCode.equals(role.getNamespaceCode())) { |
98 | 0 | if (roleName.equals(role.getName())) { |
99 | 0 | return role; |
100 | |
} |
101 | |
} |
102 | |
} |
103 | 0 | return null; |
104 | |
} |
105 | |
|
106 | |
|
107 | |
|
108 | |
|
109 | |
|
110 | |
@Override |
111 | |
public String getRoleIdByNameAndNamespaceCode(String namespaceCode, String roleName) { |
112 | 0 | for (Role role : this.roleCache.values()) { |
113 | 0 | if (namespaceCode.equals(role.getNamespaceCode())) { |
114 | 0 | if (roleName.equals(role.getName())) { |
115 | 0 | return role.getId(); |
116 | |
} |
117 | |
} |
118 | |
} |
119 | 0 | return null; |
120 | |
} |
121 | |
|
122 | |
|
123 | |
|
124 | |
|
125 | |
|
126 | |
|
127 | |
|
128 | |
@Override |
129 | |
public boolean isRoleActive(String roleId) { |
130 | 0 | return this.getRole(roleId).isActive(); |
131 | |
} |
132 | |
|
133 | |
|
134 | |
|
135 | |
|
136 | |
|
137 | |
|
138 | |
|
139 | |
public List<Map<String,String>> getRoleQualifiersForPrincipal(String principalId, List<String> roleIds, Map<String,String> qualification) { |
140 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
141 | |
} |
142 | |
|
143 | |
|
144 | |
|
145 | |
|
146 | |
|
147 | |
|
148 | |
|
149 | |
public List<Map<String,String>> getRoleQualifiersForPrincipal(String principalId, String namespaceCode, String roleName, Map<String,String> qualification) { |
150 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
151 | |
} |
152 | |
|
153 | |
|
154 | |
|
155 | |
public List<Map<String, String>> getNestedRoleQualifiersForPrincipal(String principalId, String namespaceCode, String roleName, Map<String, String> qualification) { |
156 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
157 | |
} |
158 | |
|
159 | |
|
160 | |
public List<Map<String, String>> getNestedRoleQualifiersForPrincipal(String principalId, List<String> roleIds, Map<String, String> qualification) { |
161 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
162 | |
} |
163 | |
|
164 | |
|
165 | |
|
166 | |
|
167 | |
|
168 | |
|
169 | |
|
170 | |
|
171 | |
|
172 | |
|
173 | |
|
174 | |
|
175 | |
@Override |
176 | |
public List<RoleMembership> getRoleMembers(List<String> roleIds, Map<String,String> qualification) { |
177 | 0 | List<RoleMembership> list = new ArrayList<RoleMembership>(); |
178 | 0 | for (RoleMembership info : this.roleMembershipCache.values()) { |
179 | 0 | if (roleIds.contains(info.getRoleId())) { |
180 | 0 | if (matchesQualifiers(info, qualification)) { |
181 | 0 | list.add(info); |
182 | |
} |
183 | |
} |
184 | |
} |
185 | 0 | return list; |
186 | |
} |
187 | |
|
188 | |
private boolean matchesQualifiers(RoleMembership info, Map<String,String> qualification) { |
189 | |
|
190 | 0 | return true; |
191 | |
} |
192 | |
|
193 | |
private Collection<String> getAllRoleMemberPrincipalIds(String roleId, Map<String,String> qualification) { |
194 | 0 | Collection<String> principals = new ArrayList<String>(); |
195 | 0 | for (RoleMembership info : this.roleMembershipCache.values()) { |
196 | 0 | if (roleId.equals(info.getRoleId())) { |
197 | 0 | if (matchesQualifiers(info, qualification)) { |
198 | 0 | if (info.getMemberType().getCode().equals(KimConstants.KimGroupMemberTypes.PRINCIPAL_MEMBER_TYPE)) { |
199 | 0 | principals.add(info.getMemberId()); |
200 | 0 | } else if (info.getMemberType().getCode().equals(KimConstants.KimGroupMemberTypes.GROUP_MEMBER_TYPE)) { |
201 | 0 | principals.addAll(groupService.getMemberPrincipalIds(info.getMemberId())); |
202 | |
|
203 | |
|
204 | |
} |
205 | |
} |
206 | |
} |
207 | |
} |
208 | 0 | return principals; |
209 | |
} |
210 | |
|
211 | |
|
212 | |
|
213 | |
|
214 | |
|
215 | |
|
216 | |
@Override |
217 | |
public Collection<String> getRoleMemberPrincipalIds(String namespaceCode, String roleName, Map<String,String> qualification) { |
218 | 0 | Role roleInfo = this.getRoleByNameAndNamespaceCode(namespaceCode, roleName); |
219 | 0 | if (roleInfo == null) { |
220 | 0 | throw new IllegalArgumentException("role name not found"); |
221 | |
} |
222 | 0 | return this.getAllRoleMemberPrincipalIds(roleName, qualification); |
223 | |
} |
224 | |
|
225 | |
private boolean principalHasThisRole(String principalId, String roleId, Map<String,String> qualification) { |
226 | 0 | return (this.getAllRoleMemberPrincipalIds(roleId, qualification).contains(principalId)); |
227 | |
} |
228 | |
|
229 | |
|
230 | |
|
231 | |
|
232 | |
@Override |
233 | |
public boolean principalHasRole(String principalId, List<String> roleIds, Map<String,String> qualification) { |
234 | 0 | for (String roleId : roleIds) { |
235 | 0 | if (this.principalHasThisRole(principalId, roleId, qualification)) { |
236 | 0 | return true; |
237 | |
} |
238 | |
} |
239 | 0 | return false; |
240 | |
} |
241 | |
|
242 | |
|
243 | |
|
244 | |
|
245 | |
|
246 | |
@Override |
247 | |
public List<String> getPrincipalIdSubListWithRole(List<String> principalIds, |
248 | |
String roleNamespaceCode, String roleName, Map<String,String> qualification) { |
249 | 0 | List<String> subList = new ArrayList<String>(); |
250 | 0 | Role role = getRoleByNameAndNamespaceCode(roleNamespaceCode, roleName); |
251 | 0 | for (String principalId : principalIds) { |
252 | 0 | if (principalHasThisRole(principalId, role.getId(), qualification)) { |
253 | 0 | subList.add(principalId); |
254 | |
} |
255 | |
} |
256 | 0 | return subList; |
257 | |
} |
258 | |
|
259 | |
@Override |
260 | |
public RoleQueryResults findRoles(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException { |
261 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
262 | |
} |
263 | |
|
264 | |
|
265 | |
|
266 | |
|
267 | |
|
268 | |
|
269 | |
|
270 | |
|
271 | |
|
272 | |
|
273 | |
public void principalInactivated(String principalId) { |
274 | 0 | for (RoleMembership membership : this.roleMembershipCache.values()) { |
275 | 0 | if (membership.getMemberType().getCode().equals(KimConstants.KimGroupMemberTypes.PRINCIPAL_MEMBER_TYPE)) { |
276 | 0 | if (principalId.equals(membership.getMemberId())) { |
277 | 0 | this.roleMembershipCache.remove(membership.getRoleMemberId()); |
278 | |
} |
279 | |
} |
280 | |
} |
281 | 0 | } |
282 | |
|
283 | |
|
284 | |
|
285 | |
|
286 | |
|
287 | |
|
288 | |
|
289 | |
|
290 | |
|
291 | |
public void roleInactivated(String roleId) { |
292 | 0 | for (RoleMembership membership : this.roleMembershipCache.values()) { |
293 | 0 | if (membership.getMemberType().getCode().equals(MemberType.ROLE.getCode())) { |
294 | 0 | if (roleId.equals(membership.getMemberId())) { |
295 | 0 | this.roleMembershipCache.remove(membership.getRoleMemberId()); |
296 | |
} |
297 | 0 | if (roleId.equals(membership.getRoleId())) { |
298 | 0 | this.roleMembershipCache.remove(membership.getRoleMemberId()); |
299 | |
} |
300 | |
} |
301 | |
} |
302 | 0 | this.roleCache.remove(roleId); |
303 | 0 | } |
304 | |
|
305 | |
|
306 | |
|
307 | |
|
308 | |
|
309 | |
|
310 | |
|
311 | |
|
312 | |
|
313 | |
public void groupInactivated(String groupId) { |
314 | 0 | for (RoleMembership membership : this.roleMembershipCache.values()) { |
315 | 0 | if (membership.getMemberType().getCode().equals(KimConstants.KimGroupMemberTypes.GROUP_MEMBER_TYPE)) { |
316 | 0 | if (groupId.equals(membership.getMemberId())) { |
317 | 0 | this.roleMembershipCache.remove(membership.getRoleMemberId()); |
318 | |
} |
319 | |
} |
320 | |
} |
321 | 0 | } |
322 | |
|
323 | |
|
324 | |
|
325 | |
|
326 | |
|
327 | |
|
328 | |
|
329 | |
|
330 | |
|
331 | |
|
332 | |
|
333 | |
|
334 | |
@Override |
335 | |
public List<RoleMembership> getFirstLevelRoleMembers(List<String> roleIds) { |
336 | 0 | List<RoleMembership> list = new ArrayList<RoleMembership>(); |
337 | 0 | for (RoleMembership membership : this.roleMembershipCache.values()) { |
338 | 0 | if (roleIds.contains(membership.getRoleId())) { |
339 | 0 | this.roleMembershipCache.remove(membership.getRoleMemberId()); |
340 | |
} |
341 | |
} |
342 | 0 | return list; |
343 | |
} |
344 | |
|
345 | |
|
346 | |
|
347 | |
|
348 | |
|
349 | |
|
350 | |
@Override |
351 | |
public RoleMemberQueryResults findRoleMembers(QueryByCriteria queryByCriteria) { |
352 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
353 | |
} |
354 | |
|
355 | |
@Override |
356 | |
public Set<String> getRoleTypeRoleMemberIds(@WebParam(name = "roleId") String roleId) throws RiceIllegalArgumentException { |
357 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
358 | |
} |
359 | |
|
360 | |
|
361 | |
|
362 | |
|
363 | |
|
364 | |
|
365 | |
|
366 | |
@Override |
367 | |
public List<String> getMemberParentRoleIds(String memberType, String memberId) { |
368 | 0 | List<String> list = new ArrayList<String>(); |
369 | 0 | for (RoleMembership membership : this.roleMembershipCache.values()) { |
370 | 0 | if (memberType.equals(membership.getMemberType().getCode())) { |
371 | 0 | if (memberId.equals(membership.getRoleMemberId())) { |
372 | 0 | list.add(membership.getRoleId()); |
373 | |
} |
374 | |
} |
375 | |
} |
376 | 0 | return list; |
377 | |
} |
378 | |
|
379 | |
|
380 | |
|
381 | |
@Override |
382 | |
public RoleMembershipQueryResults findRoleMemberships(QueryByCriteria queryByCriteria) { |
383 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
384 | |
} |
385 | |
|
386 | |
@Override |
387 | |
public DelegateMemberQueryResults findDelegateMembers(QueryByCriteria queryByCriteria) { |
388 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
389 | |
} |
390 | |
|
391 | |
|
392 | |
|
393 | |
|
394 | |
|
395 | |
|
396 | |
|
397 | |
|
398 | |
@Override |
399 | |
public List<DelegateMember> getDelegationMembersByDelegationId(String delegationId) { |
400 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
401 | |
} |
402 | |
|
403 | |
@Override |
404 | |
public DelegateMember getDelegationMemberByDelegationAndMemberId(String delegationId, String memberId) { |
405 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
406 | |
} |
407 | |
|
408 | |
@Override |
409 | |
public DelegateMember getDelegationMemberById(String delegationMemberId) { |
410 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
411 | |
} |
412 | |
|
413 | |
@Override |
414 | |
public List<RoleResponsibility> getRoleResponsibilities(String roleId) { |
415 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
416 | |
} |
417 | |
|
418 | |
@Override |
419 | |
public List<RoleResponsibilityAction> getRoleMemberResponsibilityActions(String roleMemberId) { |
420 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
421 | |
} |
422 | |
|
423 | |
@Override |
424 | |
public DelegateType getDelegateTypeByRoleIdAndDelegateTypeCode(@WebParam(name = "roleId") String roleId, |
425 | |
@WebParam(name = "delegateType") DelegationType delegateType) throws RiceIllegalArgumentException{ |
426 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
427 | |
} |
428 | |
|
429 | |
@Override |
430 | |
public DelegateType getDelegateTypeByDelegationId(@WebParam(name = "delegationId") String delegationId) throws RiceIllegalArgumentException { |
431 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
432 | |
} |
433 | |
|
434 | |
@Override |
435 | |
public DelegateType updateDelegateType(@WebParam(name="delegateType") DelegateType delegateType) throws RiceIllegalArgumentException, RiceIllegalStateException{ |
436 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
437 | |
} |
438 | |
|
439 | |
|
440 | |
|
441 | |
|
442 | |
public List<Role> lookupRoles(Map<String, String> searchCriteria) { |
443 | 0 | throw new UnsupportedOperationException("Not supported Yet"); |
444 | |
} |
445 | |
|
446 | |
@Override |
447 | |
public void assignGroupToRole(String groupId, String namespaceCode, |
448 | |
String roleName, Map<String,String> qualifications) |
449 | |
throws UnsupportedOperationException { |
450 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
451 | |
} |
452 | |
|
453 | |
@Override |
454 | |
public void assignPermissionToRole(String permissionId, String roleId) throws UnsupportedOperationException { |
455 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
456 | |
} |
457 | |
|
458 | |
@Override |
459 | |
public void assignPrincipalToRole(String principalId, String namespaceCode, |
460 | |
String roleName, Map<String,String> qualifications) |
461 | |
throws UnsupportedOperationException { |
462 | 0 | Role roleInfo = null; |
463 | 0 | for (Role role : this.roleCache.values()) { |
464 | 0 | if (namespaceCode.equals(role.getNamespaceCode())) { |
465 | 0 | roleInfo = role; |
466 | 0 | break; |
467 | |
} |
468 | 0 | if (null == roleInfo) { |
469 | 0 | String id = UUID.randomUUID().toString(); |
470 | 0 | String description = roleName + " description"; |
471 | 0 | String kimTypeId = null; |
472 | 0 | Role.Builder bldr = Role.Builder.create(id, roleName, namespaceCode, description, kimTypeId); |
473 | 0 | roleInfo = bldr.build(); |
474 | 0 | this.roleCache.put(roleInfo.getId(), roleInfo); |
475 | |
} |
476 | 0 | RoleMembership roleMembershipInfo = null; |
477 | 0 | if (roleName.equals(roleInfo.getName())) { |
478 | 0 | for (RoleMembership rmInfo : roleMembershipCache.values()) { |
479 | 0 | if (rmInfo.getRoleId().equals(roleInfo.getId())) { |
480 | 0 | roleMembershipInfo = rmInfo; |
481 | |
} |
482 | |
} |
483 | |
} |
484 | 0 | if (null == roleMembershipInfo) { |
485 | |
|
486 | |
} |
487 | |
|
488 | 0 | } |
489 | |
|
490 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
491 | |
} |
492 | |
|
493 | |
@Override |
494 | |
public void assignRoleToRole(String roleId, String namespaceCode, |
495 | |
String roleName, Map<String,String> qualifications) |
496 | |
throws UnsupportedOperationException { |
497 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
498 | |
} |
499 | |
|
500 | |
@Override |
501 | |
public void removeGroupFromRole(String groupId, String namespaceCode, |
502 | |
String roleName, Map<String,String> qualifications) |
503 | |
throws UnsupportedOperationException { |
504 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
505 | |
} |
506 | |
|
507 | |
@Override |
508 | |
public void removePrincipalFromRole(String principalId, String namespaceCode, |
509 | |
String roleName, |
510 | |
Map<String,String> qualifications) throws UnsupportedOperationException { |
511 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
512 | |
} |
513 | |
|
514 | |
@Override |
515 | |
public void removeRoleFromRole(String roleId, String namespaceCode, |
516 | |
String roleName, Map<String,String> qualifications) |
517 | |
throws UnsupportedOperationException { |
518 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
519 | |
} |
520 | |
|
521 | |
@Override |
522 | |
public RoleResponsibilityAction createRoleResponsibilityAction(@WebParam(name = "roleResponsibilityAction") RoleResponsibilityAction roleResponsibilityAction) throws RiceIllegalArgumentException { |
523 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
524 | |
} |
525 | |
|
526 | |
|
527 | |
public void saveDelegationMemberForRole(String delegationMemberId, |
528 | |
String roleMemberId, String memberId, |
529 | |
String memberTypeCode, |
530 | |
String delegationTypeCode, |
531 | |
String roleId, |
532 | |
Map<String,String> qualifications, |
533 | |
DateTime activeFromDate, DateTime activeToDate) |
534 | |
throws UnsupportedOperationException { |
535 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
536 | |
} |
537 | |
|
538 | |
|
539 | |
public void saveRole(String roleId, String roleName, String roleDescription, |
540 | |
boolean active, String kimTypeId, String namespaceCode) |
541 | |
throws UnsupportedOperationException { |
542 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
543 | |
} |
544 | |
|
545 | |
|
546 | |
|
547 | |
public RoleMember saveRoleMemberForRole(String roleMemberId, |
548 | |
String memberId, |
549 | |
String memberTypeCode, |
550 | |
String roleId, |
551 | |
Map<String, String> qualifications, |
552 | |
DateTime activeFromDate, |
553 | |
DateTime activeToDate) throws RiceIllegalArgumentException { |
554 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
555 | |
} |
556 | |
|
557 | |
|
558 | |
public void saveRoleRspActions(String roleResponsibilityActionId, |
559 | |
String roleId, String roleResponsibilityId, |
560 | |
String roleMemberId, String actionTypeCode, |
561 | |
String actionPolicyCode, Integer priorityNumber, |
562 | |
Boolean forceAction) { |
563 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
564 | |
} |
565 | |
|
566 | |
@Override |
567 | |
public RoleMember createRoleMember(RoleMember roleMember) throws RiceIllegalArgumentException, RiceIllegalStateException { |
568 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
569 | |
} |
570 | |
|
571 | |
@Override |
572 | |
public RoleMember updateRoleMember(RoleMember roleMember) throws RiceIllegalArgumentException, RiceIllegalStateException{ |
573 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
574 | |
} |
575 | |
|
576 | |
@Override |
577 | |
public Role createRole(Role role) throws RiceIllegalArgumentException, RiceIllegalStateException { |
578 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
579 | |
} |
580 | |
|
581 | |
@Override |
582 | |
public Role updateRole(Role role) throws RiceIllegalArgumentException, RiceIllegalStateException { |
583 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
584 | |
} |
585 | |
|
586 | |
@Override |
587 | |
public List<Map<String, String>> getNestedRoleQualifiersForPrincipalByRoleIds( |
588 | |
String principalId, List<String> roleIds, Map<String, String> qualification) |
589 | |
throws RiceIllegalArgumentException{ |
590 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
591 | |
} |
592 | |
|
593 | |
@Override |
594 | |
public List<Map<String, String>> getRoleQualifersForPrincipalByNamespaceAndRolename( |
595 | |
String principalId, String namespaceCode, String roleName, Map<String, String> qualification) |
596 | |
throws RiceIllegalArgumentException { |
597 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
598 | |
} |
599 | |
|
600 | |
@Override |
601 | |
public List<Map<String, String>> getRoleQualifersForPrincipalByRoleIds(String principalId, |
602 | |
List<String> roleIds, Map<String, String> qualification) throws RiceIllegalArgumentException { |
603 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
604 | |
} |
605 | |
|
606 | |
@Override |
607 | |
public List<Map<String, String>> getNestedRoleQualifersForPrincipalByNamespaceAndRolename( |
608 | |
String principalId, String namespaceCode, |
609 | |
String roleName, Map<String, String> qualification) |
610 | |
throws RiceIllegalArgumentException { |
611 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
612 | |
} |
613 | |
|
614 | |
@Override |
615 | |
public DelegateType createDelegateType(DelegateType delegateType) throws RiceIllegalArgumentException, RiceIllegalStateException { |
616 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
617 | |
} |
618 | |
|
619 | |
|
620 | |
} |
621 | |
|