1 17 package org.apache.ldap.server.schema.bootstrap; 18 19 20 import org.apache.ldap.common.schema.AcceptAllSyntaxChecker; 21 import org.apache.ldap.common.schema.BinarySyntaxChecker; 22 import org.apache.ldap.common.schema.SyntaxChecker; 23 24 import javax.naming.NamingException ; 25 26 27 34 public class SystemSyntaxCheckerProducer extends AbstractBootstrapProducer 35 { 36 40 public SystemSyntaxCheckerProducer() 41 { 42 super( ProducerTypeEnum.SYNTAX_CHECKER_PRODUCER ); 43 } 44 45 46 public void produce( BootstrapRegistries registries, ProducerCallback cb ) 47 throws NamingException 48 { 49 SyntaxChecker syntaxChecker; 50 51 58 59 62 63 77 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.1" ); 78 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 79 80 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.2" ); 81 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 82 83 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.3" ); 84 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 85 86 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.4" ); 87 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 88 89 syntaxChecker = BinarySyntaxChecker.INSTANCE; 90 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 91 92 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.6" ); 93 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 94 95 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.7" ); 96 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 97 98 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.8" ); 99 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 100 101 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.9" ); 102 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 103 104 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.10" ); 105 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 106 107 119 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.11" ); 120 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 121 122 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.12" ); 123 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 124 125 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.13" ); 126 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 127 128 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.14" ); 129 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 130 131 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.15" ); 132 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 133 134 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.16" ); 135 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 136 137 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.17" ); 138 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 139 140 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.18" ); 141 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 142 143 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.19" ); 144 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 145 146 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.20" ); 147 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 148 149 150 161 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.21" ); 162 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 163 164 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.22" ); 165 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 166 167 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.23" ); 168 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 169 170 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.24" ); 171 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 172 173 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.25" ); 174 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 175 176 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.26" ); 177 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 178 179 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.27" ); 180 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 181 182 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.28" ); 183 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 184 185 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.29" ); 186 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 187 188 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.30" ); 189 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 190 191 192 203 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.31" ); 204 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 205 206 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.32" ); 207 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 208 209 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.33" ); 210 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 211 212 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.34" ); 213 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 214 215 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.35" ); 216 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 217 218 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.36" ); 219 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 220 221 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.37" ); 222 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 223 224 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.38" ); 225 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 226 227 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.39" ); 228 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 229 230 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.40" ); 231 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 232 233 234 246 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.41" ); 247 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 248 249 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.42" ); 250 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 251 252 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.43" ); 253 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 254 255 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.44" ); 256 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 257 258 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.45" ); 259 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 260 261 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.46" ); 262 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 263 264 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.47" ); 265 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 266 267 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.48" ); 268 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 269 270 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.49" ); 271 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 272 273 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.50" ); 274 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 275 276 277 287 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.51" ); 288 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 289 290 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.52" ); 291 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 292 293 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.53" ); 294 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 295 296 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.54" ); 297 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 298 299 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.55" ); 300 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 301 302 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.56" ); 303 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 304 305 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.57" ); 306 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 307 308 syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.58" ); 309 cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker ); 310 } 311 } 312 | Popular Tags |