All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.b6fe2bb5-434.766360e0e6858ce5bbe6.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"file":"b6fe2bb5-434.766360e0e6858ce5bbe6.js","mappings":"80CAuCA,IAAMA,EAAa,SAACC,GAA2C,IAAzBC,EAAyB,wDACvDC,EAAW,iCACXC,EAAeC,EAAAA,EAAAA,qBAAiCJ,EAAkB,IAExE,OAAIC,EACF,UAAUC,EAAV,cAAwBC,GAGnB,gCAAGD,EAAH,MAAe,yBAAIC,KAsC5B,SAAeE,EAAAA,EAAAA,IAnC0B,SAAC,GAAqC,IAAzBC,EAAyB,EAAnCC,OAAUD,UACpD,KAAsCE,EAAAA,EAAAA,YAAtC,GAAOC,EAAP,KAAoBC,EAApB,KAMA,OAJAC,EAAAA,EAAAA,YAAU,WACRC,EAAAA,EAAAA,KAA0BN,GAAWO,MAAK,SAACC,GAAD,OAAcJ,EAAeI,EAASC,cAC/E,CAACT,IAECG,EAKH,gBAAC,KAAD,CAAeO,MAAOjB,EAAWU,EAAYO,OAAO,IAClD,gCACE,gBAAC,KAAD,CAAYA,MAAOjB,EAAWU,EAAYO,OAC9BC,WACE,gBAAC,IAAD,CAAeC,GAAIC,EAAAA,GAAAA,OAAAA,eAAAA,SAAAA,KAA2CV,MAAAA,OAA3C,EAA2CA,EAAaW,KACzE,gBAAC,KAAD,CAAQC,QAAQ,UACRC,KAAK,UADb,kBAMd,oGACA,+DAAsC,gBAAC,IAAD,CAAmBC,KAAMC,EAAAA,EAAAA,MAAAA,YACNC,KAAK,kBAD9D,KAGA,gBAAC,IAAD,OAEF,gBAAC,IAAD,CAAgBC,sBAAuBjB,MArBpC,gBAAC,KAAD","sources":["webpack://graylog-web-interface/./src/pages/AuthenticationBackendDetailsPage.tsx"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useState, useEffect } from 'react';\n\nimport AuthenticationOverviewLinks from 'components/authentication/AuthenticationOverviewLinks';\nimport withParams from 'routing/withParams';\nimport { LinkContainer } from 'components/common/router';\nimport {} from 'components/authentication/bindings'; // Bind all authentication plugins\nimport DocsHelper from 'util/DocsHelper';\nimport StringUtils from 'util/StringUtils';\nimport AuthenticationDomain from 'domainActions/authentication/AuthenticationDomain';\nimport { Spinner, PageHeader, DocumentTitle } from 'components/common';\nimport BackendDetails from 'components/authentication/BackendDetails';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport Routes from 'routing/Routes';\nimport { Button } from 'components/bootstrap';\nimport type AuthenticationBackend from 'logic/authentication/AuthenticationBackend';\n\ntype Props = {\n  params: {\n    backendId: string,\n  },\n};\n\nconst _pageTitle = (authBackendTitle, returnString = false) => {\n  const pageName = 'Authentication Service Details';\n  const backendTitle = StringUtils.truncateWithEllipses(authBackendTitle, 30);\n\n  if (returnString) {\n    return `${pageName} - ${backendTitle}`;\n  }\n\n  return <>{pageName} - {backendTitle};\n};\n\nconst AuthenticationBackendDetailsPage = ({ params: { backendId } }: Props) => {\n  const [authBackend, setAuthBackend] = useState();\n\n  useEffect(() => {\n    AuthenticationDomain.load(backendId).then((response) => setAuthBackend(response.backend));\n  }, [backendId]);\n\n  if (!authBackend) {\n    return ;\n  }\n\n  return (\n    \n      <>\n        \n                        \n                      \n                  )}>\n          Configure Graylog's authentication services of this Graylog cluster.\n          Read more authentication in the .\n          \n          \n        \n        \n      \n    \n  );\n};\n\nexport default withParams(AuthenticationBackendDetailsPage);\n"],"names":["_pageTitle","authBackendTitle","returnString","pageName","backendTitle","StringUtils","withParams","backendId","params","useState","authBackend","setAuthBackend","useEffect","AuthenticationDomain","then","response","backend","title","subactions","to","Routes","id","bsStyle","type","page","DocsHelper","text","authenticationBackend"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy