1 23 24 29 30 31 package com.sun.appserv.management.config; 32 33 import java.util.Map ; 34 35 import javax.management.AttributeList ; 36 37 import com.sun.appserv.management.base.XTypes; 38 import com.sun.appserv.management.base.Container; 39 40 43 public interface SecurityServiceConfig extends 44 PropertiesAccess, ConfigElement, Container 45 { 46 47 public static final String J2EE_TYPE = XTypes.SECURITY_SERVICE_CONFIG; 48 49 public String getAnonymousRole(); 50 public void setAnonymousRole( String value ); 51 52 public boolean getAuditEnabled(); 53 public void setAuditEnabled( boolean value ); 54 55 public String getAuditModules(); 56 public void setAuditModules( String value ); 57 58 public String getDefaultPrincipalPassword(); 59 public void setDefaultPrincipalPassword( String value ); 60 61 public String getDefaultPrincipal(); 62 public void setDefaultPrincipal( String value ); 63 64 public String getDefaultRealm(); 65 public void setDefaultRealm( String value ); 66 67 public String getJACC(); 68 public void setJACC( String value ); 69 70 81 public String getMappedPrincipalClass(); 82 83 87 public void setMappedPrincipalClass( String theClass ); 88 89 99 public boolean getActivateDefaultPrincipalToRoleMapping(); 100 104 public void setActivateDefaultPrincipalToRoleMapping( boolean enabled ); 105 106 108 114 public Map <String ,JACCProviderConfig> getJACCProviderConfigMap(); 115 116 125 public JACCProviderConfig createJACCProviderConfig( 126 String name, 127 String policyProvider, 128 String policyConfigurationFactoryProvider, 129 Map reservedForFutureUse ); 130 131 136 public void removeJACCProviderConfig( String name ); 137 138 139 145 public Map <String ,AuthRealmConfig> getAuthRealmConfigMap(); 146 147 148 159 public AuthRealmConfig createAuthRealmConfig( String name, 160 String classname, Map <String ,String > optional ); 161 162 167 public void removeAuthRealmConfig( String name ); 168 169 170 176 public Map <String ,AuditModuleConfig> getAuditModuleConfigMap(); 177 178 179 187 public AuditModuleConfig createAuditModuleConfig( String name, String className, 188 boolean auditOn, Map <String ,String > reservedForFutureUse ); 189 190 195 public void removeAuditModuleConfig( String name ); 196 197 203 public Map <String ,MessageSecurityConfig> getMessageSecurityConfigMap(); 204 205 218 219 237 public MessageSecurityConfig createMessageSecurityConfig( 238 String authLayer, 239 String providerID, 240 String providerType, 241 String providerClassname, 242 Map <String ,String > optional ); 243 244 249 public void removeMessageSecurityConfig( String authLayer ); 250 } 251 252 253 254 255 | Popular Tags |