import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import { createSubscribedElement } from '../../UnstatedUtils'; import AppContainer from '../../../services/AppContainer'; import LdapSecuritySetting from './LdapSecuritySetting'; import LocalSecuritySetting from './LocalSecuritySetting'; import SecuritySetting from './SecuritySetting'; class SecurityManagement extends React.Component { constructor(props) { super(); } render() { const { t } = this.props; return ( {/* XSS configuration link */}

{ t('security_setting.xss_prevent_setting') }

{ t('security_setting.xss_prevent_setting_link') }
{/* TODO 542~550 reactify-admin */}

{ t('security_setting.Authentication mechanism settings') }

{/* TODO GW-544 reactify saml.html */}
{/* TODO GW-545 reactify oidc.html */}
{/* TODO GW-546 reactify basic.html */}
{/* TODO GW-547 reactify google-oauth.html */}
{/* TODO GW-548 reactify github.html */}
{/* TODO GW-549 reactify twitter.html */}
{/* TODO GW-550 reactify facebook.html */}
); } } SecurityManagement.propTypes = { t: PropTypes.func.isRequired, // i18next appContainer: PropTypes.instanceOf(AppContainer).isRequired, csrf: PropTypes.string, }; const SecurityManagementWrapper = (props) => { return createSubscribedElement(SecurityManagement, props, [AppContainer]); }; export default withTranslation()(SecurityManagementWrapper);