Lines Matching refs:realm
39 * a port number, a realm name and an authentication scheme name which
66 * The <tt>null</tt> value represents any realm.
76 * Default scope matching any host, port, realm and authentication scheme.
85 /** The realm the credentials apply to. */
86 private final String realm;
95 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
104 * @param realm the realm the credentials apply to. May be set
106 * any realm.
112 final String realm, final String scheme)
116 this.realm = (realm == null) ? ANY_REALM: realm;
121 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and any
130 * @param realm the realm the credentials apply to. May be set
132 * any realm.
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
163 this.realm = authscope.getRealm();
182 * @return the realm name
185 return this.realm;
211 if (LangUtils.equals(this.realm, that.realm)) {
214 if (this.realm != ANY_REALM && that.realm != ANY_REALM) {
253 && LangUtils.equals(this.realm, that.realm)
267 if (this.realm != null) {
269 buffer.append(this.realm);
272 buffer.append("<any realm>");
293 hash = LangUtils.hashCode(hash, this.realm);