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

(-)SingleSignOn.java (+24 lines)
Lines 114-123 Link Here
114
    protected boolean started = false;
114
    protected boolean started = false;
115
115
116
116
117
    /**
118
     * Optional domain to be used in the sso cookie.
119
     */
120
    private String cookieDomain;
121
117
    // ------------------------------------------------------------- Properties
122
    // ------------------------------------------------------------- Properties
118
123
119
124
120
    /**
125
    /**
126
     * Answers the cookie domain
127
     * @return sso cookie domain or null, if not set
128
     */
129
    public String getCookieDomain() {
130
      return cookieDomain;
131
    }
132
133
    /**
134
     * Sets the domain to be used for sso cookies.
135
     * @param cookieDomain  cookie domain name
136
     */
137
    public void setCookieDomain(String cookieDomain) {
138
      if (cookieDomain != null && cookieDomain.trim().length() == 0) {
139
        cookieDomain = null;
140
      }
141
      this.cookieDomain = cookieDomain;
142
    }
143
144
    /**
121
     * Gets whether each request needs to be reauthenticated (by an
145
     * Gets whether each request needs to be reauthenticated (by an
122
     * Authenticator downstream in the pipeline) to the security
146
     * Authenticator downstream in the pipeline) to the security
123
     * <code>Realm</code>, or if this Valve can itself bind security info
147
     * <code>Realm</code>, or if this Valve can itself bind security info

Return to bug 34724