View | Details | Raw Unified | Return to bug 49613
Collapse All | Expand All

(-)Request.java (-1 / +5 lines)
Lines 170-175 Link Here
170
     * The attributes associated with this Request, keyed by attribute name.
170
     * The attributes associated with this Request, keyed by attribute name.
171
     */
171
     */
172
    protected HashMap attributes = new HashMap();
172
    protected HashMap attributes = new HashMap();
173
    protected boolean sslAttributesRead = false;
173
174
174
175
175
    /**
176
    /**
Lines 412-417 Link Here
412
        localName = null;
413
        localName = null;
413
414
414
        attributes.clear();
415
        attributes.clear();
416
	sslAttributesRead = false;
415
        notes.clear();
417
        notes.clear();
416
        cookies = null;
418
        cookies = null;
417
419
Lines 912-917 Link Here
912
                attributes.put(Globals.SSL_SESSION_ID_ATTR, attr);
914
                attributes.put(Globals.SSL_SESSION_ID_ATTR, attr);
913
            }
915
            }
914
            attr = attributes.get(name);
916
            attr = attributes.get(name);
917
918
	    sslAttributesRead = true;
915
        }
919
        }
916
        return attr;
920
        return attr;
917
    }
921
    }
Lines 955-961 Link Here
955
     * attributes and may also support additional attributes.
959
     * attributes and may also support additional attributes.
956
     */
960
     */
957
    public Enumeration getAttributeNames() {
961
    public Enumeration getAttributeNames() {
958
        if (isSecure()) {
962
        if (isSecure() && !sslAttributesRead) {
959
            getAttribute(Globals.CERTIFICATES_ATTR);
963
            getAttribute(Globals.CERTIFICATES_ATTR);
960
        }
964
        }
961
        return new Enumerator(attributes.keySet(), true);
965
        return new Enumerator(attributes.keySet(), true);

Return to bug 49613