Attribute administrativeRole = ap.get( "administrativeRole" );
// check that administrativeRole has something valid in it for us
if ( administrativeRole == null || administrativeRole.size() <= 0 )
{
throw new LdapNoSuchAttributeException( "Administration point " + apName
+ " does not contain an administrativeRole attribute! An"
+ " administrativeRole attribute in the administrative point is"
+ " required to add a subordinate subentry." );
}