AppMessages.js revision eab81b0e06f3d98b67096d29cb726d674771b99f
857N/A/**
857N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
857N/A *
857N/A * Copyright 2015 ForgeRock AS.
857N/A *
857N/A * The contents of this file are subject to the terms
857N/A * of the Common Development and Distribution License
857N/A * (the License). You may not use this file except in
857N/A * compliance with the License.
857N/A *
857N/A * You can obtain a copy of the License at
857N/A * http://forgerock.org/license/CDDLv1.0.html
857N/A * See the License for the specific language governing
857N/A * permission and limitations under the License.
857N/A *
857N/A * When distributing Covered Code, include this CDDL
857N/A * Header Notice in each file and include the License file
857N/A * at http://forgerock.org/license/CDDLv1.0.html
857N/A * If applicable, add the following below the CDDL Header,
857N/A * with the fields enclosed by brackets [] replaced by
857N/A * your own identifying information:
857N/A * "Portions Copyrighted [year] [name of copyright owner]"
857N/A */
857N/A
857N/A/*global define*/
857N/A
857N/Adefine("config/AppMessages", [
], function () {
return {
/**
* Common Messages.
*/
"invalidRealm": {
msg: "config.messages.AppMessages.invalidRealm",
type: "error"
},
"duplicateRealm": {
msg: "config.messages.AppMessages.duplicateRealm",
type: "error"
},
"deleteFail": {
msg: "config.messages.AppMessages.deleteFail",
type: "error"
},
"changesSaved": {
msg: "config.messages.AppMessages.changesSaved",
type: "info"
},
/**
* UMA Messages.
*/
"policyCreatedSuccess": {
msg: "uma.share.messages.success",
type: "info"
},
"policyCreatedFail": {
msg: "uma.share.messages.fail",
type: "error"
},
"revokeAllResourcesSuccess": {
msg: "uma.resources.list.revokeAllResourcesSuccess",
type: "info"
},
"revokeAllResourcesFail": {
msg: "uma.resources.list.revokeAllResourcesFail",
type: "error"
},
"revokeAllPoliciesSuccess": {
msg: "uma.resources.show.revokeAllPoliciesSuccess",
type: "info"
},
"revokeAllPoliciesFail": {
msg: "uma.resources.show.revokeAllPoliciesFail",
type: "error"
},
"revokePolicySuccess": {
msg: "uma.resources.show.revokePolicySuccess",
type: "info"
},
"revokePolicyFail": {
msg: "uma.resources.show.revokePolicyFail",
type: "error"
},
/**
* Scripts messages.
*/
"scriptErrorNoName": {
msg: "config.messages.AdminMessages.scripts.error.noName",
type: "error"
},
"scriptErrorNoLanguage": {
msg: "config.messages.AdminMessages.scripts.error.noLanguage",
type: "error"
}
/**
* Policies messages.
*/
// TODO policy messages will go here
};
});