/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/dsreplication/ |
H A D | EnableReplicationUserData.java | 40 private int port; field in class:EnableReplicationUserData.EnableReplicationServerData 70 * Returns the port of this server. 72 * @return the port of this server 76 return port; 80 * Sets the port of this server. 82 * @param port 83 * the port of this server 85 void setPort(int port) argument 87 this.port = port; [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/tasks/ |
H A D | TaskTool.java | 373 * connect to the wrong port and {@code false} otherwise. 375 * @param port the port to which we tried to connect. 377 * connect to the wrong port and {@code false} otherwise. 379 private boolean isWrongPortException(Throwable t, int port) argument 382 boolean isDefaultClearPort = (port - 389) % 1000 == 0;
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/types/ |
H A D | HostPort.java | 39 * This class defines a data structure that combines an address and port number, 89 /** The port for this object. */ 90 private final int port; field in class:HostPort 163 * @param port 164 * The port number for the new {@code HostPort} object. 167 public static HostPort allAddresses(int port) argument 169 return new HostPort(port); 174 * with the supplied port. 176 * @param port 177 * the port t 181 localAddress(int port) argument 193 HostPort(int port) argument 210 HostPort(String host, int port) argument 326 normalizePort(int port) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/args/ |
H A D | LDAPConnectionArgumentParser.java | 335 * @param port 352 public LDAPConnection connect(String host, int port, String bindDN, String bindPw, LDAPConnectionOptions options, argument 355 return connect(host, port, bindDN, bindPw, options, 0, out, err); 363 * @param port 383 public LDAPConnection connect(String host, int port, String bindDN, String bindPw, LDAPConnectionOptions options, argument 388 LDAPConnection connection = new LDAPConnection(host, port, options, out, err);
|
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/utils/ |
H A D | PatchUtil.java | 192 * Test if a process is listening on the specified host/port. 195 * @param port Port to be checked 196 * @return true if a process is accepting connections on the specified host/port, false otherwise. 199 public boolean isSocketListening(String host, int port) throws IOException { argument 202 s = new Socket(host, port);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/configuration/ |
H A D | ServerConfigXML.java | 144 * @param port Port number. 147 public void addHost(String name, String host, String port, String type) argument 158 Integer.parseInt(port); 160 String[] param = {port}; 162 "exception.serverconfig.xml.port.number.no.integer", param); 168 obj.port = port; 218 public String port; field in class:ServerConfigXML.ServerObject 236 port = elm.getAttribute(DSConfigMgr.PORT); 256 .append(port) [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/ |
H A D | AMSetupUtils.java | 98 * Returns the next unused port on a given host. 101 * @param start The starting port number to check, (eg 389). 102 * @param increment The port number increments to check, (eg 1000). 103 * @return The next available port number, or -1 if no available ports found. 115 * Checks whether the given host and port is currently under use. 118 * @param port The port number to check. 121 public static boolean isPortInUse(String hostname, int port) { argument 123 InetSocketAddress socketAddress = new InetSocketAddress(hostname, port); 169 * <li>OpendDJ admin port</l [all...] |
H A D | UserIdRepo.java | 403 private synchronized ConnectionFactory getConnectionFactory(String hostname, int port, Options options) { argument 405 factory = new LDAPConnectionFactory(hostname, port, options);
|
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/ |
H A D | SecurityTokenManagerClient.java | 194 String hostname, String port, String uri) throws Exception { 196 int intPort = Integer.parseInt(port); 193 getServiceEndPoint(String protocol, String hostname, String port, String uri) argument
|
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/ |
H A D | AssertionManagerClient.java | 221 String hostname, String port, String uri) throws Exception { 224 SERVICE_NAME, protocol, hostname, Integer.parseInt(port), uri); 220 getServiceEndPoint(String protocol, String hostname, String port, String uri) argument
|
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/configurator/ |
H A D | NetworkValidator.java | 45 * Checks if port is valid 47 * @param port @param props @param state 51 public ValidationResult isPortValid(String port, Map props, argument 58 if ((port != null) && (port.length() > 0) && (port.length() <= 5)) { 60 portno = Integer.parseInt(port); 63 new Object[] { port }); 76 new Object[] { port }); 79 Debug.log("NetworkValidator : Is port [all...] |
/forgerock/opendj-b2.6/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/opendj-b2.6/src/server/org/opends/server/util/ |
H A D | SetupUtils.java | 388 * Returns {@code true} if the provided port is free and we can use it, 392 * @param port the port we are analyzing. 393 * @return {@code true} if the provided port is free and we can use it, 396 public static boolean canUseAsPort(String hostname, int port) argument 405 socketAddress = new InetSocketAddress(hostname, port); 409 socketAddress = new InetSocketAddress(port); 422 * socket there is already someone listening to the port (is the case 470 * Returns {@code true} if the provided port is free and we can use it, 472 * @param port th 476 canUseAsPort(int port) argument 488 isPriviledgedPort(int port) argument [all...] |
/forgerock/opendj-b2.6/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/opendj-b2.6/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/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/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/opendj-b2.6/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/opendj-b2.6/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/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/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/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.6.2/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.6.2/src/server/org/opends/server/util/ |
H A D | SetupUtils.java | 388 * Returns {@code true} if the provided port is free and we can use it, 392 * @param port the port we are analyzing. 393 * @return {@code true} if the provided port is free and we can use it, 396 public static boolean canUseAsPort(String hostname, int port) argument 405 socketAddress = new InetSocketAddress(hostname, port); 409 socketAddress = new InetSocketAddress(port); 422 * socket there is already someone listening to the port (is the case 470 * Returns {@code true} if the provided port is free and we can use it, 472 * @param port th 476 canUseAsPort(int port) argument 488 isPriviledgedPort(int port) argument [all...] |
/forgerock/opendj2.6.2/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...] |