AMConfig.js revision 0d59bd8a25520b23f14786ba03419bd37f707bce
/**
* 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-2015 ForgeRock AS.
*/
"jquery",
"underscore",
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 {
}
}
}
}, {
override: true,
dependencies: [
],
processDescription: function (event, Router, CreateUpdateRealmDialog, RealmsListView, SMSGlobalDelegate) {
args: [],
trigger: true
});
var allRealmPaths = [];
});
callback : function () {
}
});
});
}
}, {
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: [
],
processDescription: function (event, Configuration, CookieHelper, SessionValidator, MaxIdleTimeLeftStrategy,
}
}
}
}, {
description: "",
override: true,
dependencies: [
],
// Multiple rest calls that all return authz failures will cause this event to be called multiple times
return;
}
if (!loggedIn) {
// 401 no session
return RouteTo.sessionExpired();
} else {
// 401 session timeout
return RouteTo.loginDialog();
}
// 403 route change
return RouteTo.forbiddenPage();
} else {
// 403 rest call
return RouteTo.forbiddenError();
}
}
}];
});