public Set readAllFederatedProviderID(String userID) throws FSAccountMgmtException {
  if (SP_PROVIDER_ID != null && SP_PROVIDER_ID.length() != 0) {
    return readAllFederatedProviderID(SP_PROVIDER_ID,userID);
  }
 else {
    return readAllFederatedProviderID(null,userID);
  }
}

public Set readAllFederatedProviderID ( String userID ) throws FSAccountMgmtException { if ( SP_PROVIDER_ID != null && SP_PROVIDER_ID . length ( ) != 0 ) { return readAllFederatedProviderID ( SP_PROVIDER_ID , userID ) ; } else { return readAllFederatedProviderID ( null , userID ) ; } }
reads all account ' s federation info from data store for given user identity and returns a set of providerids with which user is federated ( fedstatus is active ) .
