public Map<String, String> getRelationshipNameProperties(IdentityStoreInvocationContext ctx, String name) throws IdentityException, OperationNotSupportedException { return defaultIdentityStore.getRelationshipNameProperties(resolveAttributeStoreInvocationContext(ctx), name); }
public Map<String, String> getRelationshipNameProperties(IdentityStoreInvocationContext ctx, String name) throws IdentityException, OperationNotSupportedException { try { Map<String, String> results = new HashMap<String, String>(); // For any IdentityStore that supports named relationships... for (IdentityStore identityStore : configuredIdentityStores) { if (identityStore.getSupportedFeatures().isNamedRelationshipsSupported()) { IdentityStoreInvocationContext storeCtx = resolveInvocationContext(identityStore, ctx); Map<String, String> props = identityStore.getRelationshipNameProperties(storeCtx, name); if (props != null && props.keySet().size() > 0) { results.putAll(props); } } } return results; } catch (IdentityException e) { if (log.isLoggable(Level.FINER)) { log.log(Level.FINER, "Exception occurred: ", e); } throw e; } }
public Map<String, String> getRelationshipNameProperties(IdentityStoreInvocationContext ctx, String name) throws IdentityException, OperationNotSupportedException { Map<String, String> properties = cacheSupport.getProperties(getCacheNS(ctx), name); if (properties != null) { return properties; } properties = identityStore.getRelationshipNameProperties(ctx, name); cacheSupport.putProperties(getCacheNS(ctx), name, properties); return properties; }