Bugzilla – Bug 5245
Javadoc bugs in org.globus.gsi.CertUtil
Last modified: 2007-08-15 11:01:06
You need to log in before you can comment on or make changes to this bug.
Some javadoc typos in org.globus.gsi.CertUtil (with suggested fixes): OLD: /** * Determines if a specified certificate type indicates a GSI-2 or * GSI-3 proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-2 or GSI-3 proxy, false * otherwise. */ public static boolean isProxy(int certType) { return (isGsi2Proxy(certType) || isGsi3Proxy(certType) || isGsi4Proxy(certType)); } NEW: /** * Determines if a specified certificate type indicates a GSI-2, * GSI-3, or GSI-4 proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-2, GSI-3, or GSI-4 proxy, * false otherwise. */ public static boolean isProxy(int certType) { return (isGsi2Proxy(certType) || isGsi3Proxy(certType) || isGsi4Proxy(certType)); } OLD: /** * Determines if a specified certificate type indicates a * GSI-4 proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-3 proxy, false * otherwise. */ public static boolean isGsi4Proxy(int certType) { return (certType == GSIConstants.GSI_4_IMPERSONATION_PROXY || certType == GSIConstants.GSI_4_INDEPENDENT_PROXY || certType == GSIConstants.GSI_4_RESTRICTED_PROXY || certType == GSIConstants.GSI_4_LIMITED_PROXY); } NEW: /** * Determines if a specified certificate type indicates a * GSI-4 proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-4 proxy, false * otherwise. */ public static boolean isGsi4Proxy(int certType) { return (certType == GSIConstants.GSI_4_IMPERSONATION_PROXY || certType == GSIConstants.GSI_4_INDEPENDENT_PROXY || certType == GSIConstants.GSI_4_RESTRICTED_PROXY || certType == GSIConstants.GSI_4_LIMITED_PROXY); } OLD: /** * Determines if a specified certificate type indicates a * GSI-2 or GSI-3 limited proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-2 or GSI-3 limited proxy, * false otherwise. */ public static boolean isLimitedProxy(int certType) { return (certType == GSIConstants.GSI_3_LIMITED_PROXY || certType == GSIConstants.GSI_2_LIMITED_PROXY || certType == GSIConstants.GSI_4_LIMITED_PROXY); } NEW: /** * Determines if a specified certificate type indicates a * GSI-2, GSI-3, or GSI-4 limited proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-2, GSI-3, or GSI-4 * limited proxy, false otherwise. */ public static boolean isLimitedProxy(int certType) { return (certType == GSIConstants.GSI_3_LIMITED_PROXY || certType == GSIConstants.GSI_2_LIMITED_PROXY || certType == GSIConstants.GSI_4_LIMITED_PROXY); } OLD: /** * Determines if a specified certificate type indicates a * GSI-3 or GS-4 limited proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-3 or GSI-4 independent proxy, * false otherwise. */ public static boolean isIndependentProxy(int certType) { return (certType == GSIConstants.GSI_3_INDEPENDENT_PROXY || certType == GSIConstants.GSI_4_INDEPENDENT_PROXY); } NEW: /** * Determines if a specified certificate type indicates a * GSI-3 or GS-4 independent proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-3 or GSI-4 independent proxy, * false otherwise. */ public static boolean isIndependentProxy(int certType) { return (certType == GSIConstants.GSI_3_INDEPENDENT_PROXY || certType == GSIConstants.GSI_4_INDEPENDENT_PROXY); } OLD: /** * Determines if a specified certificate type indicates a * GSI-2 or GSI-3 impersonation proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-2 or GSI-3 impersonation proxy, * false otherwise. */ public static boolean isImpersonationProxy(int certType) { return (certType == GSIConstants.GSI_3_IMPERSONATION_PROXY || certType == GSIConstants.GSI_3_LIMITED_PROXY || certType == GSIConstants.GSI_4_IMPERSONATION_PROXY || certType == GSIConstants.GSI_4_LIMITED_PROXY || certType == GSIConstants.GSI_2_LIMITED_PROXY || certType == GSIConstants.GSI_2_PROXY); } NEW: /** * Determines if a specified certificate type indicates a * GSI-2, GSI-3, or GSI-4 impersonation proxy certificate. * * @param certType the certificate type to check. * @return true if certType is a GSI-2, GSI-3, or GSI-4 * impersonation proxy, false otherwise. */ public static boolean isImpersonationProxy(int certType) { return (certType == GSIConstants.GSI_3_IMPERSONATION_PROXY || certType == GSIConstants.GSI_3_LIMITED_PROXY || certType == GSIConstants.GSI_4_IMPERSONATION_PROXY || certType == GSIConstants.GSI_4_LIMITED_PROXY || certType == GSIConstants.GSI_2_LIMITED_PROXY || certType == GSIConstants.GSI_2_PROXY); }
Fixes committed in trunk and globus_4_0_branch. Updated jars in Java WS Core repository. Tom, thanks for reporting this.