| /glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/container/ |
| H A D | SFSBContainerCallback.java | 56 StatefulEJBContext ctx, Object cookie); 55 activateEJB(Object sessionKey, StatefulEJBContext ctx, Object cookie) argument
|
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ |
| H A D | HttpResponse.java | 108 * Special method for adding a session cookie as we should be overriding 110 * @param cookie 112 public void addSessionCookieInternal(final Cookie cookie); argument
|
| H A D | HttpRequest.java | 86 * @param cookie The new cookie 88 public void addCookie(Cookie cookie); argument 191 * request came in through a cookie. This is normally called by the
|
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
| H A D | RequestUtil.java | 84 * Encode a cookie as per RFC 2109. The resulting string can be used 87 * @param cookie The cookie to encode. 90 public static String encodeCookie(Cookie cookie) { argument 92 StringBuilder buf = new StringBuilder( cookie.getName() ); 94 buf.append(cookie.getValue()); 96 if (cookie.getComment() != null) { 98 buf.append(cookie.getComment()); 102 if (cookie.getDomain() != null) { 104 buf.append(cookie [all...] |
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/ |
| H A D | OutputBuffer.java | 690 * Adds a session version cookie to the response if necessary. 697 Cookie cookie = new Cookie( 700 request.configureSessionCookie(cookie); 703 * Have the JSESSIONIDVERSION cookie inherit the 704 * security setting of the JSESSIONID cookie to avoid 708 cookie.setSecure( 712 coyoteResponse.getCookieString(cookie)); 717 * Adds JSESSIONID cookie whose value includes jvmRoute if necessary. 726 // Create JSESSIONID cookie that includes jvmRoute 727 Cookie cookie [all...] |
| H A D | Response.java | 1024 * @param cookie Cookie to be added 1026 public void addCookie(final Cookie cookie) { argument 1041 (sb, cookie.getVersion(), cookie.getName(), 1042 cookie.getValue(), cookie.getPath(), 1043 cookie.getDomain(), cookie.getComment(), 1044 cookie.getMaxAge(), cookie 1075 addSessionCookieInternal(final Cookie cookie) argument 1859 getCookieString(final Cookie cookie) argument [all...] |
| H A D | Request.java | 300 * Was the requested session ID received in a cookie? 315 // The requested session cookie path, see IT 7426 2005 * @param cookie The new cookie 2008 public void addCookie(Cookie cookie) { argument 2015 cookies.add(cookie); 2126 * request came in through a cookie. This is normally called by the 2136 * Sets the requested session cookie path, see IT 7426 2146 * This method, which is called when the session id is sent as a cookie, 2601 * request came from a cookie 2980 configureSessionCookie(Cookie cookie) argument [all...] |
| H A D | ResponseFacade.java | 404 public void addCookie(Cookie cookie) { argument 415 response.addCookie(cookie);
|
| /glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/ |
| H A D | TokenAuthenticationTest.java | 70 ClientResponse response = client.resource(getAddress("/domain")).cookie(new Cookie(GF_REST_TOKEN_COOKIE_NAME, token)).get(ClientResponse.class); 74 response = client.resource(getAddress(URL_DOMAIN_SESSIONS) + "/" + token).cookie(new Cookie(GF_REST_TOKEN_COOKIE_NAME, token)).delete(ClientResponse.class); 109 // Build this request manually so we can pass the cookie 110 response = client.resource(getAddress("/domain")).cookie(new Cookie(GF_REST_TOKEN_COOKIE_NAME, token)).get(ClientResponse.class); 113 // Request again w/o the cookie. This should fail. 136 .cookie(new Cookie(GF_REST_TOKEN_COOKIE_NAME, token))
|
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/authenticator/ |
| H A D | SingleSignOn.java | 131 * keyed by the cookie value that is used to select them. 350 // Check for the single sign on cookie 352 log(" Checking for SSO cookie"); 353 Cookie cookie = null; 359 cookie = cookies[i]; 363 if (cookie == null) { 365 log(" SSO cookie is not present"); 369 // Look up the cached Principal associated with this cookie value 371 log(" Checking for cached principal for " + cookie.getValue()); 372 SingleSignOnEntry entry = lookup(cookie [all...] |
| H A D | SavedRequest.java | 95 public void addCookie(Cookie cookie) { argument 96 cookies.add(cookie);
|
| H A D | AuthenticatorBase.java | 685 * Generate and return a new session identifier for the cookie that 809 * SingleSignOn valve, if there is one. Set the appropriate cookie 854 // Construct a cookie to be returned to the client 870 Cookie cookie = new Cookie(Constants.SINGLE_SIGN_ON_COOKIE, value); 871 cookie.setMaxAge(-1); 872 cookie.setPath("/"); 875 host.configureSingleSignOnCookieSecure(cookie, hreq); 876 host.configureSingleSignOnCookieHttpOnly(cookie); 878 cookie.setSecure(hreq.isSecure()); 880 hres.addCookie(cookie); [all...] |
| /glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/security/web/ |
| H A D | GlassFishSingleSignOn.java | 318 // Check for the single sign on cookie 321 logger.fine(" Checking for SSO cookie"); 327 Cookie cookie = null; 330 cookie = cookies[i]; 334 if (cookie == null) { 337 logger.fine(" SSO cookie is not present"); 387 // Look up the cached Principal associated with this cookie value 391 + cookie.getValue()); 393 SingleSignOnEntry entry = lookup(cookie.getValue()); 405 request.setNote(Constants.REQ_SSOID_NOTE, cookie [all...] |
| /glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/pwc/connector/coyote/ |
| H A D | PwcCoyoteRequest.java | 139 * Configures the given JSESSIONID cookie with the cookie-properties from 142 * @param cookie The JSESSIONID cookie to be configured 144 public void configureSessionCookie(Cookie cookie) { argument 146 super.configureSessionCookie(cookie); 152 cookie.setSecure(true); 154 cookie.setSecure(false); 156 cookie.setSecure(isSecure());
|
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/session/ |
| H A D | CookiePersistentManager.java | 50 * Session manager for cookie-based persistence, where cookies carry session state. 52 * With cookie-based persistence, only session attribute values of type String are supported. 94 for (Cookie cookie : cookies) { 95 if (cookieName.equals(cookie.getName())) { 96 return parseSession(cookie.getValue(), request.getRequestedSessionId());
|
| /glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/ |
| H A D | HASessionStoreValve.java | 112 for (Cookie cookie: cookies) { 113 if (cookie.getName().equalsIgnoreCase(Globals.JREPLICA_COOKIE_NAME)) { 114 oldJreplicaValue = cookie.getValue();
|
| /glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/adapter/ |
| H A D | RestAdapter.java | 213 for (Cookie cookie : cookies) { 214 if ("gfresttoken".equals(cookie.getName())) { 215 restToken = cookie.getValue(); 236 for (Cookie cookie : cookies) { 237 if (cookie.getName().equals("gfrestuid")) { 238 if (cookie.getValue().equals(uid)) {
|
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/ |
| H A D | ApplicationHttpResponse.java | 224 * @param cookie The new cookie 226 public void addCookie(Cookie cookie) { argument 229 ((HttpServletResponse) getResponse()).addCookie(cookie);
|
| H A D | DummyResponse.java | 143 public void addSessionCookieInternal(final Cookie cookie) {} argument 147 public void addCookie(Cookie cookie) {} argument
|
| H A D | StandardHost.java | 906 * Configures the Secure attribute of the given SSO cookie. 908 * @param cookie the SSO cookie to be configured 911 public void configureSingleSignOnCookieSecure(Cookie cookie, argument 913 cookie.setSecure(hreq.isSecure()); 918 * Configures the HttpOnly attribute of the given SSO cookie. 920 * @param cookie the SSO ccokie to be configured 922 public void configureSingleSignOnCookieHttpOnly(Cookie cookie) { argument
|
| /glassfish-3.1.2/security/webintegration/src/main/java/com/sun/web/security/ |
| H A D | HttpResponseWrapper.java | 85 public void addSessionCookieInternal(final Cookie cookie) { argument 86 httpResponse.addSessionCookieInternal(cookie);
|
| H A D | HttpRequestWrapper.java | 78 public void addCookie(Cookie cookie) { argument 79 httpRequest.addCookie(cookie);
|
| /glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/ |
| H A D | CachingResponseWrapper.java | 199 * The default behavior of this method is to call addCookie(Cookie cookie) 202 public void addCookie(Cookie cookie) { argument 203 super.addCookie(cookie); 206 cookies.add(cookie);
|
| /glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/ |
| H A D | RestUtil.java | 722 .cookie(new Cookie(REST_TOKEN_COOKIE, token)) 733 .cookie(new Cookie(REST_TOKEN_COOKIE, token)) 756 .cookie(new Cookie(REST_TOKEN_COOKIE, getRestToken())) 770 .cookie(new Cookie(REST_TOKEN_COOKIE, getRestToken())) 781 .cookie(new Cookie(REST_TOKEN_COOKIE, getRestToken())) 792 .cookie(new Cookie(REST_TOKEN_COOKIE, getRestToken())) 802 .cookie(new Cookie(REST_TOKEN_COOKIE, getRestToken())) 811 .cookie(new Cookie(REST_TOKEN_COOKIE, getRestToken()))
|
| /glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/accesslog/ |
| H A D | DefaultAccessLogFormatterImpl.java | 93 private static final String COOKIE = "cookie"; 95 private static final String COOKIE_VALUE = "cookie.value"; 96 private static final String COOKIE_BY_NAME_PREFIX = "cookie."; 736 * Appends the name and value (separated by '=') of the first cookie 742 String cookie = "NULL-COOKIE"; 745 cookie = cookies[0].getName() + "=" + cookies[0].getValue(); 747 cb.put(cookie); 773 * Appends the value of the first cookie in the given request to the 789 * Appends the value of the first cookie with the given cookie nam [all...] |