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

web-interface.assets.6e61897c-2.472622149827c1587209.js Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["6e61897c-2"],{LLaL8Jiu:function(e,t,n){"use strict";n.r(t),n.d(t,"AuthenticationActions",(function(){return g.default})),n.d(t,"AuthenticationStore",(function(){return k}));var i=n("4KF7VOU5"),a=n.n(i),u=n("VPaD/Np4"),r=n("PHBdwNAQ");function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:u.Map();c(this,e),l(this,"value",void 0),this.value=t}return s(e,[{key:"id",value:function(t){return new e(this.value.set("id",t))}},{key:"title",value:function(t){return new e(this.value.set("title",t))}},{key:"description",value:function(t){return new e(this.value.set("description",t))}},{key:"defaultRoles",value:function(t){return new e(this.value.set("defaultRoles",t))}},{key:"config",value:function(t){return new e(this.value.set("config",t))}},{key:"build",value:function(){var e=this.value.toObject(),t=e.id,n=e.title,i=e.description,a=e.defaultRoles,u=e.config;return new d(t,n,i,a,u)}}]),e}(),v=n("HbbeyvOy"),h=n("L+5XEiOD"),y=n("mRXwKqDg"),g=n("ZjKKVWZh"),b=n("mR82218M"),A=n("IU8ofT4O"),p=n("apjOhdII"),k=Object(y.c)("Authentication",(function(){return a.a.createStore({listenables:[g.default],getInitialState:function(){return{authenticators:null}},create:function(e){var t=Object(v.f)(A.a.AuthenticationController.create().url),n=Object(h.b)("POST",t,e).then((function(e){return e?{backend:d.fromJSON(e.backend)}:null}));return g.default.create.promise(n),n},load:function(e){var t=Object(v.f)(A.a.AuthenticationController.load(encodeURIComponent(e)).url),n=Object(h.b)("GET",t).then((function(e){return e?{backend:d.fromJSON(e.backend)}:null}));return g.default.load.promise(n),n},loadActive:function(){var e=Object(v.f)(A.a.AuthenticationController.loadActive().url),t=Object(h.b)("GET",e).then((function(e){return e?{backend:e.backend?d.fromJSON(e.backend):null,context:{backendsTotal:e.context.backends_total}}:null}));return g.default.loadActive.promise(t),t},update:function(e,t){var n=Object(v.f)(A.a.AuthenticationController.update(e).url),i=Object(h.b)("PUT",n,t).then((function(e){return e?{backend:d.fromJSON(e.backend)}:null}));return g.default.update.promise(i),i},delete:function(e){var t=Object(v.f)(A.a.AuthenticationController.delete(e).url),n=Object(h.b)("DELETE",t);return g.default.delete.promise(n),n},testConnection:function(e){var t=Object(v.f)(A.a.AuthenticationController.testConnection().url),n=Object(h.b)("POST",t,e);return g.default.testConnection.promise(n),n},testLogin:function(e){var t=Object(v.f)(A.a.AuthenticationController.testLogin().url),n=Object(h.b)("POST",t,e);return g.default.testLogin.promise(n),n},setActiveBackend:function(e){var t=Object(v.f)(A.a.AuthenticationController.updateConfiguration().url),n=Object(h.b)("POST",t,{active_backend:e});return g.default.setActiveBackend.promise(n),n},loadBackendsPaginated:function(e){var t=e.page,n=e.perPage,i=e.query,a=Object(b.a)(A.a.AuthenticationController.servicesPaginated().url,t,n,i),r=Object(h.b)("GET",Object(v.f)(a)).then((function(e){return{context:{activeBackend:e.context.active_backend},list:u.List(e.backends.map((function(e){return d.fromJSON(e)}))),pagination:{page:e.page,perPage:e.per_page,query:e.query,count:e.count,total:e.total}}}));return g.default.loadBackendsPaginated.promise(r),r},loadUsersPaginated:function(e,t){var n=t.page,i=t.perPage,a=t.query,r=Object(b.a)(A.a.AuthenticationController.loadUsersPaginated(e).url,n,i,a),c=Object(h.b)("GET",Object(v.f)(r)).then((function(e){return{list:u.List(e.users.map((function(e){return p.a.fromJSON(e)}))),pagination:{page:e.page,perPage:e.per_page,query:e.query,count:e.count,total:e.total}}}));return g.default.loadUsersPaginated.promise(c),c},loadActiveBackendType:function(){var e=Object(v.f)(A.a.AuthenticationController.loadActiveBackendType().url),t=new h.a("GET",e).build().then((function(e){return e.json()})).then((function(e){return e.backend}));return g.default.loadActiveBackendType.promise(t),t}})}));t.default=k},PHBdwNAQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return r}));var i=n("AztyBNMT"),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=i.PluginStore.exports("authentication.services")||[],a=n.find((function(t){return t.name===e}));if(!a&&t)throw new Error('Authentication service with type "'.concat(e,'" not found.'));return a},u=function(){var e=i.PluginStore.exports("authentication.enterprise.directoryServices.groupSync");return null==e?void 0:e[0]},r=function(){var e=i.PluginStore.exports("authentication.enterprise");return null==e?void 0:e[0]}},ZjKKVWZh:function(e,t,n){"use strict";n.r(t);var i=n("4KF7VOU5"),a=n.n(i),u=n("mRXwKqDg"),r=Object(u.b)("Authentication",(function(){return a.a.createActions({create:{asyncResult:!0},delete:{asyncResult:!0},load:{asyncResult:!0},loadActive:{asyncResult:!0},loadBackendsPaginated:{asyncResult:!0},loadUsersPaginated:{asyncResult:!0},loadActiveBackendType:{asyncResult:!0},setActiveBackend:{asyncResult:!0},testConnection:{asyncResult:!0},testLogin:{asyncResult:!0},update:{asyncResult:!0}})}));t.default=r},apjOhdII:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("VPaD/Np4");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:i.Map();a(this,e),c(this,"value",void 0),this.value=t}return r(e,[{key:"id",value:function(t){return new e(this.value.set("id",t))}},{key:"username",value:function(t){return new e(this.value.set("username",t))}},{key:"fullName",value:function(t){return new e(this.value.set("fullName",t))}},{key:"email",value:function(t){return new e(this.value.set("email",t))}},{key:"roles",value:function(t){return new e(this.value.set("roles",t))}},{key:"readOnly",value:function(t){return new e(this.value.set("readOnly",t))}},{key:"external",value:function(t){return new e(this.value.set("external",t))}},{key:"sessionActive",value:function(t){return new e(this.value.set("sessionActive",t))}},{key:"clientAddress",value:function(t){return new e(this.value.set("clientAddress",t))}},{key:"lastActivity",value:function(t){return new e(this.value.set("lastActivity",t))}},{key:"enabled",value:function(t){return new e(this.value.set("enabled",t))}},{key:"authServiceId",value:function(t){return new e(this.value.set("authServiceId",t))}},{key:"authServiceUid",value:function(t){return new e(this.value.set("authServiceUid",t))}},{key:"accountStatus",value:function(t){return new e(this.value.set("accountStatus",t))}},{key:"build",value:function(){var e=this.value.toObject(),t=e.id,n=e.username,i=e.fullName,a=e.email,u=e.roles,r=e.readOnly,c=e.external,s=e.sessionActive,l=e.clientAddress,d=e.lastActivity,f=e.enabled,v=e.authServiceId,h=e.authServiceUid,y=e.accountStatus;return new o(t,n,i,a,u,r,c,s,l,d,f,v,h,y)}}]),e}()},rPqdiUHK:function(e,t,n){"use strict";var i=n("LLaL8Jiu"),a=n("MhJVE+Fw"),u=Object(a.a)({action:i.AuthenticationActions.create,success:function(e){return{message:'Authentication service "'.concat(e.title," was created successfully")}},error:function(e,t){return{message:'Creating authentication service "'.concat(t.title,'" failed with status: ').concat(e)}}}),r=Object(a.a)({action:i.AuthenticationActions.load,error:function(e,t){return{message:'Loading authentication service with id "'.concat(t,'" failed with status: ').concat(e)}},notFoundRedirect:!0}),c=Object(a.a)({action:i.AuthenticationActions.loadActive,error:function(e){return{message:"Loading active authentication service failed with status: ".concat(e)}}}),o=Object(a.a)({action:i.AuthenticationActions.update,success:function(e,t){return{message:'Authentication service "'.concat(t.title,'" was updated successfully')}},error:function(e,t,n){return{message:'Updating authentication service "'.concat(n.title,'" failed with status: ').concat(e)}}}),s=Object(a.a)({action:i.AuthenticationActions.delete,success:function(e,t){return{message:'Authentication service "'.concat(t," was deleted successfully")}},error:function(e,t,n){return{message:'Deleting authentication service "'.concat(n,'" failed with status: ').concat(e)}}}),l=Object(a.a)({action:i.AuthenticationActions.testConnection,error:function(e){return{message:"Connection test failed with status: ".concat(e)}}}),d=Object(a.a)({action:i.AuthenticationActions.testLogin,error:function(e){return{message:"Login test failed with status: ".concat(e)}}}),f=Object(a.a)({action:i.AuthenticationActions.setActiveBackend,success:function(e,t){return{message:'Authentication service "'.concat(t," was ").concat(e?"activated":"deactivated"," successfully")}},error:function(e,t,n){return{message:'Activating authentication service "'.concat(n,'" failed with status: ').concat(e)}}}),v=Object(a.a)({action:i.AuthenticationActions.loadBackendsPaginated,error:function(e){return{message:"Loading authentication services failed with status: ".concat(e)}}}),h=Object(a.a)({action:i.AuthenticationActions.loadUsersPaginated,error:function(e,t){return{message:'Loading synchronized users for authentication service with id "'.concat(e,'" failed with status: ').concat(t)}}}),y=Object(a.a)({action:i.AuthenticationActions.loadActiveBackendType,error:function(e){return{message:"Loading active authentication service type failed with status: ".concat(e)}}});t.a={create:u,update:o,load:r,loadActive:c,delete:s,testConnection:l,testLogin:d,setActiveBackend:f,loadBackendsPaginated:v,loadUsersPaginated:h,loadActiveBackendType:y}}}]);
//# sourceMappingURL=6e61897c-2.472622149827c1587209.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy