To perform no credential delegation at all:
stub._setProperty(GSIConstants.GSI_MODE,GSIConstants.GSI_MODE_NO_DELEG);
To perform full credential delegation:
stub._setProperty(GSIConstants.GSI_MODE,GSIConstants.GSI_MODE_FULL_DELEG);
To perform limited credential delegation:
stub._setProperty(GSIConstants.GSI_MODE,GSIConstants.GSI_MODE_LIMITED_DELEG);