code: private String getAccessId(WSCredential cred) {
          String accessId = null;
          try {
              accessId = cred.getAccessId();
          } catch (CredentialExpiredException e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Caught exception getting the access id: " + e);
              }
          } catch (CredentialDestroyedException e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Caught exception getting the access id: " + e);
              }
          }
          // TODO if ignoreCase is Collection, then lower case the accessid
          return accessId;
      }
docs: Get the access ID from the specified credential.
  
  @parm cred the WSCredential to search
  @return the user access id of the credential, or null when the
  cred is expired or destroyed