org.springframework.ldap.odm.tools
Class SchemaViewer
java.lang.Object
org.springframework.ldap.odm.tools.SchemaViewer
public final class SchemaViewer
- extends 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.
- Author:
- Paul Harvey <paul.at.pauls-place.me.uk>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaViewer
public SchemaViewer()
main
public static void main(String[] argv)