/forgerock/opendj2.6.2/src/ads/org/opends/admin/ads/util/ |
H A D | ConnectionUtils.java | 464 * Returns the port number used in the provided InitialLdapContext. 466 * @return the port number used in the provided InitialLdapContext. 470 int port = -1; 474 port = ldapURL.getPort(); 479 LOG.log(Level.WARNING, "Error getting port: "+t, t); 481 return port; 485 * Returns the host port representation of the server to which this 488 * @return the host port representation of the server to which this 795 * @param port the LDAP port 799 getLDAPUrl(String host, int port, boolean useSSL) argument [all...] |
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/browser/ |
H A D | LDAPConnectionPool.java | 57 * a new connection for accessing a host:port, it looks in the authentication 58 * pool if any authentication is available for this host:port and, if yes, 180 * If no connection are available for the protocol/host/port 182 * If authentication data available for this protocol/host/port, 322 * If authentication data are already available for the protocol/host/port 511 // Take the base DN out of the URL and only keep the protocol, host and port 591 * @param port the port. 596 public static LDAPURL makeLDAPUrl(String host, int port, String dn, argument 601 port, [all...] |
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/ui/ |
H A D | LocalOrRemotePanel.java | 95 private JTextField port; field in class:LocalOrRemotePanel 151 * Returns the displayed administration port. 152 * @return the displayed administration port. 156 int port = -1; 159 port = new Integer(this.port.getText().trim()); 165 return port; 206 * Sets the displayed administration port. 207 * @param port the displayed administration port 209 setPort(int port) argument [all...] |
/forgerock/opendj2-hg/src/ads/org/opends/admin/ads/util/ |
H A D | ConnectionUtils.java | 463 * Returns the port number used in the provided InitialLdapContext. 465 * @return the port number used in the provided InitialLdapContext. 469 int port = -1; 473 port = ldapURL.getPort(); 478 LOG.log(Level.WARNING, "Error getting port: "+t, t); 480 return port; 484 * Returns the host port representation of the server to which this 487 * @return the host port representation of the server to which this 794 * @param port the LDAP port 798 getLDAPUrl(String host, int port, boolean useSSL) argument [all...] |
/forgerock/opendj2-hg/src/guitools/org/opends/guitools/controlpanel/ui/ |
H A D | LocalOrRemotePanel.java | 94 private JTextField port; field in class:LocalOrRemotePanel 150 * Returns the displayed administration port. 151 * @return the displayed administration port. 155 int port = -1; 158 port = new Integer(this.port.getText().trim()); 164 return port; 205 * Sets the displayed administration port. 206 * @param port the displayed administration port 208 setPort(int port) argument [all...] |
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/ |
H A D | SASLOverTLSTestCase.java | 105 public Socket createSocket(String host, int port) throws IOException, argument 108 return factory.createSocket(host, port); 121 public Socket createSocket(Socket s, String host, int port, argument 124 return factory.createSocket(s, host, port, autoClose); 127 public Socket createSocket(String host, int port, InetAddress localHost, argument 130 return factory.createSocket(host, port, localHost, localPort); 133 public Socket createSocket(InetAddress host, int port) throws IOException argument 135 return factory.createSocket(host, port); 138 public Socket createSocket(InetAddress address, int port, argument 141 return factory.createSocket(address, port, localAddres [all...] |
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ |
H A D | ReplServerFakeConfiguration.java | 47 private int port; field in class:ReplServerFakeConfiguration 81 int port, String dirName, ReplicationDBImplementation dbImpl, int purgeDelay, 84 this.port = port; 124 int port, String dirName, ReplicationDBImplementation dbImpl, int purgeDelay, 128 this(port, dirName, dbImpl, purgeDelay, serverId, queueSize, windowSize, servers); 138 int port, String dirName, ReplicationDBImplementation dbImpl, int purgeDelay, 142 this(port, dirName, dbImpl, purgeDelay, serverId, queueSize, windowSize, 181 return port; 80 ReplServerFakeConfiguration( int port, String dirName, ReplicationDBImplementation dbImpl, int purgeDelay, int serverId, int queueSize, int windowSize, SortedSet<String> servers) argument 123 ReplServerFakeConfiguration( int port, String dirName, ReplicationDBImplementation dbImpl, int purgeDelay, int serverId, int queueSize, int windowSize, SortedSet<String> servers, int groupId, long assuredTimeout, int degradedStatusThreshold) argument 137 ReplServerFakeConfiguration( int port, String dirName, ReplicationDBImplementation dbImpl, int purgeDelay, int serverId, int queueSize, int windowSize, SortedSet<String> servers, int groupId, long assuredTimeout, int degradedStatusThreshold, int weight) argument
|
/forgerock/opendj2-jel-hg/src/ads/org/opends/admin/ads/util/ |
H A D | ConnectionUtils.java | 457 * Returns the port number used in the provided InitialLdapContext. 459 * @return the port number used in the provided InitialLdapContext. 463 int port = -1; 467 port = ldapURL.getPort(); 472 LOG.log(Level.WARNING, "Error getting port: "+t, t); 474 return port; 478 * Returns the host port representation of the server to which this 481 * @return the host port representation of the server to which this 788 * @param port the LDAP port 792 getLDAPUrl(String host, int port, boolean useSSL) argument [all...] |
/forgerock/opendj2-jel-hg/src/guitools/org/opends/guitools/controlpanel/browser/ |
H A D | LDAPConnectionPool.java | 57 * a new connection for accessing a host:port, it looks in the authentication 58 * pool if any authentication is available for this host:port and, if yes, 180 * If no connection are available for the protocol/host/port 182 * If authentication data available for this protocol/host/port, 322 * If authentication data are already available for the protocol/host/port 511 // Take the base DN out of the URL and only keep the protocol, host and port 591 * @param port the port. 596 public static LDAPURL makeLDAPUrl(String host, int port, String dn, argument 601 port, [all...] |
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/ |
H A D | SASLOverTLSTestCase.java | 106 public Socket createSocket(String host, int port) throws IOException, argument 109 return factory.createSocket(host, port); 122 public Socket createSocket(Socket s, String host, int port, argument 125 return factory.createSocket(s, host, port, autoClose); 128 public Socket createSocket(String host, int port, InetAddress localHost, argument 131 return factory.createSocket(host, port, localHost, localPort); 134 public Socket createSocket(InetAddress host, int port) throws IOException argument 136 return factory.createSocket(host, port); 139 public Socket createSocket(InetAddress address, int port, argument 142 return factory.createSocket(address, port, localAddres [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/types/ |
H A D | LDAPURL.java | 49 * of an LDAP URL, including the scheme, host, port, base DN, 74 * The default port value that will be used if none is provided. 107 // The port number for this LDAP URL. 108 private int port; field in class:LDAPURL 142 * @param port The port number for this LDAP URL. 151 public LDAPURL(String scheme, String host, int port, argument 171 if ((port <= 0) || (port > 65535)) 173 this.port 242 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument 1051 setPort(int port) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/types/ |
H A D | LDAPURL.java | 44 * of an LDAP URL, including the scheme, host, port, base DN, 69 * The default port value that will be used if none is provided. 102 // The port number for this LDAP URL. 103 private int port; field in class:LDAPURL 137 * @param port The port number for this LDAP URL. 146 public LDAPURL(String scheme, String host, int port, argument 166 if ((port <= 0) || (port > 65535)) 168 this.port 237 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument 1028 setPort(int port) argument [all...] |
/forgerock/opendj2-jel-hg/src/guitools/org/opends/guitools/controlpanel/ui/ |
H A D | LocalOrRemotePanel.java | 95 private JTextField port; field in class:LocalOrRemotePanel 151 * Returns the displayed administration port. 152 * @return the displayed administration port. 156 int port = -1; 159 port = new Integer(this.port.getText().trim()); 165 return port; 206 * Sets the displayed administration port. 207 * @param port the displayed administration port 209 setPort(int port) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/internal/ |
H A D | AuthContext.java | 205 * Constructor for DPro to provide hostname and port for LDAP 209 int port) throws LoginException { 210 this(LoginContext.LDAP_AUTH_URL + hostname + ":" + port, principal, 208 AuthContext(Principal principal, char[] password, String hostname, int port) argument
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/config/util/ |
H A D | AjaxPage.java | 165 protected Connection getConnection(String host, int port, String bindDN, char[] bindPwd, int timeout, boolean isSSl) argument 175 ConnectionFactory factory = new LDAPConnectionFactory(host, port, ldapOptions);
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ |
H A D | ConnectionUtils.java | 432 * Returns the port number used in the provided InitialLdapContext. 434 * @return the port number used in the provided InitialLdapContext. 438 int port = -1; 442 port = ldapURL.getPort(); 447 logger.warn(LocalizableMessage.raw("Error getting port: "+t, t)); 449 return port; 453 * Returns the host port representation of the server to which this 456 * @return the host port representation of the server to which this 724 * @param port the LDAP port 728 getLDAPUrl(String host, int port, boolean useSSL) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ |
H A D | LocalOrRemotePanel.java | 100 private JTextField port; field in class:LocalOrRemotePanel 143 * Returns the displayed administration port. 144 * @return the displayed administration port. 150 return Integer.valueOf(this.port.getText().trim()); 196 * Sets the displayed administration port. 197 * @param port the displayed administration port. 199 public void setPort(int port) argument 201 this.port.setText(String.valueOf(port)); [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/ |
H A D | UninstallCliHelper.java | 865 int port = uri.getPort(); 867 secureArgsList.portArg.addValue(String.valueOf(port)); 868 ci.setPortNumber(port); 1105 * @param port 1106 * the port to connect. 1124 int port, boolean useSSL, boolean useStartTLS, String bindDn, String pwd, 1129 String ldapUrl = ConnectionUtils.getLDAPUrl(host, port, useSSL); 1189 int port = 389; 1200 port = uri.getPort(); 1206 ctx = createAdministrativeContext(host, port, useSS 1123 createAdministrativeContext(String host, int port, boolean useSSL, boolean useStartTLS, String bindDn, String pwd, int connectTimeout, ApplicationTrustManager trustManager) argument [all...] |
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/shared/resourcename/ |
H A D | BaseURLResourceName.java | 30 * names in <code>canonicalize</code> method like validating port, assigning default port of 31 * 80, if port absent etc. 73 * Specific comparison for URLs, where a wildcard in the host/port should not match any of the path. 80 * @return If a wildcard is in the host/port, separately compares the path/query and scheme/host/port, returning 81 * NO_MATCH if any don't match. Otherwise returns the match of the port/path/query. 109 return noMatch; //subResource of scheme/host/port isn't appropriate 112 if (firstSlash >= 0 && firstSlash < firstColon) { //no port, or : is part of the path 116 if (firstSlash >= 0 && firstSlash > firstColon) { //port, wildcar 421 validatePort(String port) argument [all...] |
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/soap/config/user/ |
H A D | SoapDeploymentConfig.java | 74 will be null, and the customWsdlLocation, and custom port and service QNames set, and when the deployment-wsdl-location 75 is not set to CUSTOM_SOAP_STS_WSDL_FILE_INDICATOR, then the deployment-service-name and deployment-service-port values 114 * @param port the QName of the wsdl portQName 117 public T portQName(QName port) { argument 118 this.portQName = port; 124 * @param port the to-be-exposed portQName in the custom wsdl 127 public T customPortQName(QName port) { argument 128 this.customPortQName = port;
|
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/java/com/sun/identity/diagnostic/plugin/services/common/ |
H A D | ServiceBase.java | 313 String port = prop.getProperty(AM_SERVER_PORT); 317 propURL = protocol + "://" + hostname + ":" + port + uri; 330 String port = (String)mProp.get(AM_SERVER_PORT); 334 propURL = protocol + "://" + hostname + ":" + port + uri; 391 * Method to check if the port is valid 393 * @param port Port of the host 396 protected boolean isValidPort(String port) { argument 399 int n = Integer.parseInt(port); 429 * @param dsPort port at which the directory server is listening 547 * Validates the directory server port an [all...] |
/forgerock/openam-v13/openam-certs/src/main/java/com/sun/identity/security/cert/ |
H A D | AMLDAPCertStoreParameters.java | 49 * @param port 51 public AMLDAPCertStoreParameters(String server, int port) { argument 53 serverPort = port; 77 * Get port number 154 * Set ldap port is secure 161 * Get ldap port is secure
|
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/datastore/ |
H A D | AddAMSDKIdRepoPlugin.java | 262 String port = Integer.toString(dsEntry.port); 263 defaultGroup.addHost(name, host, port, type); 405 return new LDAPConnectionFactory(ds.host, ds.port, options); 411 int port; field in class:AddAMSDKIdRepoPlugin.DSEntry 428 port = 389; 432 port = Integer.parseInt(dshost.substring(portIndex + 1));
|
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/ |
H A D | CreateMetaDataTemplate.java | 101 private String port; field in class:CreateMetaDataTemplate 270 port = "" + url.getDefaultPort(); 272 port = "" + iPort; 286 port = SystemPropertiesManager.get(Constants.AM_SERVER_PORT); 293 port = SystemPropertiesManager.get(Constants.AM_SERVER_PORT); 485 if (port == null) { 487 "create-meta-template-exception-port-not-found"), 565 protocol + "://" + host + ":" + port + deploymentURI); 612 protocol + "://" + host + ":" + port + deploymentURI); 691 protocol + "://" + host + ":" + port [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/common/ |
H A D | SystemConfigurationUtil.java | 201 * @param port The service listening port. 210 int port, 239 (!validate(protocol, hostname, port, uri))) { 256 if ((idx =url.indexOf("%port")) != -1) { 257 url = url.substring(0,idx) + port + 258 url.substring(idx + "%port".length(), url.length()); 282 * @param port The service listening port of the server instance. 291 int port, 206 getServiceURL( String serviceName, String protocol, String hostname, int port, String uri ) argument 288 getServerID( String protocol, String hostname, int port, String uri ) argument 482 validate( String protocol, String host, int port, String uri ) argument [all...] |