Class SchemaViewer


  • public final class SchemaViewer
    extends java.lang.Object
    A simple utility to list LDAP directory schema.

    SchemaViewer takes the following flags:

    • -h,--help< Print this help message
    • -l,--url <arg> Ldap url of directory to bind to (defaults to ldap://127.0.0.1:389)
    • -u,--username <arg> DN to bind with (defaults to "")
    • -p,--password <arg> Password to bind with (defaults to "")
    • -o,--objectclass <arg> Object class name or ? for all. Print object class schema
    • -a,--attribute <arg> Attribute name or ? for all. Print attribute schema
    • -s,--syntax <arg> Syntax or ? for all. Print syntax
    Only one of -a, -o and -s should be specified.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] argv)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)