1 18 package org.osgi.service.useradmin; 19 20 import org.osgi.framework.InvalidSyntaxException; 21 22 50 public interface UserAdmin { 51 73 public Role createRole(String name, int type); 74 75 94 public boolean removeRole(String name); 95 96 106 public Role getRole(String name); 107 108 124 public Role[] getRoles(String filter) throws InvalidSyntaxException; 125 126 141 public User getUser(String key, String value); 142 143 158 public Authorization getAuthorization(User user); 159 } 160 | Popular Tags |