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

web-interface.assets.b6fe2bb5-717.97fa131cb1e69419c791.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-717.97fa131cb1e69419c791.js","mappings":"8UAqBMA,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,QAX2B,kBACzB,gBAAC,KAAD,CAAgBC,QAASJ,EACTK,UAAU,QACVC,WAAS,EACTC,QAAQ,SACtB,gBAAC,KAAD,CAAQC,QAAQ,QACd,gBAAC,KAAD,CAAMC,KAAK,uBC7BjB,IAAMC,EAAYC,EAAAA,QAAAA,IAAAA,WAAH,oEAAGA,CAAH,yBAcf,QAVuB,SAAC,GAAD,IAAGC,EAAH,EAAGA,SAAH,OACrB,gBAACF,EAAD,KACE,gBAAC,KAAD,CAAYG,QAAS,kBAAMD,EAAS,KACxBA,SAAUA,EACVE,mBAAoB,gBAACC,EAAD,MACpBC,UAAW,EACXC,iBAAe,M,oDCDzBC,GAAsBP,EAAAA,EAAAA,SAAOQ,EAAAA,IAAV,gGAAGR,CAAH,4CAKnBS,EAAkBT,EAAAA,QAAAA,GAAAA,WAAH,iFAAGA,CAAH,sBAUfU,EAAa,SAAC,GAAgF,IAA9EC,EAA8E,EAA9EA,sBACdC,EAAOC,EAAAA,GAAAA,OAAAA,eAAAA,SAAAA,KAA2CF,EAAsBrB,IAE9E,OACE,gBAAC,IAAD,CAAewB,GAAIF,GACjB,gBAAC,KAAD,CAAQf,QAAQ,OAAOkB,OAAO,KAAKC,KAAK,UAAxC,UAOAC,EAAiB,SAACC,EAA0BC,GAChD,sCAAgCA,EAAhC,wCAA0EC,EAAAA,EAAAA,qBAAiCF,EAAkB,IAA7H,MAG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ChB,gBAAC,EAAD,CAAsBjF,sBAAuBiF,EAAatE,SAAUsE,EAAYtG,MAAO+E,MAAAA,GAAnB,UAAmBA,EAASwB,qBAA5B,aAAmB,EAAwBvG,IAAIwC,MAAO+B,EAAeO,QAE3I0B,WAAY,GACZC,YAAY,kBACZC,oBAAqBzC,EACrB0C,QAASvD,EACTpD,GAAG,yBACH4G,aAAa,QACbC,KAAMhC,EAASiC,OACfC,UAAU,aA5BpB,gBAAC,KAAD,O,oDE/BX,QAhCmC,WACjC,OAA0DC,EAAAA,EAAAA,GAAiB,CAACvB,EAAAA,EAAAA,mBAApEwB,EAAR,EAAQA,gBAAiBV,EAAzB,EAAyBA,cAAeW,EAAxC,EAAwCA,cAExC,OACE,gBAAC,KAAD,CAAejH,MAAM,+BACnB,gCACE,gBAAC,KAAD,CAAYA,MAAM,8BACNkH,WACE,gBAACC,EAAA,EAAD,CAAoBb,cAAeA,EACfU,gBAAiBA,KAEjD,oGACA,+DAAsC,gBAACI,EAAA,EAAD,CAAmB/D,KAAMgE,EAAAA,EAAAA,MAAAA,YACN3B,KAAK,kBAD9D,KAGA,gBAAC4B,EAAA,EAAD,WAEEL,GAAiBA,GAAiB,IAAMX,IAC5C,gBAAC,KAAD,CAAKnE,UAAU,WACb,gBAAC,KAAD,CAAKsD,GAAI,IACP,gBAAC,KAAD,CAAOnF,QAAQ,WACb,gBAAC,KAAD,CAAMC,KAAK,uBADb,0EAMJ,gBAAC,EAAD","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, useCallback } 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';\n\nimport BackendsFilter from './BackendsFilter';\nimport BackendsOverviewItem from './BackendsOverviewItem';\n\nconst TABLE_HEADERS = ['Title', 'Description', 'Default Roles', 'Actions'];\n\nconst DEFAULT_PAGINATION = {\n page: 1,\n perPage: 10,\n query: '',\n};\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 = (refreshOverview) => AuthenticationActions.delete.completed.listen(refreshOverview);\nconst _updateListOnBackendActivation = (refreshOverview) => AuthenticationActions.setActiveBackend.completed.listen(refreshOverview);\n\nconst BackendsOverview = () => {\n const [loading, setLoading] = useState();\n const [paginatedRoles, setPaginatedRoles] = useState();\n const [paginatedBackends, setPaginatedBackends] = useState();\n const [pagination, setPagination] = useState(DEFAULT_PAGINATION);\n const { list: backends, context } = paginatedBackends || {};\n const { page, perPage, query } = pagination;\n\n const _refreshOverview = useCallback(() => setPagination({ page: DEFAULT_PAGINATION.page, perPage, query }), [perPage, query]);\n\n useEffect(() => _loadRoles(setPaginatedRoles), []);\n useEffect(() => _loadBackends(pagination, setLoading, setPaginatedBackends), [pagination]);\n useEffect(() => _updateListOnBackendDelete(_refreshOverview), [_refreshOverview]);\n useEffect(() => _updateListOnBackendActivation(_refreshOverview), [_refreshOverview]);\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 setPagination({ ...pagination, page: newPage, perPage: newPerPage })}\n totalItems={paginatedBackends.pagination.total}\n activePage={page}>\n setPagination({ ...pagination, query: newQuery, page: DEFAULT_PAGINATION.page })} />}\n dataRowFormatter={(authBackend) => (\n \n )}\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 DocumentationLink from 'components/support/DocumentationLink';\nimport BackendsOverview from 'components/authentication/BackendsOverview';\nimport AuthenticationOverviewLinks from 'components/authentication/AuthenticationOverviewLinks';\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 Configure Graylog's authentication services of this Graylog cluster.\n Read more authentication in the .\n \n \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};\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","DEFAULT_PAGINATION","page","perPage","query","Header","LoadingSpinner","Spinner","theme","css","fonts","size","h3","_headerCellFormatter","header","toLowerCase","useState","loading","setLoading","paginatedRoles","setPaginatedRoles","paginatedBackends","setPaginatedBackends","pagination","setPagination","backends","list","context","_refreshOverview","useCallback","useEffect","AuthzRolesDomain","then","_loadRoles","paginatedUsers","_loadBackends","refreshOverview","AuthenticationActions","xs","text","delay","total","onChange","newPage","newPerPage","totalItems","activePage","customFilter","newQuery","dataRowFormatter","authBackend","activeBackend","filterKeys","filterLabel","headerCellFormatter","headers","rowClassName","rows","toJS","sortByKey","useActiveBackend","finishedLoading","backendsTotal","subactions","BackendActionLinks","DocumentationLink","DocsHelper","AuthenticationOverviewLinks"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy