if (securityConfiguration == null)
if (securityConfiguration != null)
   public String registerDestination(boolean isQueue, String name, String jndiName,                                     Element securityConfiguration) throws JMSException   {      jndiName = destinationJNDIMapper.registerDestination(isQueue, name, jndiName);      if (securityConfiguration == null)      {         // relying on the server's default         securityConfiguration = getDefaultSecurityConfig();      }      sm.setSecurityConfig(name, securityConfiguration);      return jndiName;   }