@Test public void testGetPrincipalPasswordMapStatic() throws Exception { ConcurrentMap<String, Object> sharedMap = new ConcurrentHashMap<String, Object>(); Assert.assertNotNull(KerberosServerAction.getPrincipalPasswordMap(sharedMap)); }
protected static Map<String, String> getPrincipalPasswordMap(Map<String, Object> requestSharedDataContext) { if (requestSharedDataContext == null) { return null; } else { Object map = requestSharedDataContext.get(PRINCIPAL_PASSWORD_MAP); if (map == null) { map = new HashMap<String, String>(); requestSharedDataContext.put(PRINCIPAL_PASSWORD_MAP, map); } return (Map<String, String>) map; } }
KerberosServerAction extends AbstractServerAction { protected static Map<String, String> getPrincipalPasswordMap(Map<String, Object> requestSharedDataContext) { if (requestSharedDataContext == null) { return null; } else { Object map = requestSharedDataContext.get(PRINCIPAL_PASSWORD_MAP); if (map == null) { map = new HashMap<String, String>(); requestSharedDataContext.put(PRINCIPAL_PASSWORD_MAP, map); } return (Map<String, String>) map; } } }
KerberosServerAction extends AbstractServerAction { protected static Map<String, String> getPrincipalPasswordMap(Map<String, Object> requestSharedDataContext) { if (requestSharedDataContext == null) { return null; } else { Object map = requestSharedDataContext.get(PRINCIPAL_PASSWORD_MAP); if (map == null) { map = new HashMap<String, String>(); requestSharedDataContext.put(PRINCIPAL_PASSWORD_MAP, map); } return (Map<String, String>) map; } }  }
KerberosServerAction extends AbstractServerAction { protected static Map<String, String> getPrincipalPasswordMap(Map<String, Object> requestSharedDataContext) { if (requestSharedDataContext == null) { return null; } else { Object map = requestSharedDataContext.get(PRINCIPAL_PASSWORD_MAP); if (map == null) { map = new HashMap<String, String>(); requestSharedDataContext.put(PRINCIPAL_PASSWORD_MAP, map); } return (Map<String, String>) map; } }   }
KerberosServerAction extends AbstractServerAction { protected static Map<String, String> getPrincipalPasswordMap(Map<String, Object> requestSharedDataContext) { if (requestSharedDataContext == null) { return null; } else { Object map = requestSharedDataContext.get(PRINCIPAL_PASSWORD_MAP); if (map == null) { map = new HashMap<String, String>(); requestSharedDataContext.put(PRINCIPAL_PASSWORD_MAP, map); } return (Map<String, String>) map; } }   static final String AUTHENTICATED_USER_NAME; static final String DATA_DIRECTORY; static final String DEFAULT_REALM; static final String SERVICE_COMPONENT_FILTER; static final String HOST_FILTER; static final String IDENTITY_FILTER; static final String KDC_TYPE; static final String UPDATE_CONFIGURATIONS; static final String UPDATE_CONFIGURATION_NOTE; static final String DATA_DIRECTORY_PREFIX; static final String KEYTAB_CONTENT_BASE64; static final String REGENERATE_ALL; static final String INCLUDE_AMBARI_IDENTITY; }