Searched refs:configName (Results 1 - 25 of 46) sorted by relevance

12

/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DConfigTest.java53 final String configName= "test-config-"+generateRandomString();
56 setFieldValue("propertyForm:propertySheet:propertSectionTextField:NameProp:Name", configName);
58 assertTrue(isTextPresent(configName));
60 deleteRow("propertyForm:configs:topActionsGroup1:button1", "propertyForm:configs", configName);
H A DMsgSecurityTest.java67 final String configName= "Config-" + generateRandomString();
71 copyConfig("default-config", configName);
72 createMsgSecurityConfig(configName, layer, providerName, "client", false ,propertyName);
83 String cp = getTableRowByValue("propertyForm:configs", configName, "col1");
84 deleteRow("propertyForm:configs:topActionsGroup1:button1", "propertyForm:configs", configName);
91 final String configName= "Config-" + generateRandomString();
95 copyConfig("default-config", configName);
96 createMsgSecurityConfig(configName, layer, providerName, "server", true, propertyName);
104 assertEquals(configName, getText("propertyForm:propertySheet:configNameSheet:configName
224 createMsgSecurityConfig(String configName, String layer, String providerName, String type, boolean isDefault, String propertyName) argument
[all...]
H A DSecurityTest.java85 for (String configName : list) {
86 clickAndWait("treeForm:tree:configurations:" + configName + ":jvmSettings:jvmSettings_link", JVM_CONFIG);
105 for (String configName : list) {
106 createRealm(configName, realmName, contextName);
117 for (String configName : list) {
118 addUserToRealm(configName, "file", userId, password);
130 for (String configName : list) {
131 clickAndWait("treeForm:tree:configurations:" + configName + ":security:auditModules:auditModules_link", TRIGGER_AUDIT_MODULES);
163 for (String configName : list) {
164 clickAndWait("treeForm:tree:configurations:" + configName
284 createConfig(String configName) argument
294 createRealm(String configName, String realmName, String contextName) argument
305 addUserToRealm(String configName, String realmName, String userName, String password) argument
321 deleteUserFromRealm(String configName, String realmName, String userName) argument
[all...]
H A DNetworkConfigTest.java64 for (String configName : list) {
65 clickAndWait("treeForm:tree:configurations:" + configName + ":networkConfig:networkListeners:networkListeners_link", TRIGGER_NETWORK_LISTENERS);
86 public void createConfig(String configName) { argument
90 setFieldValue("propertyForm:propertySheet:propertSectionTextField:NameProp:Name", configName);
92 assertTrue(isTextPresent(configName));
100 for (String configName : list) {
101 clickAndWait("treeForm:tree:configurations:" + configName + ":networkConfig:transports:transports_link", TRIGGER_TRANSPORTS);
136 for (String configName : list) {
137 clickAndWait("treeForm:tree:configurations:" + configName +":networkConfig:protocols:protocols_link", TRIGGER_PROTOCOLS);
H A DJvmSettingsTest.java134 String configName = instanceName+"-config";
141 clickAndWait(getLinkIdByLinkText(st.ID_INSTANCE_TABLE, configName), TRIGGER_CONFIG_PAGE );
/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/
H A DConfigTest.java59 String configName = "config-" + generateRandomString();
62 formData.add("id", configName);
63 createAndVerifyConfig(configName, formData);
64 deleteAndVerifyConfig(configName);
69 String configName = "config-" + generateRandomString();
78 public void createAndVerifyConfig(String configName, MultivaluedMap configData) { argument
82 response = get(BASE_CONFIGS_URL + "/config/" + configName);
86 public void deleteAndVerifyConfig(String configName) { argument
87 ClientResponse response = post(BASE_CONFIGS_URL + "/config/" + configName + "/delete-config");
90 response = get(BASE_CONFIGS_URL + "/config/" + configName);
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/security/common/
H A DCipherInfo.java49 * It also maintains a HashMap from configName to CipherInfo.
76 private String configName; field in class:CipherInfo
101 * @param configName name used in domain.xml, sun-acc.xml
105 private CipherInfo(String configName, String cipherName, argument
107 this.configName = configName;
112 public static CipherInfo getCipherInfo(String configName) { argument
113 return (CipherInfo)ciphers.get(configName);
117 return configName;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/
H A DRealmsManager.java116 public boolean isValidRealm(String configName, String name){ argument
120 return configContainsRealm(name, configName);
132 Realm _getInstance(String configName, String name) { argument
134 retval = configGetRealmInstance(configName, name);
144 retval = configGetRealmInstance(configName,getDefaultRealmName());
170 public Realm getFromLoadedRealms(String configName, String realmName) { argument
171 return configGetRealmInstance(configName,realmName);
287 private boolean configContainsRealm(String name, String configName) { argument
288 Hashtable<String, Realm> containedRealms = loadedRealms.get(configName);
292 private Enumeration<String> getRealmNames(String configName) { argument
297 configGetRealmInstance(String configName, String realm) argument
302 removeFromLoadedRealms(String configName, String realmName) argument
307 putIntoLoadedRealms(String configName, String realmName, Realm realm) argument
319 refreshRealm(String configName, String realmName) argument
[all...]
H A DRealm.java211 * @param configName the config to which this realm belongs
218 Properties props, String configName)
224 Realm realmClass = _getInstance(configName, name);
228 mgr.putIntoLoadedRealms(configName, name, realmClass);
403 protected static synchronized void updateInstance(String configName, Realm realm, String name) { argument
409 Realm oldRealm = mgr.getFromLoadedRealms(configName, name);
416 mgr.putIntoLoadedRealms(configName, name, realm);
489 public static synchronized void unloadInstance(String configName, String realmName) throws NoSuchRealmException { argument
491 //getInstance(configName, realmName);
494 mgr.removeFromLoadedRealms(configName, realmNam
217 instantiate(String name, String className, Properties props, String configName) argument
587 getInstance(String configName, String name) argument
624 _getInstance(String configName, String name) argument
729 isValidRealm(String configName, String name) argument
843 refresh(String configName) argument
[all...]
H A DRealmConfig.java63 public static void createRealms(String defaultRealm, List<AuthRealm> realms, String configName) { argument
82 Realm.instantiate(realmName, realmClass, props, configName);
/glassfish-3.1.2/admin/config-api/src/test/java/org/glassfish/config/support/
H A DDomainXmlPreParserTest.java105 String configName = pp.getConfigName();
110 assertEquals(configName, "i1-config");
119 String configName = pp.getConfigName();
125 assertEquals(configName, "i1-config");
134 String configName = pp.getConfigName();
140 assertEquals(configName, "i2-config");
149 String configName = pp.getConfigName();
154 assertEquals(configName, "c1-config");
163 String configName = pp.getConfigName();
169 assertEquals(configName, "c
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DReferencesTest.java126 final String configName = serverName + "-config";
128 final ConfigConfig config = setup.createConfig(configName);
133 setup.createServer(serverName, basePort, nodeAgentName, configName);
150 setup.removeConfig(configName);
H A DStandaloneServerConfigTest.java110 final String configName = serverName + "-config";
114 setup.removeConfig(configName);
116 final ConfigConfig config = setup.createConfig(configName);
117 assert (configName.equals(config.getName()));
H A DConfigSetup.java112 final String configName) {
119 name, nodeAgentName, configName, options);
108 createServer( final String name, int basePort, final String nodeAgentName, final String configName) argument
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DSecurityHandler.java355 @HandlerInput(name="configName", type=String.class, required=true),
363 String configName = (String) handlerCtx.getInputValue("configName");
374 + configName + "/synchronize-realm-from-config";
376 attrs.put("id", configName);
379 String endpoint = GuiUtil.getSessionValue("REST_URL") + "/configs/config/" + configName + "/security-service/auth-realm/" + realmName ;
381 endpoint = endpoint + "/create-user?target=" + configName;
383 endpoint = endpoint + "/update-user?target=" + configName;
391 attrs.put("target", configName);
415 @HandlerInput(name="configName", typ
518 getGroupNames(String realmName, String userName, String configName, HandlerContext handlerCtx) argument
[all...]
H A DWebAppHandlers.java183 @HandlerInput(name="configName", type=String.class, required=true)
189 String configName = (String) handlerCtx.getInputValue("configName");
190 String endpoint = GuiUtil.getSessionValue("REST_URL") + "/configs/config/" + configName + "/network-config/protocols/protocol";
208 @HandlerInput(name="configName", type=String.class, required=true)
214 String configName = (String) handlerCtx.getInputValue("configName");
215 String endpoint = GuiUtil.getSessionValue("REST_URL") + "/configs/config/" + configName + "/network-config/network-listeners/network-listener";
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/util/
H A DServerPorts.java84 String configName = theServer.getConfigRef();
86 if (StringUtils.ok(configName))
87 config = domain.getConfigNamed(configName);
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/
H A DCreateHTTPLBRefCommand.java279 public void createLBRef(String target, String configName) { argument
284 addClusterToLbConfig(configName, target);
286 "Added cluster {0} to load balancer {1}", target, configName));
291 addServerToLBConfig(configName, target);
293 "Added server {0} to load balancer {1}", target, configName));
303 private void addServerToLBConfig(final String configName, final String serverName) { argument
304 LbConfig lbConfig = lbconfigs.getLbConfig(configName);
345 private void addClusterToLbConfig(final String configName, final String clusterName) { argument
346 LbConfig lbConfig = lbconfigs.getLbConfig(configName);
H A DDeleteHTTPLBRefCommand.java171 private void deleteServerFromLBConfig(String configName,String serverName) { argument
172 LbConfig lbConfig = lbconfigs.getLbConfig(configName);
233 private void deleteClusterFromLBConfig(String configName, String clusterName) { argument
234 LbConfig lbConfig = lbconfigs.getLbConfig(configName);
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DCopyConfig.java113 final String configName = destConfigName;
114 destCopy.setName(configName);
125 configName);
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DCopyConfigCommand.java117 final String configName = destConfig ;
123 return copyConfig(configs,config,configName,logger);
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/ssl/
H A DSSLClientConfigurator.java533 * It also maintains a Map from configName to CipherInfo.
561 private final String configName; field in class:SSLClientConfigurator.CipherInfo
576 * @param configName name used in domain.xml, sun-acc.xml
580 private CipherInfo(final String configName, argument
583 this.configName = configName;
596 public static CipherInfo getCipherInfo(final String configName) { argument
597 return ciphers.get(configName);
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DRepositoryConfig.java86 * configName) e.g.
125 String configName) {
129 _configurationName = configName;
124 RepositoryConfig(String repositoryName, String repositoryRoot, String instanceName, String configName) argument
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DGetHostAndPortCommand.java108 String configName = null;
111 configName = server.getConfigRef();
117 configName = cluster.getConfigRef();
120 Config config = configs.getConfigByName(configName);
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DDeepCopyTest.java74 String configName = config.getName();
95 Assert.assertEquals(config.getName(), configName);
114 String configName = config.getName();

Completed in 76 milliseconds

12