1 23 24 package com.sun.enterprise.admin.server.core.mbean.config; 25 26 import javax.management.*; 28 29 import com.sun.enterprise.config.ConfigException; 31 import com.sun.enterprise.config.serverbeans.ServerTags; 32 import com.sun.enterprise.config.serverbeans.ServerXPathHelper; 33 34 35 import com.sun.enterprise.admin.common.exception.MBeanConfigException; 37 import com.sun.enterprise.admin.common.constant.ConfigAttributeName; 38 39 44 public class SslBase extends ConfigMBeanBase implements ConfigAttributeName.Ssl 45 { 46 49 static final String [][] MAPLIST = 50 { 51 {kCertNickname , ATTRIBUTE + ServerTags.CERT_NICKNAME}, 53 {kSsl2Enabled , ATTRIBUTE + ServerTags.SSL2_ENABLED}, 54 {kSsl2Ciphers , ATTRIBUTE + ServerTags.SSL2_CIPHERS}, 55 {kSsl3Enabled , ATTRIBUTE + ServerTags.SSL3_ENABLED}, 56 {kSsl3TlsCiphers , ATTRIBUTE + ServerTags.SSL3_TLS_CIPHERS}, 57 {kTlsEnabled , ATTRIBUTE + ServerTags.TLS_ENABLED}, 58 {kTlsRollbackEnabled , ATTRIBUTE + ServerTags.TLS_ROLLBACK_ENABLED}, 59 {kClientAuthEnabled , ATTRIBUTE + ServerTags.CLIENT_AUTH_ENABLED}, 60 }; 61 64 static final String [] ATTRIBUTES = 65 { 66 kCertNickname +", String, RW" , 67 kSsl2Enabled +", Boolean, RW" , 68 kSsl2Ciphers +", String, RW" , 69 kSsl3Enabled +", Boolean, RW" , 70 kSsl3TlsCiphers +", String, RW" , 71 kTlsEnabled +", Boolean, RW" , 72 kTlsRollbackEnabled +", Boolean, RW" , 73 kClientAuthEnabled +", Boolean, RW" , 74 }; 75 78 private static final String [] OPERATIONS = null; 79 80 83 public SslBase() throws MBeanConfigException 84 { 85 this.setDescriptions(MAPLIST, ATTRIBUTES, OPERATIONS); 86 } 87 88 } | Popular Tags |