1 17 package org.apache.ldap.server.schema.bootstrap; 18 19 20 import org.apache.ldap.server.schema.SyntaxCheckerRegistry; 21 22 import javax.naming.NamingException ; 23 24 25 97 public class SystemSyntaxProducer extends AbstractBootstrapProducer 98 { 99 public SystemSyntaxProducer() 100 { 101 super( ProducerTypeEnum.SYNTAX_PRODUCER ); 102 } 103 104 105 109 110 public void produce( BootstrapRegistries registries, ProducerCallback cb ) 111 throws NamingException 112 { 113 BootstrapSyntax syntax; 114 SyntaxCheckerRegistry syntaxCheckerRegistry = registries.getSyntaxCheckerRegistry(); 115 116 119 120 134 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.1", syntaxCheckerRegistry ); 135 syntax.setNames( new String [] { "ACI Item" } ); 136 syntax.setHumanReadible( false ); 137 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 138 139 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.2", syntaxCheckerRegistry ); 140 syntax.setNames( new String [] { "Access Point" } ); 141 syntax.setHumanReadible( true ); 142 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 143 144 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.3", syntaxCheckerRegistry ); 145 syntax.setNames( new String [] { "Attribute Type Description" } ); 146 syntax.setHumanReadible( true ); 147 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 148 149 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.4", syntaxCheckerRegistry ); 150 syntax.setNames( new String [] { "Audio" } ); 151 syntax.setHumanReadible( false ); 152 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 153 154 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.5", syntaxCheckerRegistry ); 155 syntax.setNames( new String [] { "Binary" } ); 156 syntax.setHumanReadible( false ); 157 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 158 159 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.6", syntaxCheckerRegistry ); 160 syntax.setNames( new String [] { "Bit String" } ); 161 syntax.setHumanReadible( true ); 162 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 163 164 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.7", syntaxCheckerRegistry ); 165 syntax.setNames( new String [] { "Boolean" } ); 166 syntax.setHumanReadible( true ); 167 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 168 169 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.8", syntaxCheckerRegistry ); 170 syntax.setNames( new String [] { "Certificate" } ); 171 syntax.setHumanReadible( false ); 172 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 173 174 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.9", syntaxCheckerRegistry ); 175 syntax.setNames( new String [] { "Certificate List" } ); 176 syntax.setHumanReadible( false ); 177 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 178 179 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.10", syntaxCheckerRegistry ); 180 syntax.setNames( new String [] { "Certificate Pair" } ); 181 syntax.setHumanReadible( false ); 182 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 183 184 198 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.11", syntaxCheckerRegistry ); 199 syntax.setNames( new String [] { "Country String" } ); 200 syntax.setHumanReadible( true ); 201 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 202 203 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.12", syntaxCheckerRegistry ); 204 syntax.setNames( new String [] { "DN" } ); 205 syntax.setHumanReadible( true ); 206 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 207 208 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.13", syntaxCheckerRegistry ); 209 syntax.setNames( new String [] { "Data Quality Syntax" } ); 210 syntax.setHumanReadible( true ); 211 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 212 213 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.14", syntaxCheckerRegistry ); 214 syntax.setNames( new String [] { "Delivery Method" } ); 215 syntax.setHumanReadible( true ); 216 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 217 218 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.15", syntaxCheckerRegistry ); 219 syntax.setNames( new String [] { "Directory String" } ); 220 syntax.setHumanReadible( true ); 221 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 222 223 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.16", syntaxCheckerRegistry ); 224 syntax.setNames( new String [] { "DIT Content Rule Description" } ); 225 syntax.setHumanReadible( true ); 226 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 227 228 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.17", syntaxCheckerRegistry ); 229 syntax.setNames( new String [] { "DIT Structure Rule Description" } ); 230 syntax.setHumanReadible( true ); 231 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 232 233 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.18", syntaxCheckerRegistry ); 234 syntax.setNames( new String [] { "DL Submit Permission" } ); 235 syntax.setHumanReadible( true ); 236 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 237 238 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.19", syntaxCheckerRegistry ); 239 syntax.setNames( new String [] { "DSA Quality Syntax" } ); 240 syntax.setHumanReadible( true ); 241 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 242 243 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.20", syntaxCheckerRegistry ); 244 syntax.setNames( new String [] { "DSE Type" } ); 245 syntax.setHumanReadible( true ); 246 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 247 248 262 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.21", syntaxCheckerRegistry ); 263 syntax.setNames( new String [] { "Enhanced Guide" } ); 264 syntax.setHumanReadible( true ); 265 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 266 267 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.22", syntaxCheckerRegistry ); 268 syntax.setNames( new String [] { "Facsimile Telephone Number" } ); 269 syntax.setHumanReadible( true ); 270 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 271 272 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.23", syntaxCheckerRegistry ); 273 syntax.setNames( new String [] { "Fax" } ); 274 syntax.setHumanReadible( false ); 275 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 276 277 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.24", syntaxCheckerRegistry ); 278 syntax.setNames( new String [] { "Generalized Time" } ); 279 syntax.setHumanReadible( true ); 280 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 281 282 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.25", syntaxCheckerRegistry ); 283 syntax.setNames( new String [] { "Guide" } ); 284 syntax.setHumanReadible( true ); 285 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 286 287 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.26", syntaxCheckerRegistry ); 288 syntax.setNames( new String [] { "IA5 String" } ); 289 syntax.setHumanReadible( true ); 290 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 291 292 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.27", syntaxCheckerRegistry ); 293 syntax.setNames( new String [] { "INTEGER" } ); 294 syntax.setHumanReadible( true ); 295 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 296 297 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.28", syntaxCheckerRegistry ); 298 syntax.setNames( new String [] { "JPEG" } ); 299 syntax.setHumanReadible( false ); 300 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 301 302 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.29", syntaxCheckerRegistry ); 303 syntax.setNames( new String [] { "Master And Shadow Access Points" } ); 304 syntax.setHumanReadible( true ); 305 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 306 307 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.30", syntaxCheckerRegistry ); 308 syntax.setNames( new String [] { "Matching Rule Description" } ); 309 syntax.setHumanReadible( true ); 310 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 311 312 326 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.31", syntaxCheckerRegistry ); 327 syntax.setNames( new String [] { "Matching Rule Use Description" } ); 328 syntax.setHumanReadible( true ); 329 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 330 331 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.32", syntaxCheckerRegistry ); 332 syntax.setNames( new String [] { "Mail Preference" } ); 333 syntax.setHumanReadible( true ); 334 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 335 336 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.33", syntaxCheckerRegistry ); 337 syntax.setNames( new String [] { "MHS OR Address" } ); 338 syntax.setHumanReadible( true ); 339 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 340 341 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.34", syntaxCheckerRegistry ); 342 syntax.setNames( new String [] { "Name And Optional UID" } ); 343 syntax.setHumanReadible( true ); 344 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 345 346 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.35", syntaxCheckerRegistry ); 347 syntax.setNames( new String [] { "Name Form Description" } ); 348 syntax.setHumanReadible( true ); 349 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 350 351 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.36", syntaxCheckerRegistry ); 352 syntax.setNames( new String [] { "Numeric String" } ); 353 syntax.setHumanReadible( true ); 354 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 355 356 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.37", syntaxCheckerRegistry ); 357 syntax.setNames( new String [] { "Object Class Description" } ); 358 syntax.setHumanReadible( true ); 359 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 360 361 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.38", syntaxCheckerRegistry ); 362 syntax.setNames( new String [] { "OID" } ); 363 syntax.setHumanReadible( true ); 364 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 365 366 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.39", syntaxCheckerRegistry ); 367 syntax.setNames( new String [] { "Other Mailbox" } ); 368 syntax.setHumanReadible( true ); 369 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 370 371 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.40", syntaxCheckerRegistry ); 372 syntax.setNames( new String [] { "Octet String" } ); 373 syntax.setHumanReadible( true ); 374 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 375 376 390 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.41", syntaxCheckerRegistry ); 391 syntax.setNames( new String [] { "Postal Address" } ); 392 syntax.setHumanReadible( true ); 393 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 394 395 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.42", syntaxCheckerRegistry ); 396 syntax.setNames( new String [] { "Protocol Information" } ); 397 syntax.setHumanReadible( true ); 398 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 399 400 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.43", syntaxCheckerRegistry ); 401 syntax.setNames( new String [] { "Presentation Address" } ); 402 syntax.setHumanReadible( true ); 403 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 404 405 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.44", syntaxCheckerRegistry ); 406 syntax.setNames( new String [] { "Printable String" } ); 407 syntax.setHumanReadible( true ); 408 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 409 410 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.45", syntaxCheckerRegistry ); 411 syntax.setNames( new String [] { "Subtree Specification" } ); 412 syntax.setHumanReadible( true ); 413 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 414 415 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.46", syntaxCheckerRegistry ); 416 syntax.setNames( new String [] { "Supplier Information" } ); 417 syntax.setHumanReadible( true ); 418 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 419 420 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.47", syntaxCheckerRegistry ); 421 syntax.setNames( new String [] { "Supplier Or Consumer" } ); 422 syntax.setHumanReadible( true ); 423 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 424 425 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.48", syntaxCheckerRegistry ); 426 syntax.setNames( new String [] { "Supplier And Consumer" } ); 427 syntax.setHumanReadible( true ); 428 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 429 430 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.49", syntaxCheckerRegistry ); 431 syntax.setNames( new String [] { "Supported Algorithm" } ); 432 syntax.setHumanReadible( false ); 433 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 434 435 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.50", syntaxCheckerRegistry ); 436 syntax.setNames( new String [] { "Telephone Number" } ); 437 syntax.setHumanReadible( true ); 438 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 439 440 452 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.51", syntaxCheckerRegistry ); 453 syntax.setNames( new String [] { "Teletex Terminal Identifier" } ); 454 syntax.setHumanReadible( true ); 455 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 456 457 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.52", syntaxCheckerRegistry ); 458 syntax.setNames( new String [] { "Telex Number" } ); 459 syntax.setHumanReadible( true ); 460 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 461 462 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.53", syntaxCheckerRegistry ); 463 syntax.setNames( new String [] { "UTC Time" } ); 464 syntax.setHumanReadible( true ); 465 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 466 467 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.54", syntaxCheckerRegistry ); 468 syntax.setNames( new String [] { "LDAP Syntax Description" } ); 469 syntax.setHumanReadible( true ); 470 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 471 472 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.55", syntaxCheckerRegistry ); 473 syntax.setNames( new String [] { "Modify Rights" } ); 474 syntax.setHumanReadible( true ); 475 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 476 477 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.56", syntaxCheckerRegistry ); 478 syntax.setNames( new String [] { "LDAP BootstrapSchema Definition" } ); 479 syntax.setHumanReadible( true ); 480 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 481 482 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.57", syntaxCheckerRegistry ); 483 syntax.setNames( new String [] { "LDAP BootstrapSchema Description" } ); 484 syntax.setHumanReadible( true ); 485 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 486 487 syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.58", syntaxCheckerRegistry ); 488 syntax.setNames( new String [] { "Substring Assertion" } ); 489 syntax.setHumanReadible( true ); 490 cb.schemaObjectProduced( this, syntax.getOid(), syntax ); 491 } 492 } 493 | Popular Tags |