0001: package com.sun.xml.wss.logging.impl.dsig;
0002:
0003: import com.sun.xml.ws.util.localization.Localizable;
0004: import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
0005: import com.sun.xml.ws.util.localization.Localizer;
0006:
0007: /**
0008: * Defines string formatting method for each constant in the resource file
0009: *
0010: */
0011: public final class LogStringsMessages {
0012:
0013: private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
0014: "com.sun.xml.wss.logging.impl.dsig.LogStrings");
0015: private final static Localizer localizer = new Localizer();
0016:
0017: public static Localizable localizableWSS_1349_ERROR_HANDLING_X_509_BINDING() {
0018: return messageFactory
0019: .getMessage("WSS1349.error.handlingX509Binding");
0020: }
0021:
0022: /**
0023: * WSS1349: Error occured handling X509 Binding
0024: *
0025: */
0026: public static String WSS_1349_ERROR_HANDLING_X_509_BINDING() {
0027: return localizer
0028: .localize(localizableWSS_1349_ERROR_HANDLING_X_509_BINDING());
0029: }
0030:
0031: public static Localizable localizableWSS_1359_INVALID_VALUETYPE_NON_SC_TTOKEN() {
0032: return messageFactory
0033: .getMessage("WSS1359.invalid.valuetype.nonSCTtoken");
0034: }
0035:
0036: /**
0037: * WSS1359: Incorrect ValueType specified for a Non SCT Token
0038: *
0039: */
0040: public static String WSS_1359_INVALID_VALUETYPE_NON_SC_TTOKEN() {
0041: return localizer
0042: .localize(localizableWSS_1359_INVALID_VALUETYPE_NON_SC_TTOKEN());
0043: }
0044:
0045: public static Localizable localizableWSS_1369_UNABLE_GET_SIGNATURE_TARGET_BY_URI() {
0046: return messageFactory
0047: .getMessage("WSS1369.unable.get.signatureTarget.by.URI");
0048: }
0049:
0050: /**
0051: * WSS1369: Signature Target with URI is not in the message
0052: *
0053: */
0054: public static String WSS_1369_UNABLE_GET_SIGNATURE_TARGET_BY_URI() {
0055: return localizer
0056: .localize(localizableWSS_1369_UNABLE_GET_SIGNATURE_TARGET_BY_URI());
0057: }
0058:
0059: public static Localizable localizableWSS_1378_UNABLETO_REFER_ISSUE_TOKEN() {
0060: return messageFactory
0061: .getMessage("WSS1378.unableto.refer.IssueToken");
0062: }
0063:
0064: /**
0065: * WSS1378: Cannot determine how to reference the Issued Token in the Message
0066: *
0067: */
0068: public static String WSS_1378_UNABLETO_REFER_ISSUE_TOKEN() {
0069: return localizer
0070: .localize(localizableWSS_1378_UNABLETO_REFER_ISSUE_TOKEN());
0071: }
0072:
0073: public static Localizable localizableWSS_1306_UNSUPPORTED_KEY_IDENTIFIER_REFERENCE_TYPE() {
0074: return messageFactory
0075: .getMessage("WSS1306.unsupported.KeyIdentifier.Reference.Type");
0076: }
0077:
0078: /**
0079: * WSS1306:unsupported KeyIdentifier Reference Type encountered
0080: *
0081: */
0082: public static String WSS_1306_UNSUPPORTED_KEY_IDENTIFIER_REFERENCE_TYPE() {
0083: return localizer
0084: .localize(localizableWSS_1306_UNSUPPORTED_KEY_IDENTIFIER_REFERENCE_TYPE());
0085: }
0086:
0087: public static Localizable localizableWSS_1365_UNABLETO_LOCATE_SECURE_CONVERSATION_SESSION() {
0088: return messageFactory
0089: .getMessage("WSS1365.unableto.locate.SecureConversation.Session");
0090: }
0091:
0092: /**
0093: * WSS1365: Could not locate SecureConversation session for Id
0094: *
0095: */
0096: public static String WSS_1365_UNABLETO_LOCATE_SECURE_CONVERSATION_SESSION() {
0097: return localizer
0098: .localize(localizableWSS_1365_UNABLETO_LOCATE_SECURE_CONVERSATION_SESSION());
0099: }
0100:
0101: public static Localizable localizableWSS_1310_SAML_SIGNATURE_INVALID() {
0102: return messageFactory
0103: .getMessage("WSS1310.saml.signature.invalid");
0104: }
0105:
0106: /**
0107: * WSS1310: The signature in the SAML Assertion is invalid
0108: *
0109: */
0110: public static String WSS_1310_SAML_SIGNATURE_INVALID() {
0111: return localizer
0112: .localize(localizableWSS_1310_SAML_SIGNATURE_INVALID());
0113: }
0114:
0115: public static Localizable localizableWSS_1364_UNABLETO_VALIDATE_CERTIFICATE() {
0116: return messageFactory
0117: .getMessage("WSS1364.unableto.validate.certificate");
0118: }
0119:
0120: /**
0121: * WSS1364: Unable to validate certificate
0122: *
0123: */
0124: public static String WSS_1364_UNABLETO_VALIDATE_CERTIFICATE() {
0125: return localizer
0126: .localize(localizableWSS_1364_UNABLETO_VALIDATE_CERTIFICATE());
0127: }
0128:
0129: public static Localizable localizableWSS_1343_NULL_ISSUED_TOKEN() {
0130: return messageFactory.getMessage("WSS1343.null.IssuedToken");
0131: }
0132:
0133: /**
0134: * WSS1343: Issued Token to be inserted into the Message was Null
0135: *
0136: */
0137: public static String WSS_1343_NULL_ISSUED_TOKEN() {
0138: return localizer
0139: .localize(localizableWSS_1343_NULL_ISSUED_TOKEN());
0140: }
0141:
0142: public static Localizable localizableWSS_1372_NO_ATTACHMENT_FOUND() {
0143: return messageFactory.getMessage("WSS1372.no.attachmentFound");
0144: }
0145:
0146: /**
0147: * WSS1372: No attachment present in the message
0148: *
0149: */
0150: public static String WSS_1372_NO_ATTACHMENT_FOUND() {
0151: return localizer
0152: .localize(localizableWSS_1372_NO_ATTACHMENT_FOUND());
0153: }
0154:
0155: public static Localizable localizableWSS_1358_UNABLETO_LOCATE_SCT_TOKEN() {
0156: return messageFactory
0157: .getMessage("WSS1358.unableto.locate.SCTToken");
0158: }
0159:
0160: /**
0161: * WSS1358: SCTToken with given Id not found
0162: *
0163: */
0164: public static String WSS_1358_UNABLETO_LOCATE_SCT_TOKEN() {
0165: return localizer
0166: .localize(localizableWSS_1358_UNABLETO_LOCATE_SCT_TOKEN());
0167: }
0168:
0169: public static Localizable localizableWSS_1312_UNSUPPORTED_KEYINFO() {
0170: return messageFactory.getMessage("WSS1312.unsupported.keyinfo");
0171: }
0172:
0173: /**
0174: * WSS1312: Unsupported keyinfo block encountered
0175: *
0176: */
0177: public static String WSS_1312_UNSUPPORTED_KEYINFO() {
0178: return localizer
0179: .localize(localizableWSS_1312_UNSUPPORTED_KEYINFO());
0180: }
0181:
0182: public static Localizable localizableWSS_1341_ILLEGAL_UNMATCHED_TYPE_URI() {
0183: return messageFactory
0184: .getMessage("WSS1341.illegal.unmatched.Type.Uri");
0185: }
0186:
0187: /**
0188: * WSS1341: Receiver requirement for SignatureTarget having type and value uri is not met
0189: *
0190: */
0191: public static String WSS_1341_ILLEGAL_UNMATCHED_TYPE_URI() {
0192: return localizer
0193: .localize(localizableWSS_1341_ILLEGAL_UNMATCHED_TYPE_URI());
0194: }
0195:
0196: public static Localizable localizableWSS_1366_UNABLE_GENERATE_SYMMETRIC_KEY_DKT() {
0197: return messageFactory
0198: .getMessage("WSS1366.unable.generateSymmetricKey.DKT");
0199: }
0200:
0201: /**
0202: * WSS1366: Exception occured while trying to generate Symmetric key from Derived Key Token
0203: *
0204: */
0205: public static String WSS_1366_UNABLE_GENERATE_SYMMETRIC_KEY_DKT() {
0206: return localizer
0207: .localize(localizableWSS_1366_UNABLE_GENERATE_SYMMETRIC_KEY_DKT());
0208: }
0209:
0210: public static Localizable localizableWSS_1329_NULL_PRIVATEKEYBINDING_SAML_POLICY() {
0211: return messageFactory
0212: .getMessage("WSS1329.null.privatekeybinding.SAMLPolicy");
0213: }
0214:
0215: /**
0216: * WSS1329: PrivateKey binding not set for SAML Policy by CallbackHandler
0217: *
0218: */
0219: public static String WSS_1329_NULL_PRIVATEKEYBINDING_SAML_POLICY() {
0220: return localizer
0221: .localize(localizableWSS_1329_NULL_PRIVATEKEYBINDING_SAML_POLICY());
0222: }
0223:
0224: public static Localizable localizableWSS_1315_SIGNATURE_VERIFICATION_FAILED() {
0225: return messageFactory
0226: .getMessage("WSS1315.signature.verification.failed");
0227: }
0228:
0229: /**
0230: * WSS1315: Signature Verification Failed
0231: *
0232: */
0233: public static String WSS_1315_SIGNATURE_VERIFICATION_FAILED() {
0234: return localizer
0235: .localize(localizableWSS_1315_SIGNATURE_VERIFICATION_FAILED());
0236: }
0237:
0238: public static Localizable localizableWSS_1317_KEYINFO_NULL() {
0239: return messageFactory.getMessage("WSS1317.keyinfo.null");
0240: }
0241:
0242: /**
0243: * WSS1317: KeyInfo object in SignatureElement is null
0244: *
0245: */
0246: public static String WSS_1317_KEYINFO_NULL() {
0247: return localizer.localize(localizableWSS_1317_KEYINFO_NULL());
0248: }
0249:
0250: public static Localizable localizableWSS_1361_UNSUPPORTED_KEY_NAME_SAML() {
0251: return messageFactory
0252: .getMessage("WSS1361.unsupported.KeyName.SAML");
0253: }
0254:
0255: /**
0256: * WSS1361: Unsupported KeyName under SAML SubjectConfirmation
0257: *
0258: */
0259: public static String WSS_1361_UNSUPPORTED_KEY_NAME_SAML() {
0260: return localizer
0261: .localize(localizableWSS_1361_UNSUPPORTED_KEY_NAME_SAML());
0262: }
0263:
0264: public static Localizable localizableWSS_1322_STR_TRANSFORM() {
0265: return messageFactory.getMessage("WSS1322.str_transform");
0266: }
0267:
0268: /**
0269: * WSS1322: Error occurred when performing STR-TRANSFORM
0270: *
0271: */
0272: public static String WSS_1322_STR_TRANSFORM() {
0273: return localizer.localize(localizableWSS_1322_STR_TRANSFORM());
0274: }
0275:
0276: public static Localizable localizableWSS_1316_SIGN_FAILED() {
0277: return messageFactory.getMessage("WSS1316.sign.failed");
0278: }
0279:
0280: /**
0281: * WSS1316: Sign operation failed.
0282: *
0283: */
0284: public static String WSS_1316_SIGN_FAILED() {
0285: return localizer.localize(localizableWSS_1316_SIGN_FAILED());
0286: }
0287:
0288: public static Localizable localizableWSS_1339_INVALID_RECEIVER_REQUIREMENTS() {
0289: return messageFactory
0290: .getMessage("WSS1339.invalid.ReceiverRequirements");
0291: }
0292:
0293: /**
0294: * WSS1339: Receiver requirement for SignatureTarget is not met
0295: *
0296: */
0297: public static String WSS_1339_INVALID_RECEIVER_REQUIREMENTS() {
0298: return localizer
0299: .localize(localizableWSS_1339_INVALID_RECEIVER_REQUIREMENTS());
0300: }
0301:
0302: public static Localizable localizableWSS_1340_ILLEGAL_UNMATCHED_NOOF_TARGETS() {
0303: return messageFactory
0304: .getMessage("WSS1340.illegal.unmatched.NoofTargets");
0305: }
0306:
0307: /**
0308: * WSS1340: Number of Targets in the message dont match number of Targets in receiver requirements
0309: *
0310: */
0311: public static String WSS_1340_ILLEGAL_UNMATCHED_NOOF_TARGETS() {
0312: return localizer
0313: .localize(localizableWSS_1340_ILLEGAL_UNMATCHED_NOOF_TARGETS());
0314: }
0315:
0316: public static Localizable localizableWSS_1374_FAILEDTO_PRINT_DOCUMENT() {
0317: return messageFactory
0318: .getMessage("WSS1374.failedto.print.document");
0319: }
0320:
0321: /**
0322: * Failed to print document
0323: *
0324: */
0325: public static String WSS_1374_FAILEDTO_PRINT_DOCUMENT() {
0326: return localizer
0327: .localize(localizableWSS_1374_FAILEDTO_PRINT_DOCUMENT());
0328: }
0329:
0330: public static Localizable localizableWSS_1346_ERROR_PREPARING_SYMMETRICKEY_SIGNATURE() {
0331: return messageFactory
0332: .getMessage("WSS1346.error.preparing.symmetrickey.signature");
0333: }
0334:
0335: /**
0336: * WSS1346. Error preparing Symmetric key for Signature
0337: *
0338: */
0339: public static String WSS_1346_ERROR_PREPARING_SYMMETRICKEY_SIGNATURE() {
0340: return localizer
0341: .localize(localizableWSS_1346_ERROR_PREPARING_SYMMETRICKEY_SIGNATURE());
0342: }
0343:
0344: public static Localizable localizableWSS_1325_DSIG_EXTERNALTARGET(
0345: Object arg0) {
0346: return messageFactory.getMessage("WSS1325.dsig.externaltarget",
0347: arg0);
0348: }
0349:
0350: /**
0351: * WSS1325: Unable to resolve external target {0}
0352: *
0353: */
0354: public static String WSS_1325_DSIG_EXTERNALTARGET(Object arg0) {
0355: return localizer
0356: .localize(localizableWSS_1325_DSIG_EXTERNALTARGET(arg0));
0357: }
0358:
0359: public static Localizable localizableWSS_1326_UNSUPPORTED_USERNAMETOKEN_KEYBINDING() {
0360: return messageFactory
0361: .getMessage("WSS1326.unsupported.usernametoken.keybinding");
0362: }
0363:
0364: /**
0365: * WSS1326: UsernameToken as KeyBinding for SignaturePolicy is Not Yet Supported
0366: *
0367: */
0368: public static String WSS_1326_UNSUPPORTED_USERNAMETOKEN_KEYBINDING() {
0369: return localizer
0370: .localize(localizableWSS_1326_UNSUPPORTED_USERNAMETOKEN_KEYBINDING());
0371: }
0372:
0373: public static Localizable localizableWSS_1376_FAILED_VERIFY_POLICY_NO_ELEMENTBY_ID() {
0374: return messageFactory
0375: .getMessage("WSS1376.failed.verify.policy.noElementbyID");
0376: }
0377:
0378: /**
0379: * WSS1376: Policy verification for Signature failed: Element with Id: not found in message
0380: *
0381: */
0382: public static String WSS_1376_FAILED_VERIFY_POLICY_NO_ELEMENTBY_ID() {
0383: return localizer
0384: .localize(localizableWSS_1376_FAILED_VERIFY_POLICY_NO_ELEMENTBY_ID());
0385: }
0386:
0387: public static Localizable localizableWSS_1356_VIOLATION_BSP_R_5204() {
0388: return messageFactory.getMessage("WSS1356.Violation.BSP.R5204");
0389: }
0390:
0391: /**
0392: * WSS1356: Violation of BSP R5204: When a SECURITY_TOKEN_REFERENCE uses a Direct Reference to an INTERNAL_SECURITY_TOKEN, it MUST use a Shorthand XPointer Reference
0393: *
0394: */
0395: public static String WSS_1356_VIOLATION_BSP_R_5204() {
0396: return localizer
0397: .localize(localizableWSS_1356_VIOLATION_BSP_R_5204());
0398: }
0399:
0400: public static Localizable localizableWSS_1348_ILLEGAL_THUMBPRINT_X_509_V_1() {
0401: return messageFactory
0402: .getMessage("WSS1348.illegal.thumbprint.x509v1");
0403: }
0404:
0405: /**
0406: * WSS1348: Thumbprint reference Type is not allowed for X509v1 Certificates
0407: *
0408: */
0409: public static String WSS_1348_ILLEGAL_THUMBPRINT_X_509_V_1() {
0410: return localizer
0411: .localize(localizableWSS_1348_ILLEGAL_THUMBPRINT_X_509_V_1());
0412: }
0413:
0414: public static Localizable localizableWSS_1363_INVALID_SECURITY_TOKEN() {
0415: return messageFactory
0416: .getMessage("WSS1363.invalid.security.token");
0417: }
0418:
0419: /**
0420: * WSS1363: A Invalid security token was provided
0421: *
0422: */
0423: public static String WSS_1363_INVALID_SECURITY_TOKEN() {
0424: return localizer
0425: .localize(localizableWSS_1363_INVALID_SECURITY_TOKEN());
0426: }
0427:
0428: public static Localizable localizableWSS_1367_ILLEGAL_XPATH() {
0429: return messageFactory.getMessage("WSS1367.illegal.xpath");
0430: }
0431:
0432: /**
0433: * WSS1367: XPATH parameters cannot be null
0434: *
0435: */
0436: public static String WSS_1367_ILLEGAL_XPATH() {
0437: return localizer.localize(localizableWSS_1367_ILLEGAL_XPATH());
0438: }
0439:
0440: public static Localizable localizableWSS_1354_NULL_KEY_VALUE() {
0441: return messageFactory.getMessage("WSS1354.null.keyValue");
0442: }
0443:
0444: /**
0445: * No KeyValue element found!
0446: *
0447: */
0448: public static String WSS_1354_NULL_KEY_VALUE() {
0449: return localizer.localize(localizableWSS_1354_NULL_KEY_VALUE());
0450: }
0451:
0452: public static Localizable localizableWSS_1362_EXCEPTION_WS_TRUST_CREATING_BINARY_SECRET() {
0453: return messageFactory
0454: .getMessage("WSS1362.exception.WSTrust.CreatingBinarySecret");
0455: }
0456:
0457: /**
0458: * WSS1362: Exception occured while trying to create BinarySecret
0459: *
0460: */
0461: public static String WSS_1362_EXCEPTION_WS_TRUST_CREATING_BINARY_SECRET() {
0462: return localizer
0463: .localize(localizableWSS_1362_EXCEPTION_WS_TRUST_CREATING_BINARY_SECRET());
0464: }
0465:
0466: public static Localizable localizableWSS_1351_EXCEPTION_KEYSELECTOR_PUBLICKEY() {
0467: return messageFactory
0468: .getMessage("WSS1351.exception.keyselector.publickey");
0469: }
0470:
0471: /**
0472: * WSS1351: Exception occured in getting public key
0473: *
0474: */
0475: public static String WSS_1351_EXCEPTION_KEYSELECTOR_PUBLICKEY() {
0476: return localizer
0477: .localize(localizableWSS_1351_EXCEPTION_KEYSELECTOR_PUBLICKEY());
0478: }
0479:
0480: public static Localizable localizableWSS_1373_FAILEDTO_RESOLVE_ELEMENTBY_ID() {
0481: return messageFactory
0482: .getMessage("WSS1373.failedto.resolve.elementbyID");
0483: }
0484:
0485: /**
0486: * Failed to resolve Element by URI ID
0487: *
0488: */
0489: public static String WSS_1373_FAILEDTO_RESOLVE_ELEMENTBY_ID() {
0490: return localizer
0491: .localize(localizableWSS_1373_FAILEDTO_RESOLVE_ELEMENTBY_ID());
0492: }
0493:
0494: public static Localizable localizableWSS_1311_SAML_TIMESTAMP_INVALID() {
0495: return messageFactory
0496: .getMessage("WSS1311.saml.timestamp.invalid");
0497: }
0498:
0499: /**
0500: * WSS1311: Condition (notBefore, notOnOrAfter) validation failed for SAML assertion
0501: *
0502: */
0503: public static String WSS_1311_SAML_TIMESTAMP_INVALID() {
0504: return localizer
0505: .localize(localizableWSS_1311_SAML_TIMESTAMP_INVALID());
0506: }
0507:
0508: public static Localizable localizableWSS_1319_ACO_TRANSFORM_ERROR() {
0509: return messageFactory.getMessage("WSS1319.aco.transform.error");
0510: }
0511:
0512: /**
0513: * WSS1319: Error occurred in AttachmentComplete Transform
0514: *
0515: */
0516: public static String WSS_1319_ACO_TRANSFORM_ERROR() {
0517: return localizer
0518: .localize(localizableWSS_1319_ACO_TRANSFORM_ERROR());
0519: }
0520:
0521: public static Localizable localizableWSS_1334_ERROR_CREATING_ENCRYPTEDKEY() {
0522: return messageFactory
0523: .getMessage("WSS1334.error.creating.encryptedkey");
0524: }
0525:
0526: /**
0527: * WSS1334: Exception while creating encryptedkey
0528: *
0529: */
0530: public static String WSS_1334_ERROR_CREATING_ENCRYPTEDKEY() {
0531: return localizer
0532: .localize(localizableWSS_1334_ERROR_CREATING_ENCRYPTEDKEY());
0533: }
0534:
0535: public static Localizable localizableWSS_1347_NULL_SECURE_CONVERSATION_TOKEN() {
0536: return messageFactory
0537: .getMessage("WSS1347.null.SecureConversationToken");
0538: }
0539:
0540: /**
0541: * WSS1347: SecureConversation Token not Found
0542: *
0543: */
0544: public static String WSS_1347_NULL_SECURE_CONVERSATION_TOKEN() {
0545: return localizer
0546: .localize(localizableWSS_1347_NULL_SECURE_CONVERSATION_TOKEN());
0547: }
0548:
0549: public static Localizable localizableWSS_1352_EXCEPTION_KEYSELECTOR() {
0550: return messageFactory
0551: .getMessage("WSS1352.exception.keyselector");
0552: }
0553:
0554: /**
0555: * WSS1352: Exception occured in Key selection
0556: *
0557: */
0558: public static String WSS_1352_EXCEPTION_KEYSELECTOR() {
0559: return localizer
0560: .localize(localizableWSS_1352_EXCEPTION_KEYSELECTOR());
0561: }
0562:
0563: public static Localizable localizableWSS_1305_UN_SUPPORTED_SECURITY_TOKEN() {
0564: return messageFactory
0565: .getMessage("WSS1305.UnSupported.security.token");
0566: }
0567:
0568: /**
0569: * WSS1305: Unsupported security token was provided
0570: *
0571: */
0572: public static String WSS_1305_UN_SUPPORTED_SECURITY_TOKEN() {
0573: return localizer
0574: .localize(localizableWSS_1305_UN_SUPPORTED_SECURITY_TOKEN());
0575: }
0576:
0577: public static Localizable localizableWSS_1301_INVALID_DIGEST_ALGO(
0578: Object arg0) {
0579: return messageFactory.getMessage("WSS1301.invalid.digest.algo",
0580: arg0);
0581: }
0582:
0583: /**
0584: * WSS1301: Invalid Digest Algorithm {0} specified
0585: *
0586: */
0587: public static String WSS_1301_INVALID_DIGEST_ALGO(Object arg0) {
0588: return localizer
0589: .localize(localizableWSS_1301_INVALID_DIGEST_ALGO(arg0));
0590: }
0591:
0592: public static Localizable localizableWSS_1303_CID_ERROR() {
0593: return messageFactory.getMessage("WSS1303.cid_error");
0594: }
0595:
0596: /**
0597: * WSS1303: Content-Id is empty or is not wellformed
0598: *
0599: */
0600: public static String WSS_1303_CID_ERROR() {
0601: return localizer.localize(localizableWSS_1303_CID_ERROR());
0602: }
0603:
0604: public static Localizable localizableWSS_1313_ILLEGAL_KEY_VALUE(
0605: Object arg0) {
0606: return messageFactory.getMessage("WSS1313.illegal.key.value",
0607: arg0);
0608: }
0609:
0610: /**
0611: * WSS1313: Key can not be located for the KeyValue (ds:KeyInfo) due to {0}
0612: *
0613: */
0614: public static String WSS_1313_ILLEGAL_KEY_VALUE(Object arg0) {
0615: return localizer
0616: .localize(localizableWSS_1313_ILLEGAL_KEY_VALUE(arg0));
0617: }
0618:
0619: public static Localizable localizableWSS_1320_STR_UN_TRANSFORM_ERROR() {
0620: return messageFactory
0621: .getMessage("WSS1320.str_un.transform.error");
0622: }
0623:
0624: /**
0625: * WSS1320: Error occurred when unmarshaling transformation parameters.
0626: *
0627: */
0628: public static String WSS_1320_STR_UN_TRANSFORM_ERROR() {
0629: return localizer
0630: .localize(localizableWSS_1320_STR_UN_TRANSFORM_ERROR());
0631: }
0632:
0633: public static Localizable localizableWSS_1307_UNSUPPORTED_DIRECTREF_MECHANISM(
0634: Object arg0) {
0635: return messageFactory.getMessage(
0636: "WSS1307.unsupported.directref.mechanism", arg0);
0637: }
0638:
0639: /**
0640: * WSS1307: Unsupported DirectReference mechanism {0}
0641: *
0642: */
0643: public static String WSS_1307_UNSUPPORTED_DIRECTREF_MECHANISM(
0644: Object arg0) {
0645: return localizer
0646: .localize(localizableWSS_1307_UNSUPPORTED_DIRECTREF_MECHANISM(arg0));
0647: }
0648:
0649: public static Localizable localizableWSS_1357_UNABLETO_LOCATE_TOKEN() {
0650: return messageFactory
0651: .getMessage("WSS1357.unableto.locate.Token");
0652: }
0653:
0654: /**
0655: * WSS1357: Token with given Id not found
0656: *
0657: */
0658: public static String WSS_1357_UNABLETO_LOCATE_TOKEN() {
0659: return localizer
0660: .localize(localizableWSS_1357_UNABLETO_LOCATE_TOKEN());
0661: }
0662:
0663: public static Localizable localizableWSS_1327_UNSUPPORTED_ASYMMETRICBINDING_DERIVEDKEY_X_509_TOKEN() {
0664: return messageFactory
0665: .getMessage("WSS1327.unsupported.asymmetricbinding.derivedkey.x509token");
0666: }
0667:
0668: /**
0669: * WSS1327: Asymmetric Binding with DerivedKeys under X509Token Policy Not Yet Supported
0670: *
0671: */
0672: public static String WSS_1327_UNSUPPORTED_ASYMMETRICBINDING_DERIVEDKEY_X_509_TOKEN() {
0673: return localizer
0674: .localize(localizableWSS_1327_UNSUPPORTED_ASYMMETRICBINDING_DERIVEDKEY_X_509_TOKEN());
0675: }
0676:
0677: public static Localizable localizableWSS_1335_UNSUPPORTED_KEYBINDING_SIGNATUREPOLICY() {
0678: return messageFactory
0679: .getMessage("WSS1335.unsupported.keybinding.signaturepolicy");
0680: }
0681:
0682: /**
0683: * WSS1335: Unsupported Key Binding for SignaturePolicy
0684: *
0685: */
0686: public static String WSS_1335_UNSUPPORTED_KEYBINDING_SIGNATUREPOLICY() {
0687: return localizer
0688: .localize(localizableWSS_1335_UNSUPPORTED_KEYBINDING_SIGNATUREPOLICY());
0689: }
0690:
0691: public static Localizable localizableWSS_1318_AC_TRANSFORM_ERROR() {
0692: return messageFactory.getMessage("WSS1318.ac.transform.error");
0693: }
0694:
0695: /**
0696: * WSS1318: Error occurred in AttachmentContentOnly Transform
0697: *
0698: */
0699: public static String WSS_1318_AC_TRANSFORM_ERROR() {
0700: return localizer
0701: .localize(localizableWSS_1318_AC_TRANSFORM_ERROR());
0702: }
0703:
0704: public static Localizable localizableWSS_1308_UNSUPPORTED_REFERENCE_MECHANISM() {
0705: return messageFactory
0706: .getMessage("WSS1308.unsupported.reference.mechanism");
0707: }
0708:
0709: /**
0710: * WSS1308: Unsupported Reference mechanism
0711: *
0712: */
0713: public static String WSS_1308_UNSUPPORTED_REFERENCE_MECHANISM() {
0714: return localizer
0715: .localize(localizableWSS_1308_UNSUPPORTED_REFERENCE_MECHANISM());
0716: }
0717:
0718: public static Localizable localizableWSS_1304_FC_SECURITY_TOKEN_UNAVAILABLE() {
0719: return messageFactory
0720: .getMessage("WSS1304.FC_SECURITY_TOKEN_UNAVAILABLE");
0721: }
0722:
0723: /**
0724: * WSS1304: Referenced Security Token could not be retrieved
0725: *
0726: */
0727: public static String WSS_1304_FC_SECURITY_TOKEN_UNAVAILABLE() {
0728: return localizer
0729: .localize(localizableWSS_1304_FC_SECURITY_TOKEN_UNAVAILABLE());
0730: }
0731:
0732: public static Localizable localizableWSS_1332_NULL_SAML_ASSERTION_SAML_ASSERTION_ID() {
0733: return messageFactory
0734: .getMessage("WSS1332.null.SAMLAssertion.SAMLAssertionId");
0735: }
0736:
0737: /**
0738: * WSS1332: None of SAML Assertion, SAML Assertion Id information was set into the Policy by the CallbackHandler
0739: *
0740: */
0741: public static String WSS_1332_NULL_SAML_ASSERTION_SAML_ASSERTION_ID() {
0742: return localizer
0743: .localize(localizableWSS_1332_NULL_SAML_ASSERTION_SAML_ASSERTION_ID());
0744: }
0745:
0746: public static Localizable localizableWSS_1302_REFLIST_ERROR() {
0747: return messageFactory.getMessage("WSS1302.reflist_error");
0748: }
0749:
0750: /**
0751: * WSS1302: Error occurred while creating reference list object for Receiver requirement
0752: *
0753: */
0754: public static String WSS_1302_REFLIST_ERROR() {
0755: return localizer.localize(localizableWSS_1302_REFLIST_ERROR());
0756: }
0757:
0758: public static Localizable localizableWSS_1371_FAILED_RESOLVE_X_PATH() {
0759: return messageFactory
0760: .getMessage("WSS1371.failed.resolve.XPath");
0761: }
0762:
0763: /**
0764: * WSS1371: Error occured while trying to resolve XPath expression
0765: *
0766: */
0767: public static String WSS_1371_FAILED_RESOLVE_X_PATH() {
0768: return localizer
0769: .localize(localizableWSS_1371_FAILED_RESOLVE_X_PATH());
0770: }
0771:
0772: public static Localizable localizableWSS_1368_ILLEGAL_STR_CANONCALIZATION() {
0773: return messageFactory
0774: .getMessage("WSS1368.illegal.str.canoncalization");
0775: }
0776:
0777: /**
0778: * WSS1368: STR Transform must have a canonicalization method specified
0779: *
0780: */
0781: public static String WSS_1368_ILLEGAL_STR_CANONCALIZATION() {
0782: return localizer
0783: .localize(localizableWSS_1368_ILLEGAL_STR_CANONCALIZATION());
0784: }
0785:
0786: public static Localizable localizableWSS_1355_UNABLETO_RESOLVE_SAML_ASSERTION() {
0787: return messageFactory
0788: .getMessage("WSS1355.unableto.resolve.SAMLAssertion");
0789: }
0790:
0791: /**
0792: * WSS1355: Error occurred while trying to resolve SAML assertion
0793: *
0794: */
0795: public static String WSS_1355_UNABLETO_RESOLVE_SAML_ASSERTION() {
0796: return localizer
0797: .localize(localizableWSS_1355_UNABLETO_RESOLVE_SAML_ASSERTION());
0798: }
0799:
0800: public static Localizable localizableWSS_1342_ILLEGAL_UNMATCHED_TRANSFORMS() {
0801: return messageFactory
0802: .getMessage("WSS1342.illegal.unmatched.transforms");
0803: }
0804:
0805: /**
0806: * WSS1342: Receiver Requirements for the transforms are not met
0807: *
0808: */
0809: public static String WSS_1342_ILLEGAL_UNMATCHED_TRANSFORMS() {
0810: return localizer
0811: .localize(localizableWSS_1342_ILLEGAL_UNMATCHED_TRANSFORMS());
0812: }
0813:
0814: public static Localizable localizableWSS_1300_DSIG_TRANSFORM_PARAM_ERROR() {
0815: return messageFactory
0816: .getMessage("WSS1300.dsig.transform_param.error");
0817: }
0818:
0819: /**
0820: * WSS1300: Error occurred while creating transform object
0821: *
0822: */
0823: public static String WSS_1300_DSIG_TRANSFORM_PARAM_ERROR() {
0824: return localizer
0825: .localize(localizableWSS_1300_DSIG_TRANSFORM_PARAM_ERROR());
0826: }
0827:
0828: public static Localizable localizableWSS_1338_ERROR_VERIFY() {
0829: return messageFactory.getMessage("WSS1338.error.verify");
0830: }
0831:
0832: /**
0833: * WSS1338: Error occured in verifying the signature
0834: *
0835: */
0836: public static String WSS_1338_ERROR_VERIFY() {
0837: return localizer.localize(localizableWSS_1338_ERROR_VERIFY());
0838: }
0839:
0840: public static Localizable localizableWSS_1344_ERROR_LOCATE_ISSUE_TOKEN_MESSAGE() {
0841: return messageFactory
0842: .getMessage("WSS1344.error.locateIssueToken.Message");
0843: }
0844:
0845: /**
0846: * WSS1344: Could not locate Issued Token in Message
0847: *
0848: */
0849: public static String WSS_1344_ERROR_LOCATE_ISSUE_TOKEN_MESSAGE() {
0850: return localizer
0851: .localize(localizableWSS_1344_ERROR_LOCATE_ISSUE_TOKEN_MESSAGE());
0852: }
0853:
0854: public static Localizable localizableWSS_1337_INVALID_EMPTYPREFIXLIST() {
0855: return messageFactory
0856: .getMessage("WSS1337.invalid.Emptyprefixlist");
0857: }
0858:
0859: /**
0860: * WSS1337: Prefix List cannot be empty: violation of BSP 5407
0861: *
0862: */
0863: public static String WSS_1337_INVALID_EMPTYPREFIXLIST() {
0864: return localizer
0865: .localize(localizableWSS_1337_INVALID_EMPTYPREFIXLIST());
0866: }
0867:
0868: public static Localizable localizableWSS_1333_UNSUPPORTED_KEYIDENTIFER_X_509_V_1() {
0869: return messageFactory
0870: .getMessage("WSS1333.unsupported.keyidentifer.X509v1");
0871: }
0872:
0873: /**
0874: * WSS1333: Key Identifier strategy in X509v1 is not supported
0875: *
0876: */
0877: public static String WSS_1333_UNSUPPORTED_KEYIDENTIFER_X_509_V_1() {
0878: return localizer
0879: .localize(localizableWSS_1333_UNSUPPORTED_KEYIDENTIFER_X_509_V_1());
0880: }
0881:
0882: public static Localizable localizableWSS_1314_ILLEGAL_X_509_DATA(
0883: Object arg0) {
0884: return messageFactory.getMessage("WSS1314.illegal.x509.data",
0885: arg0);
0886: }
0887:
0888: /**
0889: * WSS1314: Key can not be located for the X509Data (ds:KeyInfo) due to {0}
0890: *
0891: */
0892: public static String WSS_1314_ILLEGAL_X_509_DATA(Object arg0) {
0893: return localizer
0894: .localize(localizableWSS_1314_ILLEGAL_X_509_DATA(arg0));
0895: }
0896:
0897: public static Localizable localizableWSS_1377_ERROR_IN_RESOLVING_KEYINFO() {
0898: return messageFactory
0899: .getMessage("WSS1377.error.in.resolving.keyinfo");
0900: }
0901:
0902: /**
0903: * WSS1377: An Execption occured while trying to resolve KeyInfo
0904: *
0905: */
0906: public static String WSS_1377_ERROR_IN_RESOLVING_KEYINFO() {
0907: return localizer
0908: .localize(localizableWSS_1377_ERROR_IN_RESOLVING_KEYINFO());
0909: }
0910:
0911: public static Localizable localizableWSS_1330_NULL_PRIVATEKEY_SAML_POLICY() {
0912: return messageFactory
0913: .getMessage("WSS1330.null.privatekey.SAMLPolicy");
0914: }
0915:
0916: /**
0917: * WSS1330: PrivateKey null inside PrivateKeyBinding set for SAML Policy
0918: *
0919: */
0920: public static String WSS_1330_NULL_PRIVATEKEY_SAML_POLICY() {
0921: return localizer
0922: .localize(localizableWSS_1330_NULL_PRIVATEKEY_SAML_POLICY());
0923: }
0924:
0925: public static Localizable localizableWSS_1323_DSIG_KEYINFO_FACTORY() {
0926: return messageFactory
0927: .getMessage("WSS1323.dsig.keyinfo.factory");
0928: }
0929:
0930: /**
0931: * WSS1323: Error occurred while instantiating XML Digital Signature KeyInfo factory
0932: *
0933: */
0934: public static String WSS_1323_DSIG_KEYINFO_FACTORY() {
0935: return localizer
0936: .localize(localizableWSS_1323_DSIG_KEYINFO_FACTORY());
0937: }
0938:
0939: public static Localizable localizableWSS_1336_ILLEGAL_ENVELOPEDSIGNATURE() {
0940: return messageFactory
0941: .getMessage("WSS1336.illegal.envelopedsignature");
0942: }
0943:
0944: /**
0945: * WSS1336: Enveloped signatures not permitted by BSP
0946: *
0947: */
0948: public static String WSS_1336_ILLEGAL_ENVELOPEDSIGNATURE() {
0949: return localizer
0950: .localize(localizableWSS_1336_ILLEGAL_ENVELOPEDSIGNATURE());
0951: }
0952:
0953: public static Localizable localizableWSS_1345_UNSUPPORTED_DERIVEDKEYS_SAML_TOKEN() {
0954: return messageFactory
0955: .getMessage("WSS1345.unsupported.derivedkeys.SAMLToken");
0956: }
0957:
0958: /**
0959: * WSS1345: DerivedKeys with SAMLToken not yet supported
0960: *
0961: */
0962: public static String WSS_1345_UNSUPPORTED_DERIVEDKEYS_SAML_TOKEN() {
0963: return localizer
0964: .localize(localizableWSS_1345_UNSUPPORTED_DERIVEDKEYS_SAML_TOKEN());
0965: }
0966:
0967: public static Localizable localizableWSS_1353_UNABLE_RESOLVE_KEY_INFORMATION() {
0968: return messageFactory
0969: .getMessage("WSS1353.unable.resolve.keyInformation");
0970: }
0971:
0972: /**
0973: * WSS1353: Error occurred while resolving key information
0974: *
0975: */
0976: public static String WSS_1353_UNABLE_RESOLVE_KEY_INFORMATION() {
0977: return localizer
0978: .localize(localizableWSS_1353_UNABLE_RESOLVE_KEY_INFORMATION());
0979: }
0980:
0981: public static Localizable localizableWSS_1350_ILLEGAL_BSP_VIOLATION_KEY_INFO() {
0982: return messageFactory
0983: .getMessage("WSS1350.illegal.BSP.Violation.KeyInfo");
0984: }
0985:
0986: /**
0987: * WSS1350: BSP Violation of R5402: KeyInfo MUST have exactly one child
0988: *
0989: */
0990: public static String WSS_1350_ILLEGAL_BSP_VIOLATION_KEY_INFO() {
0991: return localizer
0992: .localize(localizableWSS_1350_ILLEGAL_BSP_VIOLATION_KEY_INFO());
0993: }
0994:
0995: public static Localizable localizableWSS_1370_FAILED_PROCESS_HEADER() {
0996: return messageFactory
0997: .getMessage("WSS1370.failed.process.header");
0998: }
0999:
1000: /**
1001: * WSS1370: Failed to process headers of SOAP Message
1002: *
1003: */
1004: public static String WSS_1370_FAILED_PROCESS_HEADER() {
1005: return localizer
1006: .localize(localizableWSS_1370_FAILED_PROCESS_HEADER());
1007: }
1008:
1009: public static Localizable localizableWSS_1328_ILLEGAL_CERTIFICATE_KEY_NULL() {
1010: return messageFactory
1011: .getMessage("WSS1328.illegal.Certificate.key.null");
1012: }
1013:
1014: /**
1015: * WSSW1328: Requestor Certificate and Proof Key are both null for Issued Token
1016: *
1017: */
1018: public static String WSS_1328_ILLEGAL_CERTIFICATE_KEY_NULL() {
1019: return localizer
1020: .localize(localizableWSS_1328_ILLEGAL_CERTIFICATE_KEY_NULL());
1021: }
1022:
1023: public static Localizable localizableWSS_1375_NO_SIGNEDPARTS() {
1024: return messageFactory.getMessage("WSS1375.no.signedparts");
1025: }
1026:
1027: /**
1028: * WSS1375: No Signed Parts found in the Message
1029: *
1030: */
1031: public static String WSS_1375_NO_SIGNEDPARTS() {
1032: return localizer.localize(localizableWSS_1375_NO_SIGNEDPARTS());
1033: }
1034:
1035: public static Localizable localizableWSS_1324_DSIG_FACTORY() {
1036: return messageFactory.getMessage("WSS1324.dsig.factory");
1037: }
1038:
1039: /**
1040: * WSS1324: Error occurred while instantiating XML Digital Signature SignatureFactory
1041: *
1042: */
1043: public static String WSS_1324_DSIG_FACTORY() {
1044: return localizer.localize(localizableWSS_1324_DSIG_FACTORY());
1045: }
1046:
1047: public static Localizable localizableWSS_1360_INVALID_DERIVED_KEY_TOKEN() {
1048: return messageFactory
1049: .getMessage("WSS1360.invalid.DerivedKeyToken");
1050: }
1051:
1052: /**
1053: * WSS1360: A derived Key Token should be a top level key binding
1054: *
1055: */
1056: public static String WSS_1360_INVALID_DERIVED_KEY_TOKEN() {
1057: return localizer
1058: .localize(localizableWSS_1360_INVALID_DERIVED_KEY_TOKEN());
1059: }
1060:
1061: public static Localizable localizableWSS_1309_SAML_SIGNATURE_VERIFY_FAILED() {
1062: return messageFactory
1063: .getMessage("WSS1309.saml.signature.verify.failed");
1064: }
1065:
1066: /**
1067: * WSS1309: Exception during Signature verfication in SAML Assertion
1068: *
1069: */
1070: public static String WSS_1309_SAML_SIGNATURE_VERIFY_FAILED() {
1071: return localizer
1072: .localize(localizableWSS_1309_SAML_SIGNATURE_VERIFY_FAILED());
1073: }
1074:
1075: public static Localizable localizableWSS_1321_STR_MARSHAL_TRANSFORM_ERROR() {
1076: return messageFactory
1077: .getMessage("WSS1321.str_marshal.transform.error");
1078: }
1079:
1080: /**
1081: * WSS1321: Error occurred during initialization of STR-Transform
1082: *
1083: */
1084: public static String WSS_1321_STR_MARSHAL_TRANSFORM_ERROR() {
1085: return localizer
1086: .localize(localizableWSS_1321_STR_MARSHAL_TRANSFORM_ERROR());
1087: }
1088:
1089: public static Localizable localizableWSS_1331_UNSUPPORTED_EMBEDDED_REFERENCE_SAML() {
1090: return messageFactory
1091: .getMessage("WSS1331.unsupported.EmbeddedReference.SAML");
1092: }
1093:
1094: /**
1095: * WSS1331: Embedded Reference Type for SAML Assertions not supported yet
1096: *
1097: */
1098: public static String WSS_1331_UNSUPPORTED_EMBEDDED_REFERENCE_SAML() {
1099: return localizer
1100: .localize(localizableWSS_1331_UNSUPPORTED_EMBEDDED_REFERENCE_SAML());
1101: }
1102:
1103: }
|