Home | History | Annotate | Download | only in auth

Lines Matching refs:realm

39  * a port number, a realm name and an authentication scheme name which 
61 * The <tt>null</tt> value represents any realm.
71 * Default scope matching any host, port, realm and authentication scheme.
80 /** The realm the credentials apply to. */
81 private final String realm;
90 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
99 * @param realm the realm the credentials apply to. May be set
101 * any realm.
107 final String realm, final String scheme)
111 this.realm = (realm == null) ? ANY_REALM: realm;
116 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and any
125 * @param realm the realm the credentials apply to. May be set
127 * any realm.
129 public AuthScope(final String host, int port, final String realm) {
130 this(host, port, realm, ANY_SCHEME);
134 * <tt>host</tt>, <tt>port</tt>, any realm name, and any
158 this.realm = authscope.getRealm();
177 * @return the realm name
180 return this.realm;
206 if (LangUtils.equals(this.realm, that.realm)) {
209 if (this.realm != ANY_REALM && that.realm != ANY_REALM) {
248 && LangUtils.equals(this.realm, that.realm)
262 if (this.realm != null) {
264 buffer.append(this.realm);
267 buffer.append("<any realm>");
288 hash = LangUtils.hashCode(hash, this.realm);