Home | History | Annotate | Download | only in auth

Lines Matching refs:port

39  * a port number, a realm name and an authentication scheme name which 
61 * The <tt>-1</tt> value represents any port.
76 * Default scope matching any host, port, realm and authentication scheme.
91 /** The port the credentials apply to. */
92 private final int port;
95 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
101 * @param port the port the credentials apply to. May be set
103 * any port.
111 public AuthScope(final String host, int port,
115 this.port = (port < 0) ? ANY_PORT: port;
121 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and any
127 * @param port the port the credentials apply to. May be set
129 * any port.
134 public AuthScope(final String host, int port, final String realm) {
135 this(host, port, realm, ANY_SCHEME);
139 * <tt>host</tt>, <tt>port</tt>, any realm name, and any
145 * @param port the port the credentials apply to. May be set
147 * any port.
149 public AuthScope(final String host, int port) {
150 this(host, port, ANY_REALM, ANY_SCHEME);
162 this.port = authscope.getPort();
175 * @return the port
178 return this.port;
218 if (this.port == that.port) {
221 if (this.port != ANY_PORT && that.port != ANY_PORT) {
252 && this.port == that.port
277 if (this.port >= 0) {
279 buffer.append(this.port);
292 hash = LangUtils.hashCode(hash, this.port);