Examples of NumericOid


Examples of org.jitterbit.integration.ldap.structure.NumericOid

        String server = args[0];
        Port port = (args.length > 1) ? getPort(args[1]) : null;
        String user = (args.length > 2) ? args[2] : null;
        String password = (args.length > 3) ? args[3] : null;
        // String[] classes = { "top", "person", "organizationalPerson", "user" };
        NumericOid[] classes = { new NumericOid("2.5.6.0"), // top
                        new NumericOid("2.5.6.6"), // person
                        new NumericOid("2.5.6.7"), // organizationalPerson
                        new NumericOid("1.2.840.113556.1.5.9") // user
        };
        new ClassStructureRetrieverTest(server, port, user, password, LdapSecurityLevel.SECURE).getStructures(classes);
    }
View Full Code Here

Examples of org.jitterbit.integration.ldap.structure.NumericOid

        }
    }

    private static NumericOid getNumericOid(Attributes attrs) throws NamingException {
        String oid = JndiUtils.getSingleStringAttributeValue(attrs, "NUMERICOID", null);
        return new NumericOid(oid);
    }
View Full Code Here

Examples of org.jitterbit.integration.ldap.structure.NumericOid

            insertRequiredAttributes(attrs, builder);
            insertOptionalAttributes(attrs, builder);
        }
       
        private void checkSuperClass(Attributes attrs, ObjectClassStructureBuilder parent) throws NamingException {
            NumericOid supClass = lookupSuperClassOid(attrs);
            if (supClass != null) {
                ObjectClassStructure struct = getStructure(supClass);
                copyAttributes(struct, parent);
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.ldap.structure.NumericOid

                String obsolete = JndiUtils.getSingleStringAttributeValue(attrs, "OBSOLETE", "false");
                if ("true".equals(obsolete)) {
                    return null;
                }
            }
            NumericOid oid = getNumericOid(attrs);
            builder.setOid(oid);
            builder.setName(name);
            builder.setUse(required ? AttributeUse.REQUIRED : AttributeUse.OPTIONAL);
            checkSuperClass(attrs);
            builder.setDescription(JndiUtils.getSingleStringAttributeValue(attrs, "DESC", null));
View Full Code Here

Examples of org.jitterbit.integration.ldap.structure.NumericOid

        public ClassDefinitionImpl(String oid,
                                   String name,
                                   ObjectClassType type,
                                   String desc,
                                   boolean isObsolete) {
            this.oid = new NumericOid(oid);
            this.name = name;
            description = desc;
            this.type = type;
            this.isObsolete = isObsolete;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.