@Test
public void testCreateKerberosSecurityWithoutDescriptor() throws Exception {

  Map<String, Object> reuqestMap = new HashMap<>();
  Map<String, Object> security = new HashMap<>();
  security.put(SecurityConfigurationFactory.TYPE_PROPERTY_ID, SecurityType.KERBEROS.toString());
  reuqestMap.put(SecurityConfigurationFactory.SECURITY_PROPERTY_ID, security);
  SecurityConfiguration securityConfiguration = testSubject.createSecurityConfigurationFromRequest(reuqestMap, false);
  assertTrue(securityConfiguration.getType() == SecurityType.KERBEROS);
}