public static boolean isDynamicProfile(String realm){
  String profileAttribute=getProfileAttribute(realm);
  return DYNAMIC_PROFILE.equalsIgnoreCase(profileAttribute) || CREATE_ALIAS_PROFILE.equalsIgnoreCase(profileAttribute);
}

public static boolean isDynamicProfile ( String realm ) { String profileAttribute = getProfileAttribute ( realm ) ; return DYNAMIC_PROFILE . equalsIgnoreCase ( profileAttribute ) || CREATE_ALIAS_PROFILE . equalsIgnoreCase ( profileAttribute ) ; }
checks if dynamic profile creation is enabled .
