AMRoutesConfig.js revision 1889f15ae9583798fd7ce87822d9056ae072e963
5394N/A/**
5394N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5394N/A *
5394N/A * Copyright (c) 2011-2014 ForgeRock AS. All rights reserved.
5394N/A *
5394N/A * The contents of this file are subject to the terms
5394N/A * of the Common Development and Distribution License
5394N/A * (the License). You may not use this file except in
5394N/A * compliance with the License.
5394N/A *
5394N/A * You can obtain a copy of the License at
5394N/A * http://forgerock.org/license/CDDLv1.0.html
5394N/A * See the License for the specific language governing
5394N/A * permission and limitations under the License.
5394N/A *
5394N/A * When distributing Covered Code, include this CDDL
5394N/A * Header Notice in each file and include the License file
5394N/A * at http://forgerock.org/license/CDDLv1.0.html
5394N/A * If applicable, add the following below the CDDL Header,
5394N/A * with the fields enclosed by brackets [] replaced by
5394N/A * your own identifying information:
5394N/A * "Portions Copyrighted [year] [name of copyright owner]"
5394N/A */
5394N/A
5714N/A/**
5394N/A * "Portions Copyrighted 2011-2013 ForgeRock Inc"
5394N/A */
5394N/A/*global define*/
5394N/A/*jslint regexp:false */
5394N/A
5394N/A/**
5394N/A * @author jfeasel
5394N/A */
5394N/Adefine("config/routes/AMRoutesConfig", [
5394N/A], function() {
5394N/A
5394N/A var obj = {
5394N/A "forgotPassword": {
5394N/A view: "org/forgerock/openam/ui/user/profile/ForgotPasswordView",
5394N/A url: /forgotPassword(\/[^\&]*)(\&.+)?/,
5394N/A pattern: "forgotPassword??",
5394N/A forceUpdate: true,
5394N/A argumentNames: ["realm", "additionalParameters"]
5394N/A },
5394N/A "forgotPasswordChange": {
5394N/A view: "org/forgerock/openam/ui/user/profile/ForgotPasswordView",
5394N/A url: /forgotPasswordChange(\/[^\&]*)(\&.+)?/,
5394N/A pattern: "forgotPasswordChange??",
5394N/A forceUpdate: true,
5394N/A argumentNames: ["realm", "additionalParameters"]
5714N/A },
5394N/A "continueSelfRegister": {
5394N/A view: "org/forgerock/openam/ui/user/profile/RegisterView",
5394N/A url: /continueRegister(\/[^\&]*)(\&.+)?/,
5394N/A pattern: "continueRegister??",
5394N/A forceUpdate: true,
5394N/A argumentNames: ["realm", "additionalParameters"]
5394N/A },
5394N/A "confirmLogin": {
5394N/A view: "org/forgerock/openam/ui/user/login/RESTConfirmLoginView",
5394N/A role: "ui-user",
5394N/A url: "confirmLogin/" ,
5394N/A forceUpdate: true
5394N/A },
5394N/A "dashboard": {
5394N/A view: "org/forgerock/openam/ui/dashboard/DashboardView",
5394N/A role: "ui-user",
5394N/A url: "dashboard/",
5394N/A forceUpdate: true
5394N/A },
5394N/A "oauth2Tokens": {
5394N/A view: "org/forgerock/openam/ui/user/oauth2/TokensView",
5394N/A role: "ui-user",
5395N/A url: "oauth2/tokens",
5394N/A forceUpdate: true
5394N/A }
5394N/A
5394N/A };
5394N/A
5394N/A return obj;
5394N/A});