// no annotation - no configuration
if (ccAnno == null)
throw new ConfigurationException("The configuration class must be annotated with @ConfigClass");
// get common name
if (ccAnno.commonName().equals("") || ccAnno.objectClass().equals(""))
throw new ConfigurationException("To use LDAP config, specify common name and objectClass for the config class in @ConfigClass annotation");
commonName = ccAnno.commonName();
}