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

web-interface.assets.325e2d4b-717.e7a0435f8733c83affea.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"file":"325e2d4b-717.e7a0435f8733c83affea.js","mappings":"8UAqBA,MAAMA,EACJ,gBAAC,KAAD,CAASC,GAAG,yBAAyBC,MAAM,sBACzC,yBAAG,0DACH,gBAAC,KAAD,CAAOC,WAAS,GACd,6BACE,0BACE,mCACA,2CAGJ,6BACE,0BACE,mCACA,qDAEF,0BACE,yCACA,+DAIN,yBAAG,2CACH,uEAC6C,2BAC3C,yCAAqB,6BAgB3B,EAX2B,IACzB,gBAAC,KAAD,CAAgBC,QAASJ,EACTK,UAAU,QACVC,WAAS,EACTC,QAAQ,SACtB,gBAAC,KAAD,CAAQC,QAAQ,QACd,gBAAC,KAAD,CAAMC,KAAK,sBC7BXC,EAAYC,EAAAA,QAAAA,IAAAA,WAAH,oEAAGA,CAAH,yBAcf,EAVuB,QAAC,SAAEC,GAAH,SACrB,gBAACF,EAAD,KACE,gBAAC,KAAD,CAAYG,QAAS,IAAMD,EAAS,IACxBA,SAAUA,EACVE,mBAAoB,gBAACC,EAAD,MACpBC,UAAW,EACXC,iBAAe,IANR,E,oDCKvB,MAAMC,GAAsBP,EAAAA,EAAAA,SAAOQ,EAAAA,IAAV,gGAAGR,CAAH,4CAKnBS,EAAkBT,EAAAA,QAAAA,GAAAA,WAAH,iFAAGA,CAAH,sBAUfU,EAAa,IAAiF,IAAhF,sBAAEC,GAA8E,EAClG,MAAMC,EAAOC,EAAAA,GAAAA,OAAAA,eAAAA,SAAAA,KAA2CF,EAAsBrB,IAE9E,OACE,gBAAC,IAAD,CAAewB,GAAIF,GACjB,gBAAC,KAAD,CAAQG,OAAO,KAAKC,KAAK,UAAzB,QAFJ,EASIC,EAAiB,CAACC,EAA0BC,IACxC,yBAAwBA,iCAA0CC,EAAAA,EAAAA,qBAAiCF,EAAkB,OAGzHG,EAAc,IAA8G,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,QACbC,KAAMzB,EAAS0B,OACfC,UAAU,aAxBpB,gBAAC,KAAD,KAGT,E,oDE7EF,MA+BA,EA/BmC,KACjC,MAAM,gBAAEC,EAAF,cAAmBV,EAAnB,cAAkCW,IAAkBC,EAAAA,EAAAA,GAAiB,CAACxB,EAAAA,EAAAA,mBAE5E,OACE,gBAAC,KAAD,CAAexF,MAAM,+BACnB,gBAACiH,EAAA,EAAD,MACA,gBAAC,KAAD,CAAYjH,MAAM,8BACNkH,QACE,gBAACC,EAAA,EAAD,CAAoBf,cAAeA,EACfU,gBAAiBA,IAEvCM,kBAAmB,CACjBpH,MAAO,+BACPqH,KAAMC,EAAAA,EAAAA,MAAAA,cAElB,yGAEEP,GAAiBA,GAAiB,IAAMX,IAC1C,gBAAC,KAAD,CAAKjE,UAAU,WACb,gBAAC,KAAD,CAAKwD,GAAI,IACP,gBAAC,KAAD,CAAOrF,QAAQ,WACb,gBAAC,KAAD,CAAMC,KAAK,uBADb,0EAMN,gBAAC,EAAD,MAvBJ,C","sources":["webpack://graylog-web-interface/./src/components/authentication/BackendsOverview/BackendsQueryHelper.tsx","webpack://graylog-web-interface/./src/components/authentication/BackendsOverview/BackendsFilter.tsx","webpack://graylog-web-interface/./src/components/authentication/BackendsOverview/BackendsOverviewItem.tsx","webpack://graylog-web-interface/./src/components/authentication/BackendsOverview/BackendsOverview.tsx","webpack://graylog-web-interface/./src/components/authentication/BackendsOverview/index.tsx","webpack://graylog-web-interface/./src/pages/AuthenticationOverviewPage.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';\n\nimport { OverlayTrigger, Icon } from 'components/common';\nimport { Popover, Table, Button } from 'components/bootstrap';\n\nconst backendQueryHelperPopover = (\n  \n    

Available search fields

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
FieldDescription
titleThe title of a backend
descriptionThe description of a backends.
\n

Examples

\n

\n Find backends with a title containing LDAP:
\n title:LDAP
\n

\n
\n);\n\nconst BackendQueryHelper = () => (\n \n \n \n);\n\nexport default BackendQueryHelper;\n","/*\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 styled from 'styled-components';\n\nimport { SearchForm } from 'components/common';\n\nimport BackendsQueryHelper from './BackendsQueryHelper';\n\ntype Props = {\n onSearch: (query: string) => void,\n};\n\nconst Container = styled.div`\n margin-bottom: 10px;\n`;\n\nconst BackendsFilter = ({ onSearch }: Props) => (\n \n onSearch('')}\n onSearch={onSearch}\n queryHelpComponent={}\n topMargin={0}\n useLoadingState />\n \n);\n\nexport default BackendsFilter;\n","/*\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 */\n/* eslint-disable no-alert */\nimport * as React from 'react';\nimport type * as Immutable from 'immutable';\nimport styled from 'styled-components';\n\nimport { LinkContainer, Link } from 'components/common/router';\nimport StringUtils from 'util/StringUtils';\nimport Routes from 'routing/Routes';\nimport type Role from 'logic/roles/Role';\nimport AuthenticationDomain from 'domainActions/authentication/AuthenticationDomain';\nimport type AuthenticationBackend from 'logic/authentication/AuthenticationBackend';\nimport { TextOverflowEllipsis } from 'components/common';\nimport { Button, ButtonToolbar } from 'components/bootstrap';\n\ntype Props = {\n authenticationBackend: AuthenticationBackend,\n isActive: boolean,\n roles: Immutable.List,\n};\n\nconst StyledButtonToolbar = styled(ButtonToolbar)`\n display: flex;\n justify-content: flex-end;\n`;\n\nconst DescriptionCell = styled.td`\n max-width: 300px;\n`;\n\nconst rolesList = (defaultRolesIds: Immutable.List, roles: Immutable.List) => {\n const defaultRolesNames = defaultRolesIds.map((roleId) => roles.find((role) => role.id === roleId)?.name ?? 'Role not found');\n\n return defaultRolesNames.join(', ');\n};\n\nconst EditButton = ({ authenticationBackend }: { authenticationBackend: AuthenticationBackend }) => {\n const link = Routes.SYSTEM.AUTHENTICATION.BACKENDS.edit(authenticationBackend.id);\n\n return (\n \n \n \n );\n};\n\nconst confirmMessage = (authBackendTitle: string, actionName: string) => {\n return `Do you really want to ${actionName} the authentication service \"${StringUtils.truncateWithEllipses(authBackendTitle, 30)}\"`;\n};\n\nconst ActionsCell = ({ isActive, authenticationBackend }: { authenticationBackend: AuthenticationBackend, isActive: boolean }) => {\n const { title, id } = authenticationBackend;\n const _setActiveBackend = (backendId) => AuthenticationDomain.setActiveBackend(backendId, title);\n\n const _deactivateBackend = () => {\n if (window.confirm(confirmMessage(title, 'deactivate'))) {\n _setActiveBackend(null);\n }\n };\n\n const _activateBackend = () => {\n if (window.confirm(confirmMessage(title, 'activate'))) {\n _setActiveBackend(id);\n }\n };\n\n const _deleteBackend = () => {\n if (window.confirm(confirmMessage(title, 'delete'))) {\n AuthenticationDomain.delete(id, title);\n }\n };\n\n return (\n \n \n {isActive ? (\n <>\n \n \n \n ) : (\n <>\n \n \n \n \n )}\n \n \n );\n};\n\nconst BackendsOverviewItem = ({ authenticationBackend, isActive, roles }: Props) => {\n const { title, description, defaultRoles, id } = authenticationBackend;\n const detailsLink = isActive ? Routes.SYSTEM.AUTHENTICATION.BACKENDS.ACTIVE : Routes.SYSTEM.AUTHENTICATION.BACKENDS.show(id);\n\n return (\n \n \n \n {title}\n \n \n \n \n {description}\n \n \n \n {rolesList(defaultRoles, roles)}\n \n \n \n );\n};\n\nexport default BackendsOverviewItem;\n","/*\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 { useEffect, useState } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport type { PaginatedRoles } from 'actions/roles/AuthzRolesActions';\nimport type { PaginatedBackends } from 'stores/authentication/AuthenticationStore';\nimport { AuthenticationActions } from 'stores/authentication/AuthenticationStore';\nimport AuthenticationDomain from 'domainActions/authentication/AuthenticationDomain';\nimport AuthzRolesDomain from 'domainActions/roles/AuthzRolesDomain';\nimport { DataTable, PaginatedList, Spinner } from 'components/common';\nimport { Col, Row } from 'components/bootstrap';\nimport usePaginationQueryParameter from 'hooks/usePaginationQueryParameter';\nimport type AuthenticationBackend from 'logic/authentication/AuthenticationBackend';\n\nimport BackendsFilter from './BackendsFilter';\nimport BackendsOverviewItem from './BackendsOverviewItem';\n\nconst TABLE_HEADERS = ['Title', 'Description', 'Default Roles', 'Actions'];\n\nconst Header = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst LoadingSpinner = styled(Spinner)(({ theme }) => css`\n margin-left: 10px;\n font-size: ${theme.fonts.size.h3};\n`);\n\nconst _headerCellFormatter = (header) => {\n switch (header.toLowerCase()) {\n case 'actions':\n return {header};\n default:\n return {header};\n }\n};\n\nconst _loadRoles = (setPaginatedRoles) => {\n const getUnlimited = { page: 1, perPage: 0, query: '' };\n\n AuthzRolesDomain.loadRolesPaginated(getUnlimited).then(setPaginatedRoles);\n};\n\nconst _loadBackends = (pagination, setLoading, setPaginatedBackends) => {\n setLoading(true);\n\n AuthenticationDomain.loadBackendsPaginated(pagination).then((paginatedUsers) => {\n setPaginatedBackends(paginatedUsers);\n setLoading(false);\n });\n};\n\nconst _updateListOnBackendDelete = (pagination, setLoading, setPaginatedBackends, callback: () => void) => AuthenticationActions.delete.completed.listen(() => {\n _loadBackends(pagination, setLoading, setPaginatedBackends);\n callback();\n});\n\nconst _updateListOnBackendActivation = (pagination, setLoading, setPaginatedBackends, callback: () => void) => AuthenticationActions.setActiveBackend.completed.listen(() => {\n _loadBackends(pagination, setLoading, setPaginatedBackends);\n callback();\n});\n\nconst _backendsOverviewItem = (authBackend: AuthenticationBackend, context: { activeBackend: AuthenticationBackend }, paginatedRoles: PaginatedRoles) => (\n \n);\n\nconst BackendsOverview = () => {\n const { page, pageSize: perPage, resetPage } = usePaginationQueryParameter();\n const [loading, setLoading] = useState();\n const [paginatedRoles, setPaginatedRoles] = useState();\n const [paginatedBackends, setPaginatedBackends] = useState();\n const [query, setQuery] = useState('');\n const { list: backends, context } = paginatedBackends || {};\n\n useEffect(() => _loadRoles(setPaginatedRoles), []);\n useEffect(() => _loadBackends({ query, page, perPage }, setLoading, setPaginatedBackends), [query, page, perPage]);\n useEffect(() => _updateListOnBackendDelete({ query, page, perPage }, setLoading, setPaginatedBackends, resetPage), [query, page, perPage, resetPage]);\n useEffect(() => _updateListOnBackendActivation({ query, page, perPage }, setLoading, setPaginatedBackends, resetPage), [query, page, perPage, resetPage]);\n\n const onSearch = (newQuery: string) => {\n resetPage();\n setQuery(newQuery);\n };\n\n if (!paginatedBackends || !paginatedRoles) {\n return ;\n }\n\n return (\n \n \n

Configured Authentication Services

\n
\n {loading && }\n
\n

\n Found {paginatedBackends.pagination.total} configured authentication services on the system.\n

\n \n }\n dataRowFormatter={(authBackend) => _backendsOverviewItem(authBackend, context, paginatedRoles)}\n filterKeys={[]}\n filterLabel=\"Filter services\"\n headerCellFormatter={_headerCellFormatter}\n headers={TABLE_HEADERS}\n id=\"auth-backends-overview\"\n rowClassName=\"no-bm\"\n rows={backends.toJS()}\n sortByKey=\"title\" />\n \n \n
\n );\n};\n\nexport default BackendsOverview;\n","/*\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 BackendsOverview from './BackendsOverview';\n\nexport default BackendsOverview;\n","/*\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';\n\nimport { AuthenticationActions } from 'stores/authentication/AuthenticationStore';\nimport {} from 'components/authentication/bindings'; // Bind all authentication plugins\nimport { Alert, Row, Col } from 'components/bootstrap';\nimport { DocumentTitle, PageHeader, Icon } from 'components/common';\nimport DocsHelper from 'util/DocsHelper';\nimport BackendsOverview from 'components/authentication/BackendsOverview';\nimport AuthenticationPageNavigation from 'components/authentication/AuthenticationPageNavigation';\nimport BackendActionLinks from 'components/authentication/BackendActionLinks';\nimport useActiveBackend from 'components/authentication/useActiveBackend';\n\nconst AuthenticationOverviewPage = () => {\n const { finishedLoading, activeBackend, backendsTotal } = useActiveBackend([AuthenticationActions.setActiveBackend]);\n\n return (\n \n \n \n )}\n documentationLink={{\n title: 'Authentication documentation',\n path: DocsHelper.PAGES.USERS_ROLES,\n }}>\n Configure Graylog's authentication services of this Graylog cluster.\n \n {!!(backendsTotal && backendsTotal >= 1 && !activeBackend) && (\n \n \n \n None of the configured authentication services is currently active.\n \n \n \n )}\n \n \n );\n};\n\nexport default AuthenticationOverviewPage;\n"],"names":["backendQueryHelperPopover","id","title","condensed","overlay","placement","rootClose","trigger","bsStyle","name","Container","styled","onSearch","onReset","queryHelpComponent","BackendsQueryHelper","topMargin","useLoadingState","StyledButtonToolbar","ButtonToolbar","DescriptionCell","EditButton","authenticationBackend","link","Routes","to","bsSize","type","confirmMessage","authBackendTitle","actionName","StringUtils","ActionsCell","isActive","_setActiveBackend","backendId","AuthenticationDomain","className","onClick","window","confirm","roles","description","defaultRoles","detailsLink","key","defaultRolesIds","map","roleId","find","role","join","rolesList","TABLE_HEADERS","Header","LoadingSpinner","Spinner","theme","css","fonts","size","h3","_headerCellFormatter","header","toLowerCase","_loadBackends","pagination","setLoading","setPaginatedBackends","then","paginatedUsers","page","pageSize","perPage","resetPage","usePaginationQueryParameter","loading","useState","paginatedRoles","setPaginatedRoles","paginatedBackends","query","setQuery","list","backends","context","useEffect","AuthzRolesDomain","_loadRoles","callback","AuthenticationActions","_updateListOnBackendDelete","_updateListOnBackendActivation","xs","text","delay","total","totalItems","customFilter","newQuery","dataRowFormatter","authBackend","activeBackend","_backendsOverviewItem","filterKeys","filterLabel","headerCellFormatter","headers","rowClassName","rows","toJS","sortByKey","finishedLoading","backendsTotal","useActiveBackend","AuthenticationPageNavigation","actions","BackendActionLinks","documentationLink","path","DocsHelper"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy