Source Code Cross Referenced for LogStringsMessages.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » logging » impl » misc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » xws security » com.sun.xml.wss.logging.impl.misc 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.sun.xml.wss.logging.impl.misc;
002:
003:        import com.sun.xml.ws.util.localization.Localizable;
004:        import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
005:        import com.sun.xml.ws.util.localization.Localizer;
006:
007:        /**
008:         * Defines string formatting method for each constant in the resource file
009:         * 
010:         */
011:        public final class LogStringsMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.wss.logging.impl.misc.LogStrings");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableWSS_1527_X_509_NOT_VALID() {
018:                return messageFactory.getMessage("WSS1527.X509.notValid");
019:            }
020:
021:            /**
022:             * WSS1527: X509Certificate's Validity Failed.
023:             * 
024:             */
025:            public static String WSS_1527_X_509_NOT_VALID() {
026:                return localizer
027:                        .localize(localizableWSS_1527_X_509_NOT_VALID());
028:            }
029:
030:            public static Localizable localizableWSS_1507_NO_SAML_CALLBACK_HANDLER() {
031:                return messageFactory
032:                        .getMessage("WSS1507.no.SAMLCallbackHandler");
033:            }
034:
035:            /**
036:             * WSS1507: A Required SAML Callback Handler was not specified in configuration : Cannot Populate SAML Assertion
037:             * 
038:             */
039:            public static String WSS_1507_NO_SAML_CALLBACK_HANDLER() {
040:                return localizer
041:                        .localize(localizableWSS_1507_NO_SAML_CALLBACK_HANDLER());
042:            }
043:
044:            public static Localizable localizableWSS_1506_INVALID_SAML_POLICY() {
045:                return messageFactory.getMessage("WSS1506.invalid.SAMLPolicy");
046:            }
047:
048:            /**
049:             * WSS1506: SAML Assertion not present in the Policy.
050:             * 
051:             */
052:            public static String WSS_1506_INVALID_SAML_POLICY() {
053:                return localizer
054:                        .localize(localizableWSS_1506_INVALID_SAML_POLICY());
055:            }
056:
057:            public static Localizable localizableWSS_1525_INVALID_PASSWORD_HANDLER() {
058:                return messageFactory
059:                        .getMessage("WSS1525.invalid.passwordHandler");
060:            }
061:
062:            /**
063:             * WSS1525: Password Handler Not Configured properly using Callback and is null.(not configured)
064:             * 
065:             */
066:            public static String WSS_1525_INVALID_PASSWORD_HANDLER() {
067:                return localizer
068:                        .localize(localizableWSS_1525_INVALID_PASSWORD_HANDLER());
069:            }
070:
071:            public static Localizable localizableWSS_1521_ERROR_GETTING_USER_CLASS() {
072:                return messageFactory
073:                        .getMessage("WSS1521.error.getting.userClass");
074:            }
075:
076:            /**
077:             * WSS1512: Could not find User Class
078:             * 
079:             */
080:            public static String WSS_1521_ERROR_GETTING_USER_CLASS() {
081:                return localizer
082:                        .localize(localizableWSS_1521_ERROR_GETTING_USER_CLASS());
083:            }
084:
085:            public static Localizable localizableWSS_1513_EXCEPTION_VALIDATE_TIMESTAMP() {
086:                return messageFactory
087:                        .getMessage("WSS1513.exception.validate.timestamp");
088:            }
089:
090:            /**
091:             * WSS1513: Exception occured in Timestamp validation: An Error occurred while parsing UTC Timestamp into Date format.
092:             * 
093:             */
094:            public static String WSS_1513_EXCEPTION_VALIDATE_TIMESTAMP() {
095:                return localizer
096:                        .localize(localizableWSS_1513_EXCEPTION_VALIDATE_TIMESTAMP());
097:            }
098:
099:            public static Localizable localizableWSS_1526_FAILEDTO_GETCERTIFICATE() {
100:                return messageFactory
101:                        .getMessage("WSS1526.failedto.getcertificate");
102:            }
103:
104:            /**
105:             * WSS1526: IO Exception occured: failed to get certificate from truststore
106:             * 
107:             */
108:            public static String WSS_1526_FAILEDTO_GETCERTIFICATE() {
109:                return localizer
110:                        .localize(localizableWSS_1526_FAILEDTO_GETCERTIFICATE());
111:            }
112:
113:            public static Localizable localizableWSS_1517_X_509_EXPIRED() {
114:                return messageFactory.getMessage("WSS1517.X509.expired");
115:            }
116:
117:            /**
118:             * WSS1517: X509Certificate Expired.
119:             * 
120:             */
121:            public static String WSS_1517_X_509_EXPIRED() {
122:                return localizer.localize(localizableWSS_1517_X_509_EXPIRED());
123:            }
124:
125:            public static Localizable localizableWSS_1504_UNSUPPORTED_CALLBACK_TYPE() {
126:                return messageFactory
127:                        .getMessage("WSS1504.unsupported.callbackType");
128:            }
129:
130:            /**
131:             * WSS1504: Unsupported Callback Type Encountered
132:             * 
133:             */
134:            public static String WSS_1504_UNSUPPORTED_CALLBACK_TYPE() {
135:                return localizer
136:                        .localize(localizableWSS_1504_UNSUPPORTED_CALLBACK_TYPE());
137:            }
138:
139:            public static Localizable localizableWSS_1532_EXCEPTION_INSTANTIATING_ALIASSELECTOR() {
140:                return messageFactory
141:                        .getMessage("WSS1532.exception.instantiating.aliasselector");
142:            }
143:
144:            /**
145:             * WSS1532: Exception occured while instantiating User supplied AliasSelector
146:             * 
147:             */
148:            public static String WSS_1532_EXCEPTION_INSTANTIATING_ALIASSELECTOR() {
149:                return localizer
150:                        .localize(localizableWSS_1532_EXCEPTION_INSTANTIATING_ALIASSELECTOR());
151:            }
152:
153:            public static Localizable localizableWSS_1509_FAILED_INIT_TRUSTSTORE() {
154:                return messageFactory
155:                        .getMessage("WSS1509.failed.init.truststore");
156:            }
157:
158:            /**
159:             * WSS1509: Failed to initialize Trust store
160:             * 
161:             */
162:            public static String WSS_1509_FAILED_INIT_TRUSTSTORE() {
163:                return localizer
164:                        .localize(localizableWSS_1509_FAILED_INIT_TRUSTSTORE());
165:            }
166:
167:            public static Localizable localizableWSS_1502_UNSUPPORTED_DIGEST_AUTH() {
168:                return messageFactory
169:                        .getMessage("WSS1502.unsupported.digestAuth");
170:            }
171:
172:            /**
173:             * WSS1502: Digest Authentication for Password Request is Not Supported
174:             * 
175:             */
176:            public static String WSS_1502_UNSUPPORTED_DIGEST_AUTH() {
177:                return localizer
178:                        .localize(localizableWSS_1502_UNSUPPORTED_DIGEST_AUTH());
179:            }
180:
181:            public static Localizable localizableWSS_1511_FAILED_LOCATE_PEER_CERTIFICATE() {
182:                return messageFactory
183:                        .getMessage("WSS1511.failed.locate.peerCertificate");
184:            }
185:
186:            /**
187:             * WSS1511: An Error occurred while locating PEER Entity certificate in TrustStore.
188:             * 
189:             */
190:            public static String WSS_1511_FAILED_LOCATE_PEER_CERTIFICATE() {
191:                return localizer
192:                        .localize(localizableWSS_1511_FAILED_LOCATE_PEER_CERTIFICATE());
193:            }
194:
195:            public static Localizable localizableWSS_1523_ERROR_GETTING_NEW_INSTANCE_CALLBACK_HANDLER() {
196:                return messageFactory
197:                        .getMessage("WSS1523.error.getting.newInstance.CallbackHandler");
198:            }
199:
200:            /**
201:             * WSS1523: Error getting new instance of callback handler
202:             * 
203:             */
204:            public static String WSS_1523_ERROR_GETTING_NEW_INSTANCE_CALLBACK_HANDLER() {
205:                return localizer
206:                        .localize(localizableWSS_1523_ERROR_GETTING_NEW_INSTANCE_CALLBACK_HANDLER());
207:            }
208:
209:            public static Localizable localizableWSS_1518_FAILEDTO_VALIDATE_CERTIFICATE() {
210:                return messageFactory
211:                        .getMessage("WSS1518.failedto.validate.certificate");
212:            }
213:
214:            /**
215:             * WSS1518: Failed to validate certificate
216:             * 
217:             */
218:            public static String WSS_1518_FAILEDTO_VALIDATE_CERTIFICATE() {
219:                return localizer
220:                        .localize(localizableWSS_1518_FAILEDTO_VALIDATE_CERTIFICATE());
221:            }
222:
223:            public static Localizable localizableWSS_1512_FAILED_LOCATE_CERTIFICATE_PRIVATEKEY() {
224:                return messageFactory
225:                        .getMessage("WSS1512.failed.locate.certificate.privatekey");
226:            }
227:
228:            /**
229:             * WSS1512: An Error occurred while locating default certificate and privateKey in KeyStore.
230:             * 
231:             */
232:            public static String WSS_1512_FAILED_LOCATE_CERTIFICATE_PRIVATEKEY() {
233:                return localizer
234:                        .localize(localizableWSS_1512_FAILED_LOCATE_CERTIFICATE_PRIVATEKEY());
235:            }
236:
237:            public static Localizable localizableWSS_1522_ERROR_GETTING_LONG_VALUE() {
238:                return messageFactory
239:                        .getMessage("WSS1522.error.getting.longValue");
240:            }
241:
242:            /**
243:             * WSS1522: Error getting long value
244:             * 
245:             */
246:            public static String WSS_1522_ERROR_GETTING_LONG_VALUE() {
247:                return localizer
248:                        .localize(localizableWSS_1522_ERROR_GETTING_LONG_VALUE());
249:            }
250:
251:            public static Localizable localizableWSS_1519_NO_DIGEST_ALGORITHM() {
252:                return messageFactory.getMessage("WSS1519.no.digest.algorithm");
253:            }
254:
255:            /**
256:             * WSS1519: Digest algorithm SHA-1 not found
257:             * 
258:             */
259:            public static String WSS_1519_NO_DIGEST_ALGORITHM() {
260:                return localizer
261:                        .localize(localizableWSS_1519_NO_DIGEST_ALGORITHM());
262:            }
263:
264:            public static Localizable localizableWSS_1528_FAILED_INITIALIZE_KEY_PASSWORD() {
265:                return messageFactory
266:                        .getMessage("WSS1528.failed.initialize.key.password");
267:            }
268:
269:            /**
270:             * WSS1528: An Error occurred while obtaining Key Password of the Keystore.
271:             * 
272:             */
273:            public static String WSS_1528_FAILED_INITIALIZE_KEY_PASSWORD() {
274:                return localizer
275:                        .localize(localizableWSS_1528_FAILED_INITIALIZE_KEY_PASSWORD());
276:            }
277:
278:            public static Localizable localizableWSS_1529_EXCEPTION_IN_CERTSTORE_CALLBACK() {
279:                return messageFactory
280:                        .getMessage("WSS1529.exception.in.certstore.callback");
281:            }
282:
283:            /**
284:             * WSS1529: Exception in CertStoreCallback 
285:             * 
286:             */
287:            public static String WSS_1529_EXCEPTION_IN_CERTSTORE_CALLBACK() {
288:                return localizer
289:                        .localize(localizableWSS_1529_EXCEPTION_IN_CERTSTORE_CALLBACK());
290:            }
291:
292:            public static Localizable localizableWSS_1505_FAILEDTO_GETKEY() {
293:                return messageFactory.getMessage("WSS1505.failedto.getkey");
294:            }
295:
296:            /**
297:             * WSS1505: IO Exception occured: failed to get key/certificate from keystore (not necesaarily i/o excep)
298:             * 
299:             */
300:            public static String WSS_1505_FAILEDTO_GETKEY() {
301:                return localizer
302:                        .localize(localizableWSS_1505_FAILEDTO_GETKEY());
303:            }
304:
305:            public static Localizable localizableWSS_1503_UNSUPPORTED_REQUESTTYPE() {
306:                return messageFactory
307:                        .getMessage("WSS1503.unsupported.requesttype");
308:            }
309:
310:            /**
311:             * WSS1503: Unsupported Request Type for Password Validation
312:             * 
313:             */
314:            public static String WSS_1503_UNSUPPORTED_REQUESTTYPE() {
315:                return localizer
316:                        .localize(localizableWSS_1503_UNSUPPORTED_REQUESTTYPE());
317:            }
318:
319:            public static Localizable localizableWSS_1500_INVALID_USERNAME_HANDLER() {
320:                return messageFactory
321:                        .getMessage("WSS1500.invalid.usernameHandler");
322:            }
323:
324:            /**
325:             * WSS1500: Username Handler Not Configured properly using Callback and is null. (not cofigured)
326:             * 
327:             */
328:            public static String WSS_1500_INVALID_USERNAME_HANDLER() {
329:                return localizer
330:                        .localize(localizableWSS_1500_INVALID_USERNAME_HANDLER());
331:            }
332:
333:            public static Localizable localizableWSS_1531_EXCEPTION_INSTANTIATING_CERTSELECTOR() {
334:                return messageFactory
335:                        .getMessage("WSS1531.exception.instantiating.certselector");
336:            }
337:
338:            /**
339:             * WSS1531: Exception occured while instantiating User supplied CertSelector
340:             * 
341:             */
342:            public static String WSS_1531_EXCEPTION_INSTANTIATING_CERTSELECTOR() {
343:                return localizer
344:                        .localize(localizableWSS_1531_EXCEPTION_INSTANTIATING_CERTSELECTOR());
345:            }
346:
347:            public static Localizable localizableWSS_1520_ERROR_GETTING_RAW_CONTENT() {
348:                return messageFactory
349:                        .getMessage("WSS1520.error.getting.rawContent");
350:            }
351:
352:            /**
353:             * WSS1520: Error while getting certificate's raw content
354:             * 
355:             */
356:            public static String WSS_1520_ERROR_GETTING_RAW_CONTENT() {
357:                return localizer
358:                        .localize(localizableWSS_1520_ERROR_GETTING_RAW_CONTENT());
359:            }
360:
361:            public static Localizable localizableWSS_1530_EXCEPTION_IN_CERTSTORE_LOOKUP() {
362:                return messageFactory
363:                        .getMessage("WSS1530.exception.in.certstore.lookup");
364:            }
365:
366:            /**
367:             * WSS1530: Exception occured while looking up the CertStore 
368:             * 
369:             */
370:            public static String WSS_1530_EXCEPTION_IN_CERTSTORE_LOOKUP() {
371:                return localizer
372:                        .localize(localizableWSS_1530_EXCEPTION_IN_CERTSTORE_LOOKUP());
373:            }
374:
375:            public static Localizable localizableWSS_1524_UNABLETO_RESOLVE_URI_WSIT_HOME_NOTSET() {
376:                return messageFactory
377:                        .getMessage("WSS1524.unableto.resolve.URI.WSIT_HOME.notset");
378:            }
379:
380:            /**
381:             * WSS1524: The specified config URL in the WSDL could not be resolved because System Property WSIT_HOME was not set
382:             * 
383:             */
384:            public static String WSS_1524_UNABLETO_RESOLVE_URI_WSIT_HOME_NOTSET() {
385:                return localizer
386:                        .localize(localizableWSS_1524_UNABLETO_RESOLVE_URI_WSIT_HOME_NOTSET());
387:            }
388:
389:            public static Localizable localizableWSS_1508_FAILED_VALIDATE_SAML_ASSERTION() {
390:                return messageFactory
391:                        .getMessage("WSS1508.failed.validateSAMLAssertion");
392:            }
393:
394:            /**
395:             * WSS1508: Failed to validate SAML Assertion
396:             * 
397:             */
398:            public static String WSS_1508_FAILED_VALIDATE_SAML_ASSERTION() {
399:                return localizer
400:                        .localize(localizableWSS_1508_FAILED_VALIDATE_SAML_ASSERTION());
401:            }
402:
403:            public static Localizable localizableWSS_1516_ERROR_CREATION_AHEAD_CURRENT_TIME() {
404:                return messageFactory
405:                        .getMessage("WSS1516.error.creationAheadCurrent.time");
406:            }
407:
408:            /**
409:             * WSS1516: The creation time is ahead of the current time
410:             * 
411:             */
412:            public static String WSS_1516_ERROR_CREATION_AHEAD_CURRENT_TIME() {
413:                return localizer
414:                        .localize(localizableWSS_1516_ERROR_CREATION_AHEAD_CURRENT_TIME());
415:            }
416:
417:            public static Localizable localizableWSS_1514_ERROR_AHEAD_CURRENT_TIME() {
418:                return messageFactory
419:                        .getMessage("WSS1514.error.aheadCurrentTime");
420:            }
421:
422:            /**
423:             * WSS1514: The current time is ahead of the expiration time in Timestamp"
424:             * 
425:             */
426:            public static String WSS_1514_ERROR_AHEAD_CURRENT_TIME() {
427:                return localizer
428:                        .localize(localizableWSS_1514_ERROR_AHEAD_CURRENT_TIME());
429:            }
430:
431:            public static Localizable localizableWSS_1501_NO_PASSWORD_VALIDATOR() {
432:                return messageFactory
433:                        .getMessage("WSS1501.no.password.validator");
434:            }
435:
436:            /**
437:             * WSS1501: Password Validator Not Specified in Configuration
438:             * 
439:             */
440:            public static String WSS_1501_NO_PASSWORD_VALIDATOR() {
441:                return localizer
442:                        .localize(localizableWSS_1501_NO_PASSWORD_VALIDATOR());
443:            }
444:
445:            public static Localizable localizableWSS_1515_ERROR_CURRENT_TIME() {
446:                return messageFactory.getMessage("WSS1515.error.currentTime");
447:            }
448:
449:            /**
450:             * WSS1515: The creation time is older than currenttime - timestamp-freshness-limit - max-clock-skew"
451:             * 
452:             */
453:            public static String WSS_1515_ERROR_CURRENT_TIME() {
454:                return localizer
455:                        .localize(localizableWSS_1515_ERROR_CURRENT_TIME());
456:            }
457:
458:            public static Localizable localizableWSS_1510_FAILED_INIT_KEYSTORE() {
459:                return messageFactory
460:                        .getMessage("WSS1510.failed.init.keystore");
461:            }
462:
463:            /**
464:             * WSS1510: Failed to initialize Key store
465:             * 
466:             */
467:            public static String WSS_1510_FAILED_INIT_KEYSTORE() {
468:                return localizer
469:                        .localize(localizableWSS_1510_FAILED_INIT_KEYSTORE());
470:            }
471:
472:        }
w___w_w.___j___a__v___a__2s_.c___om_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.