Searched refs:gotoUrl (Results 1 - 25 of 29) sorted by relevance

12

/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/shared/security/whitelist/
H A DRedirectUrlValidator.java118 * as a configuration. The configuration determines whether gotoUrl is valid and complies with the
119 * configuration's URL policy. If so, the gotoUrl is returned, otherwise the alternateUrl is returned. In the case
123 * @param gotoUrl The goto URL to compare against the config. If null alternateUrl will be returned.
127 public String getRedirectUrl(T configInfo, String gotoUrl, String alternateUrl) { argument
131 if (gotoUrl == null) {
135 if (isRedirectUrlValid(gotoUrl, configInfo)) {
136 returnValue = gotoUrl;
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/shared/security/whitelist/
H A DRedirectUrlValidator.java122 * as a configuration. The configuration determines whether gotoUrl is valid and complies with the
123 * configuration's URL policy. If so, the gotoUrl is returned, otherwise the alternateUrl is returned. In the case
127 * @param gotoUrl The goto URL to compare against the config. If null alternateUrl will be returned.
131 public String getRedirectUrl(T configInfo, String gotoUrl, String alternateUrl) { argument
135 if (gotoUrl == null) {
139 if (isRedirectUrlValid(gotoUrl, configInfo)) {
140 returnValue = gotoUrl;
/forgerock/openam-v13/openam-server-auth-ui/src/main/java/com/sun/identity/authentication/UI/
H A DLogoutViewBean.java113 gotoUrl = request.getParameter("goto");
115 logoutDebug.message("Goto query param : " + gotoUrl);
160 // If there is a gotoUrl value and the orgDN is null do some additional processing
184 gotoUrl = AuthUtils.getValidGotoURL(request, orgDN);
186 logoutDebug.message("Goto after validation for orgDN: " + orgDN + " gotoUrl: " + gotoUrl);
255 gotoUrl = postProcessURL;
440 if ((gotoUrl != null) && (gotoUrl.length() != 0)) {
451 logoutDebug.message("Redirect to 'goto' URL : " + gotoUrl);
574 public String gotoUrl = ""; field in class:LogoutViewBean
[all...]
/forgerock/openam/openam-server-auth-ui/src/main/java/com/sun/identity/authentication/UI/
H A DLogoutViewBean.java113 gotoUrl = request.getParameter("goto");
115 logoutDebug.message("Goto query param : " + gotoUrl);
160 // If there is a gotoUrl value and the orgDN is null do some additional processing
184 gotoUrl = AuthUtils.getValidGotoURL(request, orgDN);
186 logoutDebug.message("Goto after validation for orgDN: " + orgDN + " gotoUrl: " + gotoUrl);
255 gotoUrl = postProcessURL;
440 if ((gotoUrl != null) && (gotoUrl.length() != 0)) {
451 logoutDebug.message("Redirect to 'goto' URL : " + gotoUrl);
574 public String gotoUrl = ""; field in class:LogoutViewBean
[all...]
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/login/
H A DRESTLoginHelper.js33 "org/forgerock/openam/ui/user/login/gotoUrl"
35 fetchUrl, SessionToken, AuthNService, SessionService, UserModel, logout, query, gotoUrl) => {
141 gotoUrl.set(encodeURIComponent(context + data.successURL));
152 if (!gotoUrl.exists()) {
153 gotoUrl.set(successUrl);
H A DRESTLoginView.js39 "org/forgerock/openam/ui/user/login/gotoUrl",
43 URIUtils, logout, query, gotoUrl, store) => {
146 if (gotoUrl.exists()) {
147 window.location.href = gotoUrl.toHref();
541 return gotoUrl.exists() ? `&goto=${gotoUrl.get()}` : "";
/forgerock/openam/openam-selfservice/src/main/java/org/forgerock/openam/selfservice/config/flows/
H A DAutoLoginStage.java92 String gotoUrl = authContext.getSuccessURL();
95 context.putSuccessAddition("successUrl", gotoUrl);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/agent/
H A DTokenRestrictionResolver.java113 * @param gotoUrl The goto url attribute.
123 String gotoUrl,
127 Reject.ifNull(gotoUrl);
136 if (isGotoUrlValid(gotoUrl, agentInfo.getRootUrls())) {
139 throw (new SSOException("Goto URL not valid for the agent Provider ID: " + gotoUrl));
287 private boolean isGotoUrlValid(String gotoUrl, List<URL> agentRootUrls) throws SSOException { argument
289 URL url = new URL(gotoUrl);
299 throw new SSOException("Invalid Goto URL: " + gotoUrl);
121 resolve( String providerId, String gotoUrl, SSOToken adminToken, boolean uniqueSSOTokenCookie) argument
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMResourceOwnerSessionValidator.java332 String gotoUrl = request.<Request>getRequest().getResourceRef().toString();
334 gotoUrl += (gotoUrl.indexOf('?') > -1 ? "&" : "?") + USER_CODE + "=" + request.getParameter(USER_CODE);
344 loginUrl = buildCustomLoginUrl(loginUrlTemplate, gotoUrl, acrValues, realm, moduleName, serviceName,
347 loginUrl = buildDefaultLoginUrl(request, gotoUrl, acrValues, realm, moduleName, serviceName, locale);
362 private URI buildDefaultLoginUrl(OAuth2Request request, String gotoUrl, String acrValues, String realm, argument
393 loginRef.addQueryParameter(GOTO, gotoUrl);
398 private URI buildCustomLoginUrl(Template loginUrlTemplate, String gotoUrl, String acrValues, String realm, argument
402 templateData.put("goto", URLEncoder.encode(gotoUrl, StandardCharsets.UTF_8.toString()));
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DResourceOwnerSessionValidator.java354 String gotoUrl = request.<Request>getRequest().getResourceRef().toString();
356 gotoUrl += (gotoUrl.indexOf('?') > -1 ? "&" : "?") + USER_CODE + "=" + request.getParameter(USER_CODE);
366 loginUrl = buildCustomLoginUrl(loginUrlTemplate, gotoUrl, acrValues, realm, moduleName, serviceName,
369 loginUrl = buildDefaultLoginUrl(request, gotoUrl, acrValues, realm, moduleName, serviceName, locale);
384 private URI buildDefaultLoginUrl(OAuth2Request request, String gotoUrl, String acrValues, String realm, argument
412 loginRef.addQueryParameter(GOTO, gotoUrl);
417 private URI buildCustomLoginUrl(Template loginUrlTemplate, String gotoUrl, String acrValues, String realm, argument
421 templateData.put("goto", URLEncoder.encode(gotoUrl, StandardCharsets.UTF_8.toString()));
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/iplanet/services/cdc/
H A DLdapSPValidator.java163 URL gotoUrl = new URL(gotoURL);
164 String gotoHost = gotoUrl.getHost().toLowerCase();
165 String gotoProtocol = gotoUrl.getProtocol().toLowerCase();
166 int gotoPort = gotoUrl.getPort();
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/fednsso/
H A DFSSSOLECPProfileHandler.java159 StringBuffer gotoUrl =
161 gotoUrl.append("/").append(IFSConstants.META_ALIAS)
169 gotoUrl.append(IFSConstants.LRURL).append("/")
184 gotoUrl.toString())).append("&");
H A DFSIDPFinderService.java424 StringBuffer gotoUrl = new StringBuffer(postLoginUrl);
426 gotoUrl.append("?");
428 gotoUrl.append("&");
430 gotoUrl.append(IFSConstants.LRURL).append("=")
445 .append(URLEncDec.encode(gotoUrl.toString()));
H A DFSSSOAndFedHandler.java703 StringBuffer gotoUrl = new StringBuffer(postLoginUrl);
705 gotoUrl.append("?");
707 gotoUrl.append("&");
709 gotoUrl.append(IFSConstants.LRURL).append("=")
724 .append(URLEncDec.encode(gotoUrl.toString()));
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/fednsso/
H A DFSSSOLECPProfileHandler.java159 StringBuffer gotoUrl =
161 gotoUrl.append("/").append(IFSConstants.META_ALIAS)
169 gotoUrl.append(IFSConstants.LRURL).append("/")
184 gotoUrl.toString())).append("&");
H A DFSIDPFinderService.java424 StringBuffer gotoUrl = new StringBuffer(postLoginUrl);
426 gotoUrl.append("?");
428 gotoUrl.append("&");
430 gotoUrl.append(IFSConstants.LRURL).append("=")
445 .append(URLEncDec.encode(gotoUrl.toString()));
H A DFSSSOAndFedHandler.java703 StringBuffer gotoUrl = new StringBuffer(postLoginUrl);
705 gotoUrl.append("?");
707 gotoUrl.append("&");
709 gotoUrl.append(IFSConstants.LRURL).append("=")
724 .append(URLEncDec.encode(gotoUrl.toString()));
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/util/
H A DGateway.java122 String gotoUrl = null;
149 gotoUrl = request.getParameter(key);
161 debug.message("GatewayServlet: gotoUrl : "+gotoUrl);
164 if (gotoUrl != null) {
165 ad = getActionDecision(gotoUrl);
174 if ((gotoUrl != null) &&
177 debug.message("GatewayServlet: gotoUrl : "+gotoUrl);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/util/
H A DGateway.java122 String gotoUrl = null;
149 gotoUrl = request.getParameter(key);
161 debug.message("GatewayServlet: gotoUrl : "+gotoUrl);
164 if (gotoUrl != null) {
165 ad = getActionDecision(gotoUrl);
174 if ((gotoUrl != null) &&
177 debug.message("GatewayServlet: gotoUrl : "+gotoUrl);
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/util/
H A DCLILogin.java57 String gotoUrl = "console"; field in class:CLILogin
144 + gotoUrl);
/forgerock/openam/openam-core/src/main/java/com/iplanet/am/util/
H A DCLILogin.java57 String gotoUrl = "console"; field in class:CLILogin
144 + gotoUrl);
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java283 String gotoUrl = urlValidator.getRedirectUrl(loginProcess.getOrgDN(),
287 jsonResponseObject.put("successUrl", gotoUrl);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java289 String gotoUrl = urlValidator.getRedirectUrl(loginProcess.getOrgDN(),
293 jsonResponseObject.put("successUrl", gotoUrl);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/login/
H A DFSPostLogin.java178 String gotoUrl = new StringBuffer()
185 URLEncDec.encode(gotoUrl));
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/common/util/
H A DBackgridUtils.js190 "click": "gotoUrl"
213 gotoUrl: function (e) {

Completed in 92 milliseconds

12