keycloak-scim/src/user-federation/UserFederationKerberosWizard.tsx

30 lines
880 B
TypeScript
Raw Normal View History

2020-11-18 16:18:32 +00:00
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: <KerberosSettingsRequired /> },
2020-12-15 22:50:09 +00:00
{
name: "Cache settings",
component: <KerberosSettingsCache />,
nextButtonText: "Finish", // TODO: needs to disable until cache policy is valid
},
2020-11-18 16:18:32 +00:00
];
const title = "Add Kerberos user federation provider";
return (
<Wizard
title={title}
description="Text needed here"
steps={steps}
// onClose={handleModalToggle}
// isOpen={isOpen}
/>
);
};