AMConfig.js revision 012e892eef6e874571e3ccb0afc4c3dea0feb4fa
/**
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions copyright [year] [name of copyright owner]".
*
* Portions copyright 2011-2016 ForgeRock AS.
*/
define([
"jquery",
"lodash",
return [{
description: "used to override common logout event",
override: true,
dependencies: [
],
}
if (gotoURL) {
} else {
});
}
}, function () {
if (gotoURL) {
} else {
});
}
});
}
}, {
override: true,
dependencies: [
],
if (conf.baseTemplate) {
} else {
}
}
}
}, {
description: "",
dependencies: [
],
}`;
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
}
}, {
description: "",
dependencies: [
],
if (!Configuration.loggedUser) {
args: [],
trigger: true
});
} else {
}
}
}, {
description: "",
dependencies: [
"Footer",
],
}
}, {
description: "",
dependencies: [
],
var queueName = "loginDialogAuthCallbacks",
}
}
}
while (authenticatedCallback) {
}
}
}, {
description: "",
override: true,
dependencies: [
],
if (!loggedIn) {
// 401 no session
// 403 route change
return RouteTo.forbiddenPage();
} else {
// 403 rest call
return RouteTo.forbiddenError();
}
}
}, {
description: "",
override: true,
dependencies: [
"LoginDialog",
],
var queueName = "loginDialogAuthCallbacks";
/**
* User may have sensative information on-screen so we exit them from the system when thier session
* has expired with a message telling them as such
*/
return RouteTo.sessionExpired();
} else {
/**
* Admins are more likely to have work in-progress so they are presented with a login dialog to give
* them the opportunity to continue their work
*/
}
// only render the LoginDialog if it has an empty callback queue
}
if (event.authenticatedCallback) {
}
}
}
}];
});