locator.setName(name);
//check if profile to be created already exists
if (PsmlManager.getDocument(locator) != null )
throw new EntityExistsException("Profile:"+locator.getPath()+" Already Exists!");
//
// validate that its not an 'blank' profile -- not allowed
//
if (name == null || name.trim().length() == 0)
{