Lines Matching defs:scheme

35  * for the best currently supported scheme. It can also return a HeaderParser
36 * containing the challenge data for that particular scheme.
41 * Note the realm parameter must be associated with the particular scheme.
66 * -Dhttp.auth.preference="scheme"
68 * which in this case, specifies that "scheme" should be used as the auth scheme when offered
69 * disregarding the default prioritisation. If scheme is not offered then the default priority
74 * scheme with GSS/SPNEGO or GSS/Kerberos mechanism.
76 * This also means that the real "Kerberos" scheme can never be set as a preference.
116 * parse a set of authentication headers and choose the preferred scheme
132 /* we build up a map of scheme names mapped to SchemeMapValue objects */
142 * If multiple entries exist for a particular scheme (unlikely)
144 * preferred scheme that we support will be used.
155 if (hp.findValue(i) == null) { /* found a scheme name */
158 String scheme = hpn.findKey(0);
159 schemes.put (scheme, new SchemeMapValue (hpn, raw));
166 String scheme = hpn.findKey(0);
167 schemes.put (scheme, new SchemeMapValue (hpn, raw));
190 // the Kerberos scheme is only observed in MS ISA Server. In
192 // Since the Kerberos scheme is always accompanied with the
193 // Negotiate scheme, so it seems impossible to reach this
199 // only suggest the Kerberos scheme.
227 * return a header parser containing the preferred authentication scheme (only).
228 * The preferred scheme is the strongest of the schemes proposed by the server.
229 * The returned HeaderParser will contain the relevant parameters for that scheme
236 * return the name of the preferred scheme
238 public String scheme() {
246 /* return the raw header field for the preferred/chosen scheme */
253 * returns true is the header exists and contains a recognised scheme