code: public static void putCredential(final RequestContext context, final Credential c) {
          if (c == null) {
              context.getRequestScope().remove(PARAMETER_CREDENTIAL);
              context.getFlowScope().remove(PARAMETER_CREDENTIAL);
              context.getConversationScope().remove(PARAMETER_CREDENTIAL);
          } else {
              context.getRequestScope().put(PARAMETER_CREDENTIAL, c);
              context.getFlowScope().put(PARAMETER_CREDENTIAL, c);
              context.getConversationScope().put(PARAMETER_CREDENTIAL, c);
          }
      }
docs: Puts credential into the context.
  
  @param context the context
  @param c       the c