@Override public void grantGroupRole(IdentityType identityType, Role role, Group group) { getContextualStoreForFeature(createContext(), Feature.createMembership) .createMembership(identityType, group, role); }
@Override public void grantRole(IdentityType identityType, Role role) { getContextualStoreForFeature(createContext(), Feature.createMembership) .createMembership(identityType, null, role); }
@Override public void addToGroup(IdentityType identityType, Group group) { getContextualStoreForFeature(createContext(), Feature.createMembership).createMembership(identityType, group, null); }