public static String getProxyTypeAsString ( GSIConstants . CertificateType proxyType ) { switch ( proxyType ) { case GSI_4_IMPERSONATION_PROXY : return "RFC 3820 compliant impersonation proxy" ; case GSI_4_INDEPENDENT_PROXY : return "RFC 3820 compliant independent proxy" ; case GSI_4_LIMITED_PROXY : return "RFC 3820 compliant limited proxy" ; case GSI_4_RESTRICTED_PROXY : return "RFC 3820 compliant restricted proxy" ; case GSI_3_IMPERSONATION_PROXY : return "Proxy draft compliant impersonation proxy" ; case GSI_3_INDEPENDENT_PROXY : return "Proxy draft compliant independent proxy" ; case GSI_3_LIMITED_PROXY : return "Proxy draft compliant limited proxy" ; case GSI_3_RESTRICTED_PROXY : return "Proxy draft compliant restricted proxy" ; case GSI_2_PROXY : return "full legacy globus proxy" ; case GSI_2_LIMITED_PROXY : return "limited legacy globus proxy" ; default : return "not a proxy" ; } }
Returns a string description of a specified proxy type .