From cc2dd3e5122b4823760547b5fe2a403e554e7fe9 Mon Sep 17 00:00:00 2001 From: Sarah Rambacher Date: Wed, 18 Nov 2020 11:18:32 -0500 Subject: [PATCH] adds user federation kerberos wizard --- src/stories/UserFedWizard.stories.tsx | 17 +++++++++++++ .../UserFederationKerberosWizard.tsx | 25 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/stories/UserFedWizard.stories.tsx create mode 100644 src/user-federation/UserFederationKerberosWizard.tsx diff --git a/src/stories/UserFedWizard.stories.tsx b/src/stories/UserFedWizard.stories.tsx new file mode 100644 index 0000000000..f09c92648f --- /dev/null +++ b/src/stories/UserFedWizard.stories.tsx @@ -0,0 +1,17 @@ +import React from "react"; +import { Meta } from "@storybook/react"; +import { Page } from "@patternfly/react-core"; +import { UserFederationKerberosWizard } from "../user-federation/UserFederationKerberosWizard"; + +export default { + title: "User Federation Wizard", + component: UserFederationKerberosWizard, +} as Meta; + +export const view = () => { + return ( + + + + ); +}; diff --git a/src/user-federation/UserFederationKerberosWizard.tsx b/src/user-federation/UserFederationKerberosWizard.tsx new file mode 100644 index 0000000000..6b052935de --- /dev/null +++ b/src/user-federation/UserFederationKerberosWizard.tsx @@ -0,0 +1,25 @@ +import { Button, Wizard } from "@patternfly/react-core"; +import { useTranslation } from "react-i18next"; +import React from "react"; +import { KerberosSettingsRequired } from "./KerberosSettingsRequired"; +import { KerberosSettingsCache } from "./KerberosSettingsCache"; + +export const UserFederationKerberosWizard = () => { + const { t } = useTranslation("user-federation"); + + const steps = [ + { name: "Required settings", component: }, + { name: "Cache settings", component: }, + ]; + const title = "Add Kerberos user federation provider"; + + return ( + + ); +};