001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)LocalStringConstants.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: /**
030: * LocalStringConstants.java
031: *
032: * SUN PROPRIETARY/CONFIDENTIAL.
033: * This software is the proprietary information of Sun Microsystems, Inc.
034: * Use is subject to license terms.
035: *
036: * Created on November 1, 2004, 4:44 PM
037: */package com.sun.jbi.internal.security;
038:
039: /**
040: *
041: * @author Sun Microsystems, Inc.
042: */
043: public interface LocalStringConstants {
044: /*-------------------------------------------------------------------------------*\
045: * Constant Substrings appearing in Messages *
046: \*-------------------------------------------------------------------------------*/
047:
048: /** Context. */
049: String CONST_CONTEXT = "CONST_CONTEXT";
050:
051: /** Parameter. */
052: String CONST_PARAM = "CONST_PARAM";
053:
054: /** Value. */
055: String CONST_VALUE = "CONST_VALUE";
056:
057: /** Endpoint Context. */
058: String CONST_ENDPT_CONTEXT = "CONST_ENDPT_CONTEXT";
059:
060: /** User Domain. */
061: String CONST_UD = "CONST_UD";
062:
063: /** KeyStore Manager. */
064: String CONST_KM = "CONST_KM";
065:
066: /** Security Context. */
067: String CONST_SC = "CONST_SC";
068:
069: /** Security Context Name. */
070: String CONST_SEC_CTX_NAME = "CONST_SEC_CTX_NAME";
071:
072: /*-------------------------------------------------------------------------------*\
073: * INFORMATIONAL Messages *
074: \*-------------------------------------------------------------------------------*/
075: /** INFO: Security Handler Init msg. */
076: String BC_INFO_SECHANDLER_INITIALIZED = "BC_INFO_SECHANDLER_INITIALIZED";
077:
078: /** INFO: Initializing Key Store Manager. */
079: String BC_INFO_INITIALIZING_KM = "BC_INFO_INITIALIZING_KM";
080:
081: /** INFO: Registered KeyStore Manager. */
082: String BC_INFO_UD_REGISTERED = "BC_INFO_UD_REGISTERED";
083:
084: /** INFO: Registered the User Domain. */
085: String BC_INFO_KM_REGISTERED = "BC_INFO_KM_REGISTERED";
086:
087: /** INFO: Information on the Endpoint Security Configuration file. */
088: String BC_INFO_SEC_CONFIG_FILE = "BC_INFO_SEC_CONFIG_FILE";
089:
090: /** INFO: Operation not configured for security. */
091: String BC_INFO_OPERATION_MISSING_SECURITY_CONFIGURATION = "BC_INFO_OPERATION_MISSING_SECURITY_CONFIGURATION";
092:
093: /** INFO: Endpoint not configured for security. */
094: String BC_INFO_ENDPOINT_MISSING_SECURITY_CONFIGURATION = "BC_INFO_ENDPOINT_MISSING_SECURITY_CONFIGURATION";
095:
096: /** INFO: resolved external entity ref. */
097: String BC_INFO_RESOLVED_EXTERNAL_ENTITY = "BC_INFO_RESOLVED_EXTERNAL_ENTITY";
098:
099: /** INFO: Endpoint Operation policy not defined in the jbi deployment. */
100: String BC_INFO_NO_EP_OP_SEC_POLICY = "BC_INFO_NO_EP_OP_SEC_POLICY";
101:
102: /** INFO: Endpoint has security overrides. */
103: String BC_INFO_ENDPT_SEC_SPEC = "BC_INFO_ENDPT_SEC_SPEC";
104:
105: /** INFO: Security Service Initialized Successfully. */
106: String SS_INFO_INIT = "SS_INFO_INIT";
107:
108: /** INFO: Security Service Started Successfully. */
109: String SS_INFO_START = "SS_INFO_START";
110:
111: /** INFO: Security Service Stopped Successfully. */
112: String SS_INFO_STOP = "SS_INFO_STOP";
113:
114: /*-------------------------------------------------------------------------------*\
115: * ERROR Messages *
116: \*-------------------------------------------------------------------------------*/
117: /** Error: Default UD Creation failed. */
118: String BC_ERR_DEFAULT_UD_CREATION_FAILED = "BC_ERR_DEFAULT_UD_CREATION_FAILED";
119:
120: /** Error: Default KeyStoreManager Creation failed. */
121: String BC_ERR_DEFAULT_KM_CREATION_FAILED = "BC_ERR_DEFAULT_KM_CREATION_FAILED";
122:
123: /** ERR: User Domain missing parameter. */
124: String BC_ERR_UD_MISSING_PROPERTY = "BC_ERR_UD_MISSING_PROPERTY";
125:
126: /** ERR: UserDomain Creation failed. */
127: String BC_ERR_UD_CREATION_FAILED = "BC_ERR_UD_CREATION_FAILED";
128:
129: /** ERR: User Domain Initialization failed. */
130: String BC_ERR_UD_INITIALIZATION_FAILED = "BC_ERR_UD_INITIALIZATION_FAILED";
131:
132: /** ERR: Invalid User Domain Instance. */
133: String BC_ERR_UD_CLASS_INVALID = "BC_ERR_UD_CLASS_INVALID";
134:
135: /** ERR: No KMgrs Specified. */
136: String BC_ERR_NO_KM = "BC_ERR_NO_KM";
137:
138: /** ERR: Creation of KeyStore Manager failed. */
139: String BC_ERR_KM_CREATION_FAILED = "BC_ERR_KM_CREATION_FAILED";
140:
141: /** ERR: Initialization of KeyStore Manager failed. */
142: String BC_ERR_KM_INITIALIZATION_FAILED = "BC_ERR_KM_INITIALIZATION_FAILED";
143:
144: /** ERR: Invalid KeyStore Manager Instance. */
145: String BC_ERR_KM_CLASS_INVALID = "BC_ERR_KM_CLASS_INVALID";
146:
147: /** ERR: Key Store Manager missing parameter. */
148: String BC_ERR_KM_MISSING_PROPERTY = "BC_ERR_KM_MISSING_PROPERTY";
149:
150: /** ERR: Invalid Namespace URI. */
151: String BC_ERR_INVALID_NS_URI = "BC_ERR_INVALID_NS_URI";
152:
153: /** ERR: A Message Handler creation failed. */
154: String BC_ERR_MSGHANDLER_CREATION_FAILED = "BC_ERR_MSGHANDLER_CREATION_FAILED";
155:
156: /** ERR: In reading the deployment Security Configuration. */
157: String BC_ERR_READING_DEPLOYMENT_CONFIG = "BC_ERR_READING_DEPLOYMENT_CONFIG";
158:
159: /** ERR: Error reading XWSS Config. */
160: String BC_ERR_READING_XWSS_SEC_CONFIG = "BC_ERR_READING_XWSS_SEC_CONFIG";
161:
162: /** ERR: SAX Parsing error. */
163: String BC_ERR_SAX_PARSING_EX = "BC_ERR_SAX_PARSING_EX";
164:
165: /** ERR: Missing element. */
166: String BC_ERR_MISSING_CONFIG_ELEMENT = "BC_ERR_MISSING_CONFIG_ELEMENT";
167:
168: /** ERR: Defualt Element Missing from Security Service Configuration. */
169: String BC_ERR_DEFAULT_CONFIG_ELEMENT_MISSING = "BC_ERR_DEFAULT_CONFIG_ELEMENT_MISSING";
170:
171: /** ERR: Error occured in processing ( securing/validating ) message. */
172: String ERR_PROCESSING_OUTGOING_MESSAGE = "ERR_PROCESSING_OUTGOING_MESSAGE";
173:
174: /** ERR: Error occured in processing ( securing/validating ) message. */
175: String ERR_PROCESSING_INCOMING_MESSAGE = "ERR_PROCESSING_INCOMING_MESSAGE";
176:
177: /** ERR: The Endpoint deploy config and the deployed endpoint mismatch. */
178: String BC_ERR_INVALID_DEPL_CONFIG = "BC_ERR_INVALID_DEPL_CONFIG";
179:
180: /*-------------------------------------------------------------------------------*\
181: * WARNING Messages *
182: \*-------------------------------------------------------------------------------*/
183:
184: /** WRN: NO User Domains specified. */
185: String BC_WRN_NO_UD = "BC_WRN_NO_UD";
186:
187: /** WRN: No message handler for outbound Endpoint/Operation. */
188: String BC_WRN_NO_OUT_MSG_HNDLR = "BC_WRN_NO_OUT_MSG_HNDLR";
189:
190: /** WRN: No message handler for inbound Endpoint/Operation. */
191: String BC_WRN_NO_IN_MSG_HNDLR = "BC_WRN_NO_IN_MSG_HNDLR";
192:
193: /** WRN: Endpoint is missing in deployment configuration. */
194: String BC_WRN_ENDPT_MISSING = "BC_WRN_ENDPT_MISSING";
195:
196: /** WRN: Parameter could not be added to Security Configuration. */
197: String BC_WRN_FAILED_TO_ADD_PARAM = "BC_WRN_FAILED_TO_ADD_PARAM";
198: }
|