/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/ |
H A D | OAuth2RequestFactory.java | 66 HttpServletRequest httpRequest = ServletUtils.getRequest(request); 67 OAuth2Request o2request = getOAuth2Request(httpRequest); 70 addClientRegistrationToOAuth2Request(httpRequest, o2request); 71 setOauth2RequestAttributeOnHttpRequest(httpRequest, o2request); 76 private OAuth2Request getOAuth2Request(HttpServletRequest httpRequest) { argument 77 return httpRequest == null ? null : (OAuth2Request) httpRequest.getAttribute(OAUTH2_REQ_ATTR); 80 private void addClientRegistrationToOAuth2Request(HttpServletRequest httpRequest, OAuth2Request o2request) { argument 81 if (httpRequest == null) { 85 String clientId = httpRequest 96 setOauth2RequestAttributeOnHttpRequest(HttpServletRequest httpRequest, OAuth2Request o2request) argument [all...] |
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | LoginConfiguration.java | 29 private HttpServletRequest httpRequest; field in class:LoginConfiguration 40 * @param httpRequest The HttpServletRequest. 43 public LoginConfiguration httpRequest(HttpServletRequest httpRequest) { argument 44 this.httpRequest = httpRequest; 54 return httpRequest; 110 httpRequest = new RestAuthHttpRequestWrapper(httpRequest); 111 ((RestAuthHttpRequestWrapper) httpRequest) [all...] |
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | LoginConfiguration.java | 29 private HttpServletRequest httpRequest; field in class:LoginConfiguration 40 * @param httpRequest The HttpServletRequest. 43 public LoginConfiguration httpRequest(HttpServletRequest httpRequest) { argument 44 this.httpRequest = httpRequest; 54 return httpRequest; 110 httpRequest = new RestAuthHttpRequestWrapper(httpRequest); 111 ((RestAuthHttpRequestWrapper) httpRequest) [all...] |
/forgerock/openam-v13/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/ |
H A D | ConfiguratorFilter.java | 75 HttpServletRequest httpRequest = (HttpServletRequest) request; 79 if (httpRequest.getRequestURI().endsWith(SETUP_URI)) { 81 filterChain.doFilter(httpRequest, httpResponse); 83 filterChain.doFilter(httpRequest, httpResponse); 85 String url = httpRequest.getScheme() + "://" + 86 httpRequest.getServerName() + ":" + 87 httpRequest.getServerPort() + 88 httpRequest.getContextPath() + SETUP_URI; 92 filterChain.doFilter(httpRequest, httpResponse);
|
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/setup/ |
H A D | ClientConfiguratorFilter.java | 75 HttpServletRequest httpRequest = (HttpServletRequest) request; 79 if (httpRequest.getRequestURI().endsWith(SETUP_URI)) { 81 filterChain.doFilter(httpRequest, httpResponse); 83 filterChain.doFilter(httpRequest, httpResponse); 85 String url = httpRequest.getScheme() + "://" + 86 httpRequest.getServerName() + ":" + 87 httpRequest.getServerPort() + 88 httpRequest.getContextPath() + SETUP_URI; 92 filterChain.doFilter(httpRequest, httpResponse);
|
/forgerock/openam/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/setup/ |
H A D | ClientConfiguratorFilter.java | 75 HttpServletRequest httpRequest = (HttpServletRequest) request; 79 if (httpRequest.getRequestURI().endsWith(SETUP_URI)) { 81 filterChain.doFilter(httpRequest, httpResponse); 83 filterChain.doFilter(httpRequest, httpResponse); 85 String url = httpRequest.getScheme() + "://" + 86 httpRequest.getServerName() + ":" + 87 httpRequest.getServerPort() + 88 httpRequest.getContextPath() + SETUP_URI; 92 filterChain.doFilter(httpRequest, httpResponse);
|
/forgerock/openam/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/ |
H A D | ConfiguratorFilter.java | 75 HttpServletRequest httpRequest = (HttpServletRequest) request; 79 if (httpRequest.getRequestURI().endsWith(SETUP_URI)) { 81 filterChain.doFilter(httpRequest, httpResponse); 83 filterChain.doFilter(httpRequest, httpResponse); 85 String url = httpRequest.getScheme() + "://" + 86 httpRequest.getServerName() + ":" + 87 httpRequest.getServerPort() + 88 httpRequest.getContextPath() + SETUP_URI; 92 filterChain.doFilter(httpRequest, httpResponse);
|
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/version/ |
H A D | VersionViewBean.java | 81 public static String getCurrentURL(HttpServletRequest httpRequest) { argument 82 return httpRequest.getScheme() + "://" + 83 httpRequest.getServerName() + ":" + 84 httpRequest.getServerPort() + 85 httpRequest.getContextPath();
|
H A D | VersionServlet.java | 75 HttpServletRequest httpRequest = (HttpServletRequest) requestContext.getRequest(); 77 String redirectUrl = VersionViewBean.getCurrentURL(httpRequest) + 88 HttpServletRequest httpRequest = (HttpServletRequest) requestContext.getRequest(); 90 String redirectUrl = VersionViewBean.getCurrentURL(httpRequest)
|
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/version/ |
H A D | VersionViewBean.java | 63 public static String getCurrentURL(HttpServletRequest httpRequest) { argument 64 return httpRequest.getScheme() + "://" + 65 httpRequest.getServerName() + ":" + 66 httpRequest.getServerPort() + 67 httpRequest.getContextPath();
|
H A D | VersionServlet.java | 75 HttpServletRequest httpRequest = (HttpServletRequest) requestContext.getRequest(); 77 String redirectUrl = VersionViewBean.getCurrentURL(httpRequest) + 88 HttpServletRequest httpRequest = (HttpServletRequest) requestContext.getRequest(); 90 String redirectUrl = VersionViewBean.getCurrentURL(httpRequest)
|
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/http/ |
H A D | AuthenticationServiceV1Test.java | 56 Request httpRequest = new Request(); 57 httpRequest.setEntity("<xml></xml>"); 58 httpRequest.getHeaders().put(ContentTypeHeader.NAME, "application/xml"); 61 Response response = authServiceV1.authenticate(context, httpRequest); 71 Request httpRequest = new Request(); 80 Response response = authServiceV1.handleErrorResponse(httpRequest, Status.valueOf(exception.getStatusCode()), exception); 93 Request httpRequest = new Request(); 98 Response response = authServiceV1.handleErrorResponse(httpRequest, Status.valueOf(401), exception); 110 Request httpRequest = new Request(); 112 httpRequest [all...] |
H A D | AuthenticationServiceV2Test.java | 55 Request httpRequest = new Request(); 56 httpRequest.setEntity("<xml></xml>"); 57 httpRequest.getHeaders().put(ContentTypeHeader.NAME, "application/xml"); 60 Response response = authServiceV2.authenticate(context, httpRequest); 73 Request httpRequest = new Request(); 82 Response response = authServiceV2.handleErrorResponse(httpRequest, Status.valueOf(exception.getStatusCode()), exception); 96 Request httpRequest = new Request(); 101 Response response = authServiceV2.handleErrorResponse(httpRequest, Status.valueOf(401), testException);
|
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/http/ |
H A D | AuthenticationServiceV1Test.java | 56 Request httpRequest = new Request(); 57 httpRequest.setEntity("<xml></xml>"); 58 httpRequest.getHeaders().put(ContentTypeHeader.NAME, "application/xml"); 61 Response response = authServiceV1.authenticate(context, httpRequest); 71 Request httpRequest = new Request(); 80 Response response = authServiceV1.handleErrorResponse(httpRequest, Status.valueOf(exception.getStatusCode()), exception); 93 Request httpRequest = new Request(); 98 Response response = authServiceV1.handleErrorResponse(httpRequest, Status.valueOf(401), exception); 110 Request httpRequest = new Request(); 112 httpRequest [all...] |
H A D | AuthenticationServiceV2Test.java | 55 Request httpRequest = new Request(); 56 httpRequest.setEntity("<xml></xml>"); 57 httpRequest.getHeaders().put(ContentTypeHeader.NAME, "application/xml"); 60 Response response = authServiceV2.authenticate(context, httpRequest); 73 Request httpRequest = new Request(); 82 Response response = authServiceV2.handleErrorResponse(httpRequest, Status.valueOf(exception.getStatusCode()), exception); 96 Request httpRequest = new Request(); 101 Response response = authServiceV2.handleErrorResponse(httpRequest, Status.valueOf(401), testException);
|
/forgerock/openam/openam-restlet/src/test/java/org/forgerock/openam/rest/service/ |
H A D | RestletRealmRouterTest.java | 115 HttpServletRequest httpRequest = mock(HttpServletRequest.class); 116 Request request = setUpRequest(httpRequest); 144 verify(httpRequest).setAttribute("realm", "/realm"); 145 verify(httpRequest).setAttribute("realmObject", Realm.of("/realm")); 154 HttpServletRequest httpRequest = mock(HttpServletRequest.class); 155 Request request = setUpRequest(httpRequest); 176 verify(httpRequest).setAttribute("realm", "/realm"); 177 verify(httpRequest).setAttribute("realmObject", Realm.of("/realm")); 180 private Request setUpRequest(HttpServletRequest httpRequest) { argument 186 given(serverCall.getRequest()).willReturn(httpRequest); [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/ |
H A D | WSPRedirectHandlerServlet.java | 144 public void doGet(HttpServletRequest httpRequest, argument 147 handleRequest(httpRequest, httpResponse); 148 //testXSL(httpRequest, httpResponse); 151 public void doPost(HttpServletRequest httpRequest, argument 154 handleRequest(httpRequest, httpResponse); 157 private void handleRequest(HttpServletRequest httpRequest, argument 166 String queryString = httpRequest.getQueryString(); 197 sendErrorPageUntrustedHost(httpRequest, httpResponse, 221 forwardRequest(forwardToUrl, httpRequest, httpResponse); 233 String requestURL = getRequestURL(httpRequest); 361 sendInteractionRequestPage(String messageID, HttpServletRequest httpRequest, HttpServletResponse httpResponse) argument 503 sendInteractionResponsePage(String messageID, HttpServletRequest httpRequest, HttpServletResponse httpResponse, String returnToURL) argument 600 getRequestURL(HttpServletRequest httpRequest) argument 605 showErrorPage(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String message) argument 677 isWMLClient(HttpServletRequest httpRequest) argument [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/interaction/ |
H A D | WSPRedirectHandlerServlet.java | 144 public void doGet(HttpServletRequest httpRequest, argument 147 handleRequest(httpRequest, httpResponse); 148 //testXSL(httpRequest, httpResponse); 151 public void doPost(HttpServletRequest httpRequest, argument 154 handleRequest(httpRequest, httpResponse); 157 private void handleRequest(HttpServletRequest httpRequest, argument 166 String queryString = httpRequest.getQueryString(); 197 sendErrorPageUntrustedHost(httpRequest, httpResponse, 221 forwardRequest(forwardToUrl, httpRequest, httpResponse); 233 String requestURL = getRequestURL(httpRequest); 361 sendInteractionRequestPage(String messageID, HttpServletRequest httpRequest, HttpServletResponse httpResponse) argument 503 sendInteractionResponsePage(String messageID, HttpServletRequest httpRequest, HttpServletResponse httpResponse, String returnToURL) argument 600 getRequestURL(HttpServletRequest httpRequest) argument 605 showErrorPage(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String message) argument 677 isWMLClient(HttpServletRequest httpRequest) argument [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/login/ |
H A D | FSPreLogin.java | 87 * @param httpRequest the HttpServletRequest object. 90 private String removeMetaGotoOrg(HttpServletRequest httpRequest) { argument 91 Enumeration paramEnum = httpRequest.getParameterNames(); 104 httpRequest.getParameter(paramKey); 159 * @param httpRequest the HttpServletRequest object. 163 HttpServletRequest httpRequest) 166 String lrURL = httpRequest.getParameter(IFSConstants.GOTOKEY); 167 String reqQueryString = removeMetaGotoOrg(httpRequest); 226 * @param httpRequest the HttpServletRequest object. 230 HttpServletRequest httpRequest) 162 getQueryString(boolean showFederatePage, String metaAlias, HttpServletRequest httpRequest) argument 229 setMetaInfo(String metaAlias, HttpServletRequest httpRequest) argument 411 setHeaderMap(HttpServletRequest httpRequest) argument 439 createSSOMap(String authLevel, String metaAlias, boolean isFedCookiePresent, HttpServletRequest httpRequest, HttpServletResponse httpResponse) argument [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/login/ |
H A D | FSPreLogin.java | 87 * @param httpRequest the HttpServletRequest object. 90 private String removeMetaGotoOrg(HttpServletRequest httpRequest) { argument 91 Enumeration paramEnum = httpRequest.getParameterNames(); 104 httpRequest.getParameter(paramKey); 159 * @param httpRequest the HttpServletRequest object. 163 HttpServletRequest httpRequest) 166 String lrURL = httpRequest.getParameter(IFSConstants.GOTOKEY); 167 String reqQueryString = removeMetaGotoOrg(httpRequest); 226 * @param httpRequest the HttpServletRequest object. 230 HttpServletRequest httpRequest) 162 getQueryString(boolean showFederatePage, String metaAlias, HttpServletRequest httpRequest) argument 229 setMetaInfo(String metaAlias, HttpServletRequest httpRequest) argument 411 setHeaderMap(HttpServletRequest httpRequest) argument 439 createSSOMap(String authLevel, String metaAlias, boolean isFedCookiePresent, HttpServletRequest httpRequest, HttpServletResponse httpResponse) argument [all...] |
/forgerock/openam-v13/openam-restlet/src/test/java/org/forgerock/openam/rest/service/ |
H A D | RestletRealmRouterTest.java | 114 HttpServletRequest httpRequest = mock(HttpServletRequest.class); 115 Request request = setUpRequest(httpRequest, adminToken); 150 verify(httpRequest).setAttribute("realm", "/REALM"); 160 HttpServletRequest httpRequest = mock(HttpServletRequest.class); 161 Request request = setUpRequest(httpRequest, adminToken); 182 verify(httpRequest).setAttribute("realm", "/REALM"); 185 private Request setUpRequest(HttpServletRequest httpRequest, SSOToken adminToken) { argument 191 given(serverCall.getRequest()).willReturn(httpRequest);
|
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/ |
H A D | AuthnRequestInfoCopy.java | 60 public AuthnRequestInfo getAuthnRequestInfo(HttpServletRequest httpRequest, HttpServletResponse httpResponse) throws SAML2Exception { argument 62 return new AuthnRequestInfo(httpRequest, httpResponse, realm, spEntityID, idpEntityID,
|
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/ |
H A D | AuthnRequestInfoCopy.java | 60 public AuthnRequestInfo getAuthnRequestInfo(HttpServletRequest httpRequest, HttpServletResponse httpResponse) throws SAML2Exception { argument 62 return new AuthnRequestInfo(httpRequest, httpResponse, realm, spEntityID, idpEntityID,
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/http/ |
H A D | AuthenticationServiceV1.java | 107 * @param httpRequest The HTTP request. 114 public Response authenticate(@Contextual Context context, @Contextual Request httpRequest) { argument 116 if (!isSupportedMediaType(httpRequest)) { 118 DEBUG.error("AuthenticationService :: Unable to handle media type request : " + ContentTypeHeader.valueOf(httpRequest).getType()); 120 return handleErrorResponse(httpRequest, Status.UNSUPPORTED_MEDIA_TYPE, null); 125 Form urlQueryString = getUrlQueryString(httpRequest); 137 jsonContent = getJsonContent(httpRequest); 140 return handleErrorResponse(httpRequest, Status.BAD_REQUEST, e); 161 return handleErrorResponse(httpRequest, Status.valueOf(e.getStatusCode()), e); 164 return handleErrorResponse(httpRequest, Statu [all...] |
/forgerock/openam-v13/openam-restlet/src/main/java/org/forgerock/openam/rest/service/ |
H A D | ResourceApiVersionRestlet.java | 53 HttpServletRequest httpRequest = ServletUtils.getRequest(request); 54 String versionHeader = httpRequest.getHeader(AcceptApiVersionHeader.NAME);
|