Searched defs:gotoUrl (Results 1 - 9 of 9) sorted by relevance

/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-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-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-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-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/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-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

Completed in 30 milliseconds