Searched refs:headers (Results 26 - 50 of 224) sorted by relevance

123456789

/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/services/global/
H A DServicesService.js36 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
46 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
56 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
66 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
77 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
90 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
103 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
111 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
122 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
132 headers
[all...]
H A DSessionsService.jsm32 headers: { "Accept-API-Version": "protocol=1.0,resource=2.0" }
40 headers: { "Accept-API-Version": "protocol=1.0,resource=2.0" },
H A DAuthenticationService.js39 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
46 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
60 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
66 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
78 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
H A DSitesService.js35 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
46 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
56 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
64 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
74 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
81 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0", "If-Match": etag },
88 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0", "If-Match": etag },
/forgerock/openam-v13/openam-http-client/src/test/java/org/forgerock/http/client/response/
H A DSimpleHttpClientResponseTest.java33 Map<String,String> headers = new HashMap<String, String>();
34 headers.put("key", "value");
38 HttpClientResponse response = new SimpleHttpClientResponse(statusCode, reasonPhrase, headers, messageBody,
44 assertSame(response.getHeaders(), headers, "Response headers should match set headers");
46 assertTrue(response.hasHeaders(), "Response should have headers");
/forgerock/openam-v13/openam-rest/src/main/java/com/sun/identity/rest/
H A DResourceBase.java93 HttpHeaders headers,
99 e.getLocalizedMessage(getUserLocale(headers)));
103 .entity(getLocalizedMessage(headers, 400))
109 HttpHeaders headers,
115 e.getLocalizedMessage(getUserLocale(headers)));
119 .entity(getLocalizedMessage(headers, 400))
125 HttpHeaders headers,
130 .entity(e.getLocalizedMessage(getUserLocale(headers)))
171 protected Locale getUserLocale(HttpHeaders headers) { argument
172 List<Locale> locales = headers
92 getWebApplicationException( HttpHeaders headers, RestException e, MimeType mimeType ) argument
108 getWebApplicationException( HttpHeaders headers, EntitlementException e, MimeType mimeType ) argument
124 getWebApplicationException( HttpHeaders headers, CoreTokenException e ) argument
177 createResponseJSONString( int statusCode, HttpHeaders headers, JSONObject body ) argument
186 createResponseJSONString( int statusCode, HttpHeaders headers, String strBody ) argument
245 getLocalizedMessage( HttpHeaders headers, int errorCode ) argument
[all...]
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/common/delegates/
H A DServerDelegate.js32 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
42 headers: { "Accept-API-Version": "protocol=1.0,resource=1.1" },
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/dashboard/delegates/
H A DMyApplicationsDelegate.js40 headers: { "Cache-Control": "no-cache", "Accept-API-Version": "protocol=1.0,resource=1.0" }
47 headers: { "Cache-Control": "no-cache", "Accept-API-Version": "protocol=1.0,resource=1.0" }
H A DOAuthTokensDelegate.js33 headers: { "Cache-Control": "no-cache", "Accept-API-Version": "protocol=1.0,resource=1.0" }
43 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/uma/models/
H A DUMAPolicy.js56 options.headers = {};
57 options.headers["If-None-Match"] = "*";
/forgerock/openam/openam-rest/src/main/java/com/sun/identity/rest/
H A DResourceBase.java93 HttpHeaders headers,
99 e.getLocalizedMessage(getUserLocale(headers)));
103 .entity(getLocalizedMessage(headers, 400))
109 HttpHeaders headers,
115 e.getLocalizedMessage(getUserLocale(headers)));
119 .entity(getLocalizedMessage(headers, 400))
125 HttpHeaders headers,
130 .entity(e.getLocalizedMessage(getUserLocale(headers)))
171 protected Locale getUserLocale(HttpHeaders headers) { argument
172 List<Locale> locales = headers
92 getWebApplicationException( HttpHeaders headers, RestException e, MimeType mimeType ) argument
108 getWebApplicationException( HttpHeaders headers, EntitlementException e, MimeType mimeType ) argument
124 getWebApplicationException( HttpHeaders headers, CoreTokenException e ) argument
177 createResponseJSONString( int statusCode, HttpHeaders headers, JSONObject body ) argument
186 createResponseJSONString( int statusCode, HttpHeaders headers, String strBody ) argument
245 getLocalizedMessage( HttpHeaders headers, int errorCode ) argument
[all...]
/forgerock/openam/openam-http-client/src/test/java/org/forgerock/http/client/response/
H A DSimpleHttpClientResponseTest.java33 Map<String,String> headers = new HashMap<String, String>();
34 headers.put("key", "value");
38 HttpClientResponse response = new SimpleHttpClientResponse(statusCode, reasonPhrase, headers, messageBody,
44 assertSame(response.getHeaders(), headers, "Response headers should match set headers");
46 assertTrue(response.hasHeaders(), "Response should have headers");
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/dashboard/services/
H A DMyApplicationsService.js40 headers: { "Cache-Control": "no-cache", "Accept-API-Version": "protocol=1.0,resource=1.0" }
47 headers: { "Cache-Control": "no-cache", "Accept-API-Version": "protocol=1.0,resource=1.0" }
H A DOAuthTokensService.js30 headers: { "Cache-Control": "no-cache", "Accept-API-Version": "protocol=1.0,resource=1.0" }
39 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
H A DPushDeviceService.jsm30 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
38 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
H A DTrustedDevicesService.js28 headers: { "Cache-Control": "no-cache", "Accept-API-Version": "protocol=1.0,resource=1.0" }
36 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/uma/models/
H A DUMAPolicy.js48 options.headers = {};
49 options.headers["If-None-Match"] = "*";
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/uma/services/
H A DUMAService.js29 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
43 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
53 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
66 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
78 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
86 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
99 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
109 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/rest/
H A DPrivilegeResource.java72 @Context HttpHeaders headers,
84 return createResponseJSONString(200, headers, jo);
90 throw getWebApplicationException(headers, e, MimeType.JSON);
93 throw getWebApplicationException(headers, e, MimeType.JSON);
100 @Context HttpHeaders headers,
110 return createResponseJSONString(201, headers, "Created");
118 throw getWebApplicationException(headers, e, MimeType.JSON);
122 throw getWebApplicationException(headers, e, MimeType.JSON);
130 @Context HttpHeaders headers,
141 return createResponseJSONString(200, headers, "O
71 privileges( @ontext HttpHeaders headers, @Context HttpServletRequest request, @QueryParam(�) @DefaultValue(�) String realm, @QueryParam(�) List filters ) argument
99 createPrivilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @FormParam(�) @DefaultValue(�) String realm, @FormParam(�) String jsonString ) argument
129 modifyPrivilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @FormParam(�) @DefaultValue(�) String realm, @FormParam(�) String jsonString, @PathParam(�) String name ) argument
160 privilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @QueryParam(�) @DefaultValue(�) String realm, @PathParam(�) String name ) argument
188 deletePrivilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @QueryParam(�) @DefaultValue(�) String realm, @PathParam(�) String name ) argument
[all...]
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/rest/
H A DPrivilegeResource.java72 @Context HttpHeaders headers,
84 return createResponseJSONString(200, headers, jo);
90 throw getWebApplicationException(headers, e, MimeType.JSON);
93 throw getWebApplicationException(headers, e, MimeType.JSON);
100 @Context HttpHeaders headers,
110 return createResponseJSONString(201, headers, "Created");
118 throw getWebApplicationException(headers, e, MimeType.JSON);
122 throw getWebApplicationException(headers, e, MimeType.JSON);
130 @Context HttpHeaders headers,
141 return createResponseJSONString(200, headers, "O
71 privileges( @ontext HttpHeaders headers, @Context HttpServletRequest request, @QueryParam(�) @DefaultValue(�) String realm, @QueryParam(�) List filters ) argument
99 createPrivilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @FormParam(�) @DefaultValue(�) String realm, @FormParam(�) String jsonString ) argument
129 modifyPrivilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @FormParam(�) @DefaultValue(�) String realm, @FormParam(�) String jsonString, @PathParam(�) String name ) argument
160 privilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @QueryParam(�) @DefaultValue(�) String realm, @PathParam(�) String name ) argument
188 deletePrivilege( @ontext HttpHeaders headers, @Context HttpServletRequest request, @QueryParam(�) @DefaultValue(�) String realm, @PathParam(�) String name ) argument
[all...]
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/services/baseurl/
H A DForwardedHeaderBaseURLProviderTest.java106 Map<String, List<String>> headers = new HashMap<>();
107 headers.put("Forwarded", Arrays.asList("host=\"fred\";proto=\"http\""));
109 field(BaseURLConstants.ATTR_HEADERS, headers),
126 Map<String, List<String>> headers = new HashMap<>();
127 headers.put("Forwarded", Arrays.asList("host=\"fred\";proto=\"http\""));
129 field(BaseURLConstants.ATTR_HEADERS, headers),
157 Map<String, List<String>> headers = new HashMap<>();
158 headers.put("host", Arrays.asList("fred"));
160 field(BaseURLConstants.ATTR_HEADERS, headers),
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/services/baseurl/
H A DForwardedHeaderBaseURLProviderTest.java106 Map<String, List<String>> headers = new HashMap<>();
107 headers.put("Forwarded", Arrays.asList("host=\"fred\";proto=\"http\""));
109 field(BaseURLConstants.ATTR_HEADERS, headers),
126 Map<String, List<String>> headers = new HashMap<>();
127 headers.put("Forwarded", Arrays.asList("host=\"fred\";proto=\"http\""));
129 field(BaseURLConstants.ATTR_HEADERS, headers),
157 Map<String, List<String>> headers = new HashMap<>();
158 headers.put("host", Arrays.asList("fred"));
160 field(BaseURLConstants.ATTR_HEADERS, headers),
/forgerock/authenticator-ios-v2/unit-tests/
H A DFRAMockURLProtocol.m49 + (void)setResponseHeaders:(NSDictionary*)headers {
50 if(headers != mockResponseHeaders) {
51 mockResponseHeaders = headers;
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/services/realm/
H A DServicesService.js36 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
43 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
52 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
59 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" }
73 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
86 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
95 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
103 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
114 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },
123 headers
[all...]
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/delegates/
H A DScriptsDelegate.js36 headers: { "Accept-API-Version": "protocol=1.0,resource=1.0" },

Completed in 164 milliseconds

123456789