code: private void processAuthData(String id, Map<String, Object> activationProps) throws UnavailableException {
          final String filter = FilterUtils.createPropertyFilter(ID, id);
          ServiceReference<?> authDataRef;
          try {
              ServiceReference<?>[] authDataRefs = ConnectionFactoryService.priv.getServiceReferences(componentContext, "com.ibm.websphere.security.auth.data.AuthData", filter);
              if (authDataRefs == null || authDataRefs.length != 1)
                  throw new UnavailableException("authData: " + id);
              authDataRef = authDataRefs[0];
          } catch (Exception x) {
              throw new UnavailableException("authData: " + id, x);
          }
          activationProps.put(USER_NAME, authDataRef.getProperty("user"));
          activationProps.put(PASSWORD, authDataRef.getProperty("password"));
      }
docs: Update the activation config properties with the userName/password of the authAlias.
  
  @param id unique identifier for an authData config element.
  @param activationProps activation config properties.
  @throws UnavailableException if the authData element is not available.