1 13 package info.magnolia.cms.security; 14 15 import java.util.Collection ; 16 17 import javax.security.auth.Subject ; 18 19 20 25 public interface UserManager { 26 27 30 public static final String SYSTEM_USER = "superuser"; 31 32 35 public static final String SYSTEM_PSWD = "superuser"; 36 37 40 public static final String ANONYMOUS_USER = "anonymous"; 41 42 47 public User getUser(String name) throws UnsupportedOperationException ; 48 49 53 public User getSystemUser(); 54 55 59 public User getAnonymousUser(); 60 61 66 public Collection getAllUsers() throws UnsupportedOperationException ; 67 68 75 public User createUser(String name, String pw) throws UnsupportedOperationException ; 76 77 82 public User getUser(Subject subject) throws UnsupportedOperationException ; 83 } | Popular Tags |