1 23 24 25 package com.sun.appserv.management.config; 26 27 import com.sun.appserv.management.base.XTypes; 28 29 30 31 32 35 36 public interface AuthRealmConfig extends PropertiesAccess, NamedConfigElement 37 { 38 39 public static final String J2EE_TYPE = XTypes.AUTH_REALM_CONFIG; 40 41 42 45 public static final String DEFAULT_REALM_CLASSNAME = 46 "com.sun.enterprise.security.auth.realm.file.FileRealm"; 47 48 public static final String KEY_FILE_PROPERTY_KEY = PropertiesAccess.PROPERTY_PREFIX + "file"; 49 50 public static final String JAAS_CONTEXT_PROPERTY_KEY = PropertiesAccess.PROPERTY_PREFIX + "jaas-context"; 51 52 56 public static final String KEY_FILE_PREFIX = "${com.sun.aas.instanceRoot}/config/"; 57 58 59 public String getClassname(); 60 public void setClassname( String value ); 61 62 65 public void addUser( String user, String password, String [] groupList ); 66 67 70 public String [] getGroupNames(); 71 72 75 public String [] getUserGroupNames( String user ); 76 77 80 public String [] getUserNames(); 81 82 85 public void removeUser( String user ); 86 87 90 public void updateUser( String user, String password, String [] groupList ); 91 92 93 94 95 96 } 97 | Popular Tags |