001: /*
002: * $Id: LogDomainConstants.java,v 1.6 2007/02/05 17:27:25 ashutoshshahi Exp $
003: */
004:
005: /*
006: * The contents of this file are subject to the terms
007: * of the Common Development and Distribution License
008: * (the License). You may not use this file except in
009: * compliance with the License.
010: *
011: * You can obtain a copy of the license at
012: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
013: * See the License for the specific language governing
014: * permissions and limitations under the License.
015: *
016: * When distributing Covered Code, include this CDDL
017: * Header Notice in each file and include the License file
018: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
019: * If applicable, add the following below the CDDL Header,
020: * with the fields enclosed by brackets [] replaced by
021: * you own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
025: */
026:
027: package com.sun.xml.wss.logging;
028:
029: import com.sun.xml.wss.*;
030: import java.util.logging.Logger;
031:
032: /**
033: * @author XWS-Security Team
034: *
035: * This interface defines a number of constants pertaining to Logging domains.
036: */
037:
038: public interface LogDomainConstants {
039:
040: public static final String MODULE_TOP_LEVEL_DOMAIN = "javax.enterprise.resource.xml.webservices.security";
041:
042: public static final String WSS_API_DOMAIN = MODULE_TOP_LEVEL_DOMAIN;
043:
044: public static String CONFIGURATION_DOMAIN = MODULE_TOP_LEVEL_DOMAIN;
045:
046: public static String FILTER_DOMAIN = MODULE_TOP_LEVEL_DOMAIN;
047:
048: public static final String PACKAGE_ROOT = "com.sun.xml.wss.logging";
049:
050: public static final String WSS_API_DOMAIN_BUNDLE = PACKAGE_ROOT
051: + ".LogStrings";
052:
053: public static final String FILTER_DOMAIN_BUNDLE = PACKAGE_ROOT
054: + ".LogStrings";
055:
056: public static final String CONFIGURATION_DOMAIN_BUNDLE = PACKAGE_ROOT
057: + ".LogStrings";
058:
059: public static final String SAML_API_DOMAIN = MODULE_TOP_LEVEL_DOMAIN
060: + ".saml";
061:
062: public static final String SAML_API_DOMAIN_BUNDLE = PACKAGE_ROOT
063: + ".saml" + ".LogStrings";
064:
065: public static final String MISC_API_DOMAIN_BUNDLE = PACKAGE_ROOT
066: + ".misc" + ".LogStrings";
067:
068: public static final String IMPL_DOMAIN = PACKAGE_ROOT + ".impl";
069:
070: public static final String IMPL_DOMAIN_BUNDLE = PACKAGE_ROOT
071: + ".LogStrings";
072: public static final String IMPL_SIGNATURE_DOMAIN = IMPL_DOMAIN
073: + ".dsig";
074: public static final String IMPL_SIGNATURE_DOMAIN_BUNDLE = IMPL_SIGNATURE_DOMAIN
075: + ".LogStrings";
076:
077: public static final String IMPL_MISC_DOMAIN = IMPL_DOMAIN + ".misc";
078: public static final String IMPL_MISC_DOMAIN_BUNDLE = IMPL_MISC_DOMAIN
079: + ".LogStrings";
080:
081: public static final String IMPL_CRYPTO_DOMAIN = IMPL_DOMAIN
082: + ".crypto";
083: public static final String IMPL_CRYPTO_DOMAIN_BUNDLE = IMPL_CRYPTO_DOMAIN
084: + ".LogStrings";
085:
086: public static final String IMPL_CANON_DOMAIN = IMPL_DOMAIN
087: + ".c14n";
088: public static final String IMPL_CANON_DOMAIN_BUNDLE = IMPL_CANON_DOMAIN
089: + ".LogStrings";
090:
091: public static final String IMPL_CONFIG_DOMAIN = IMPL_DOMAIN
092: + ".configuration";
093: public static final String IMPL_CONFIG_DOMAIN_BUNDLE = IMPL_CONFIG_DOMAIN
094: + ".LogStrings";
095:
096: public static final String IMPL_FILTER_DOMAIN = IMPL_DOMAIN
097: + ".filter";
098: public static final String IMPL_FILTER_DOMAIN_BUNDLE = IMPL_FILTER_DOMAIN
099: + ".LogStrings";
100:
101: public static final String IMPL_OPT_DOMAIN = IMPL_DOMAIN + ".opt";
102: public static final String IMPL_OPT_DOMAIN_BUNDLE = IMPL_OPT_DOMAIN
103: + ".LogStrings";
104:
105: public static final String IMPL_OPT_SIGNATURE_DOMAIN = IMPL_OPT_DOMAIN
106: + ".signature";
107: public static final String IMPL_OPT_SIGNATURE_DOMAIN_BUNDLE = IMPL_OPT_SIGNATURE_DOMAIN
108: + ".LogStrings";
109:
110: public static final String IMPL_OPT_CRYPTO_DOMAIN = IMPL_OPT_DOMAIN
111: + ".crypto";
112: public static final String IMPL_OPT_CRYPTO_DOMAIN_BUNDLE = IMPL_OPT_CRYPTO_DOMAIN
113: + ".LogStrings";
114:
115: public static final String IMPL_OPT_TOKEN_DOMAIN = IMPL_OPT_DOMAIN
116: + ".token";
117: public static final String IMPL_OPT_TOKEN_DOMAIN_BUNDLE = IMPL_OPT_TOKEN_DOMAIN
118: + ".LogStrings";
119:
120: public static final Logger CRYPTO_IMPL_LOGGER = Logger.getLogger(
121: IMPL_CRYPTO_DOMAIN, IMPL_CRYPTO_DOMAIN_BUNDLE);
122:
123: }
|