@celljs/security 3.5.14 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/index.js +15 -2
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/module.d.ts +1 -1
- package/lib/browser/user/index.js +16 -3
- package/lib/browser/user/index.js.map +1 -1
- package/lib/browser/user/user-manager.js +33 -25
- package/lib/browser/user/user-manager.js.map +1 -1
- package/lib/common/index.js +15 -2
- package/lib/common/index.js.map +1 -1
- package/lib/common/security-protocol.js +5 -5
- package/lib/common/security-protocol.js.map +1 -1
- package/lib/node/access/access-decision-manager.js +16 -5
- package/lib/node/access/access-decision-manager.js.map +1 -1
- package/lib/node/access/access-decision-utils.js +1 -1
- package/lib/node/access/access-decision-utils.js.map +1 -1
- package/lib/node/access/access-decision-voter.js +17 -9
- package/lib/node/access/access-decision-voter.js.map +1 -1
- package/lib/node/access/action-name-resolver.js +8 -3
- package/lib/node/access/action-name-resolver.js.map +1 -1
- package/lib/node/access/index.js +25 -12
- package/lib/node/access/index.js.map +1 -1
- package/lib/node/access/jexl-engine-provider.js +8 -3
- package/lib/node/access/jexl-engine-provider.js.map +1 -1
- package/lib/node/access/method-advice.js +23 -15
- package/lib/node/access/method-advice.js.map +1 -1
- package/lib/node/access/policy-provider.js +19 -11
- package/lib/node/access/policy-provider.js.map +1 -1
- package/lib/node/access/policy-resolver.js +15 -7
- package/lib/node/access/policy-resolver.js.map +1 -1
- package/lib/node/access/resource-name-resolver.js +13 -5
- package/lib/node/access/resource-name-resolver.js.map +1 -1
- package/lib/node/access/security-metadata-source.js +15 -7
- package/lib/node/access/security-metadata-source.js.map +1 -1
- package/lib/node/annotation/action.d.ts.map +1 -1
- package/lib/node/annotation/anonymous.d.ts +1 -1
- package/lib/node/annotation/anonymous.d.ts.map +1 -1
- package/lib/node/annotation/authenticated.d.ts +1 -1
- package/lib/node/annotation/authenticated.d.ts.map +1 -1
- package/lib/node/annotation/authorize.d.ts.map +1 -1
- package/lib/node/annotation/authorize.js +3 -3
- package/lib/node/annotation/authorize.js.map +1 -1
- package/lib/node/annotation/index.js +21 -8
- package/lib/node/annotation/index.js.map +1 -1
- package/lib/node/annotation/post-authorize.d.ts +1 -1
- package/lib/node/annotation/post-authorize.d.ts.map +1 -1
- package/lib/node/annotation/pre-authorize.d.ts +1 -1
- package/lib/node/annotation/pre-authorize.d.ts.map +1 -1
- package/lib/node/annotation/resource.d.ts.map +1 -1
- package/lib/node/annotation/resource.js.map +1 -1
- package/lib/node/authentication/authentication-manager.js +19 -11
- package/lib/node/authentication/authentication-manager.js.map +1 -1
- package/lib/node/authentication/authentication-middleware.js +13 -5
- package/lib/node/authentication/authentication-middleware.js.map +1 -1
- package/lib/node/authentication/authentication-provider.js +43 -35
- package/lib/node/authentication/authentication-provider.js.map +1 -1
- package/lib/node/authentication/authentication-success-handler.js +25 -17
- package/lib/node/authentication/authentication-success-handler.js.map +1 -1
- package/lib/node/authentication/index.js +19 -6
- package/lib/node/authentication/index.js.map +1 -1
- package/lib/node/cache/index.js +16 -3
- package/lib/node/cache/index.js.map +1 -1
- package/lib/node/cache/request-cache.js +15 -7
- package/lib/node/cache/request-cache.js.map +1 -1
- package/lib/node/context/context-protocol.js +1 -1
- package/lib/node/context/context-protocol.js.map +1 -1
- package/lib/node/context/index.js +18 -5
- package/lib/node/context/index.js.map +1 -1
- package/lib/node/context/security-context-middleware.js +15 -7
- package/lib/node/context/security-context-middleware.js.map +1 -1
- package/lib/node/context/security-context-store.js +15 -7
- package/lib/node/context/security-context-store.js.map +1 -1
- package/lib/node/context/security-context-strategy.js +8 -3
- package/lib/node/context/security-context-strategy.js.map +1 -1
- package/lib/node/crypto/index.js +16 -3
- package/lib/node/crypto/index.js.map +1 -1
- package/lib/node/crypto/keygen/base64-string-key-generator.js +13 -5
- package/lib/node/crypto/keygen/base64-string-key-generator.js.map +1 -1
- package/lib/node/crypto/keygen/index.js +16 -3
- package/lib/node/crypto/keygen/index.js.map +1 -1
- package/lib/node/crypto/password/index.js +16 -3
- package/lib/node/crypto/password/index.js.map +1 -1
- package/lib/node/crypto/password/password-encoder.js +13 -5
- package/lib/node/crypto/password/password-encoder.js.map +1 -1
- package/lib/node/error/error-handler.js +23 -15
- package/lib/node/error/error-handler.js.map +1 -1
- package/lib/node/error/index.js +17 -4
- package/lib/node/error/index.js.map +1 -1
- package/lib/node/index.js +24 -11
- package/lib/node/index.js.map +1 -1
- package/lib/node/logout/index.js +18 -5
- package/lib/node/logout/index.js.map +1 -1
- package/lib/node/logout/logout-handler.js +8 -3
- package/lib/node/logout/logout-handler.js.map +1 -1
- package/lib/node/logout/logout-middleware.js +23 -15
- package/lib/node/logout/logout-middleware.js.map +1 -1
- package/lib/node/logout/logout-success-handler-provider.js +16 -5
- package/lib/node/logout/logout-success-handler-provider.js.map +1 -1
- package/lib/node/logout/logout-success-handler.js +15 -7
- package/lib/node/logout/logout-success-handler.js.map +1 -1
- package/lib/node/module.d.ts +1 -1
- package/lib/node/user/index.js +19 -6
- package/lib/node/user/index.js.map +1 -1
- package/lib/node/user/user-checker.js +13 -5
- package/lib/node/user/user-checker.js.map +1 -1
- package/lib/node/user/user-mapper.js +13 -5
- package/lib/node/user/user-mapper.js.map +1 -1
- package/lib/node/user/user-middleware.js +17 -9
- package/lib/node/user/user-middleware.js.map +1 -1
- package/lib/node/user/user-service.js +13 -5
- package/lib/node/user/user-service.js.map +1 -1
- package/package.json +6 -6
- package/src/node/access/policy-resolver.ts +1 -1
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.ResourcePolicyProvider = exports.PrincipalPolicyProvider = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const access_protocol_1 = require("./access-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const common_1 = require("../../common");
|
|
@@ -13,10 +21,10 @@ let PrincipalPolicyProvider = class PrincipalPolicyProvider {
|
|
|
13
21
|
return policies.filter(p => p.authorizeType === type);
|
|
14
22
|
}
|
|
15
23
|
};
|
|
16
|
-
PrincipalPolicyProvider =
|
|
24
|
+
exports.PrincipalPolicyProvider = PrincipalPolicyProvider;
|
|
25
|
+
exports.PrincipalPolicyProvider = PrincipalPolicyProvider = __decorate([
|
|
17
26
|
(0, core_1.Component)(access_protocol_1.PolicyProvider)
|
|
18
27
|
], PrincipalPolicyProvider);
|
|
19
|
-
exports.PrincipalPolicyProvider = PrincipalPolicyProvider;
|
|
20
28
|
let ResourcePolicyProvider = class ResourcePolicyProvider {
|
|
21
29
|
constructor() {
|
|
22
30
|
this.metadata = {
|
|
@@ -59,18 +67,18 @@ let ResourcePolicyProvider = class ResourcePolicyProvider {
|
|
|
59
67
|
return policies;
|
|
60
68
|
}
|
|
61
69
|
};
|
|
62
|
-
|
|
70
|
+
exports.ResourcePolicyProvider = ResourcePolicyProvider;
|
|
71
|
+
__decorate([
|
|
63
72
|
(0, core_1.Value)('cell.security.policy'),
|
|
64
|
-
|
|
73
|
+
__metadata("design:type", Object)
|
|
65
74
|
], ResourcePolicyProvider.prototype, "policyMap", void 0);
|
|
66
|
-
|
|
75
|
+
__decorate([
|
|
67
76
|
(0, core_1.PostConstruct)(),
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
77
|
+
__metadata("design:type", Function),
|
|
78
|
+
__metadata("design:paramtypes", []),
|
|
79
|
+
__metadata("design:returntype", void 0)
|
|
71
80
|
], ResourcePolicyProvider.prototype, "init", null);
|
|
72
|
-
ResourcePolicyProvider =
|
|
81
|
+
exports.ResourcePolicyProvider = ResourcePolicyProvider = __decorate([
|
|
73
82
|
(0, core_1.Component)(access_protocol_1.PolicyProvider)
|
|
74
83
|
], ResourcePolicyProvider);
|
|
75
|
-
exports.ResourcePolicyProvider = ResourcePolicyProvider;
|
|
76
84
|
//# sourceMappingURL=policy-provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy-provider.js","sourceRoot":"","sources":["../../../src/node/access/policy-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"policy-provider.js","sourceRoot":"","sources":["../../../src/node/access/policy-provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAkE;AAClE,uCAA+D;AAC/D,yCAAqD;AACrD,2CAAsC;AAG/B,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAEhC,KAAK,CAAC,OAAO,CAAC,GAAkB;QAC5B,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC;QAChC,MAAM,QAAQ,GAAa,SAAS,IAAI,SAAS,CAAC,QAAQ,IAAI,EAAE,CAAC;QACjE,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,KAAK,IAAI,CAAC,CAAC;IAC1D,CAAC;CACJ,CAAA;AAPY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,gBAAS,EAAC,gCAAc,CAAC;GACb,uBAAuB,CAOnC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAA5B;QAKgB,aAAQ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;QAC/B,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChC,MAAM,QAAQ,GAAa,EAAE,CAAC;QAC9B,KAAK,MAAM,OAAO,IAAI,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;YAC/B,IAAI,IAAA,qBAAQ,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAE,CAAC;gBAC9B,QAAQ,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,CAAE,CAAC,CAAC;YACxC,CAAC;QACL,CAAC;QACD,OAAO,QAAQ,CAAC;IACpB,CAAC;CACJ,CAAA;AA/CY,wDAAsB;AAGZ;IADlB,IAAA,YAAK,EAAC,sBAAsB,CAAC;;yDAC6C;AAQjE;IADT,IAAA,oBAAa,GAAE;;;;kDAwBf;iCAlCQ,sBAAsB;IADlC,IAAA,gBAAS,EAAC,gCAAc,CAAC;GACb,sBAAsB,CA+ClC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.AclPolicyResolver = exports.ElPolicyResolver = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const access_protocol_1 = require("./access-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const node_1 = require("@celljs/web/lib/node");
|
|
@@ -22,14 +30,14 @@ let ElPolicyResolver = class ElPolicyResolver {
|
|
|
22
30
|
return policy.type === common_1.PolicyType.el;
|
|
23
31
|
}
|
|
24
32
|
};
|
|
25
|
-
|
|
33
|
+
exports.ElPolicyResolver = ElPolicyResolver;
|
|
34
|
+
__decorate([
|
|
26
35
|
(0, core_1.Autowired)(access_protocol_1.JexlEngineProvider),
|
|
27
|
-
|
|
36
|
+
__metadata("design:type", Object)
|
|
28
37
|
], ElPolicyResolver.prototype, "jexlEngineProvider", void 0);
|
|
29
|
-
ElPolicyResolver =
|
|
38
|
+
exports.ElPolicyResolver = ElPolicyResolver = __decorate([
|
|
30
39
|
(0, core_1.Component)(access_protocol_1.PolicyResolver)
|
|
31
40
|
], ElPolicyResolver);
|
|
32
|
-
exports.ElPolicyResolver = ElPolicyResolver;
|
|
33
41
|
let AclPolicyResolver = class AclPolicyResolver {
|
|
34
42
|
match(pattern, resource) {
|
|
35
43
|
return (0, micromatch_1.contains)(resource, pattern);
|
|
@@ -76,8 +84,8 @@ let AclPolicyResolver = class AclPolicyResolver {
|
|
|
76
84
|
return policy.type === common_1.PolicyType.acl;
|
|
77
85
|
}
|
|
78
86
|
};
|
|
79
|
-
AclPolicyResolver =
|
|
87
|
+
exports.AclPolicyResolver = AclPolicyResolver;
|
|
88
|
+
exports.AclPolicyResolver = AclPolicyResolver = __decorate([
|
|
80
89
|
(0, core_1.Component)(access_protocol_1.PolicyResolver)
|
|
81
90
|
], AclPolicyResolver);
|
|
82
|
-
exports.AclPolicyResolver = AclPolicyResolver;
|
|
83
91
|
//# sourceMappingURL=policy-resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy-resolver.js","sourceRoot":"","sources":["../../../src/node/access/policy-resolver.ts"],"names":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AM;YACV,CAAC;QACL,CAAC;QACD,OAAO,gCAAc,CAAC;IAC1B,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,MAAc,EAAE,gBAAkC;QAC5D,OAAO,MAAM,CAAC,IAAI,KAAK,mBAAU,CAAC,GAAG,CAAC;IAC1C,CAAC;CACJ,CAAA;AAlDY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,gBAAS,EAAC,gCAAc,CAAC;GACb,iBAAiB,CAkD7B"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.DefaultResourceNameResolver = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const access_protocol_1 = require("./access-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const constants_1 = require("../constants");
|
|
@@ -38,12 +46,12 @@ let DefaultResourceNameResolver = class DefaultResourceNameResolver {
|
|
|
38
46
|
return resources;
|
|
39
47
|
}
|
|
40
48
|
};
|
|
41
|
-
|
|
49
|
+
exports.DefaultResourceNameResolver = DefaultResourceNameResolver;
|
|
50
|
+
__decorate([
|
|
42
51
|
(0, core_1.Value)(core_1.TENANT_ENABLED),
|
|
43
|
-
|
|
52
|
+
__metadata("design:type", Boolean)
|
|
44
53
|
], DefaultResourceNameResolver.prototype, "tenantEnabled", void 0);
|
|
45
|
-
DefaultResourceNameResolver =
|
|
54
|
+
exports.DefaultResourceNameResolver = DefaultResourceNameResolver = __decorate([
|
|
46
55
|
(0, core_1.Component)(access_protocol_1.ResourceNameResolver)
|
|
47
56
|
], DefaultResourceNameResolver);
|
|
48
|
-
exports.DefaultResourceNameResolver = DefaultResourceNameResolver;
|
|
49
57
|
//# sourceMappingURL=resource-name-resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-name-resolver.js","sourceRoot":"","sources":["../../../src/node/access/resource-name-resolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resource-name-resolver.js","sourceRoot":"","sources":["../../../src/node/access/resource-name-resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAwF;AACxF,uCAAgF;AAChF,4CAA4C;AAC5C,+BAAgC;AAChC,+CAA+C;AAGxC,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAKpC,KAAK,CAAC,OAAO,CAAC,GAAkC;QAC5C,MAAM,cAAc,GAAa,IAAA,qBAAc,EAAC,wBAAY,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAC/F,MAAM,eAAe,GAAa,IAAA,qBAAc,EAAC,wBAAY,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;QAC5G,IAAI,SAAS,GAAa,EAAE,CAAC;QAC7B,IAAI,cAAc,CAAC,MAAM,IAAI,eAAe,CAAC,MAAM,EAAE,CAAC;YAClD,KAAK,MAAM,QAAQ,IAAI,eAAe,EAAE,CAAC;gBACrC,mCAAmC;gBACnC,SAAS,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC,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+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.MethodSecurityMetadataSource = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const core_1 = require("@celljs/core");
|
|
6
14
|
const access_protocol_1 = require("./access-protocol");
|
|
7
15
|
const context_1 = require("../context");
|
|
@@ -37,17 +45,17 @@ let MethodSecurityMetadataSource = class MethodSecurityMetadataSource {
|
|
|
37
45
|
};
|
|
38
46
|
}
|
|
39
47
|
};
|
|
40
|
-
|
|
48
|
+
exports.MethodSecurityMetadataSource = MethodSecurityMetadataSource;
|
|
49
|
+
__decorate([
|
|
41
50
|
(0, core_1.Autowired)(access_protocol_1.SecurityExpressionContextHandler),
|
|
42
51
|
(0, core_1.Optional)(),
|
|
43
|
-
|
|
52
|
+
__metadata("design:type", Object)
|
|
44
53
|
], MethodSecurityMetadataSource.prototype, "securityExpressionContextHandler", void 0);
|
|
45
|
-
|
|
54
|
+
__decorate([
|
|
46
55
|
(0, core_1.Autowired)(access_protocol_1.ActionNameResolver),
|
|
47
|
-
|
|
56
|
+
__metadata("design:type", Object)
|
|
48
57
|
], MethodSecurityMetadataSource.prototype, "actionNameResolver", void 0);
|
|
49
|
-
MethodSecurityMetadataSource =
|
|
58
|
+
exports.MethodSecurityMetadataSource = MethodSecurityMetadataSource = __decorate([
|
|
50
59
|
(0, core_1.Component)(access_protocol_1.SecurityMetadataSource)
|
|
51
60
|
], MethodSecurityMetadataSource);
|
|
52
|
-
exports.MethodSecurityMetadataSource = MethodSecurityMetadataSource;
|
|
53
61
|
//# sourceMappingURL=security-metadata-source.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-metadata-source.js","sourceRoot":"","sources":["../../../src/node/access/security-metadata-source.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"security-metadata-source.js","sourceRoot":"","sources":["../../../src/node/access/security-metadata-source.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA8E;AAC9E,uDAEqH;AACrH,wCAA6C;AAC7C,4CAA4C;AAC5C,+CAA+C;AAIxC,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IAQrC,KAAK,CAAC,IAAI,CAAC,OAAsC;QAC7C,MAAM,aAAa,GAAa,IAAA,qBAAc,EAAC,wBAAY,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACnG,MAAM,cAAc,GAAa,IAAA,qBAAc,EAAC,wBAAY,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;QACpH,MAAM,GAAG,GAAG;YACR,GAAG,OAAO;YACV,GAAG,yBAAe,CAAC,iBAAiB,EAAE;SACzC,CAAC;QACF,IAAI,IAAI,CAAC,gCAAgC,EAAE,CAAC;YACxC,MAAM,IAAI,CAAC,gCAAgC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC5D,CAAC;QACD,cAAO,CAAC,OAAO,CAAC,iDAA+B,EAAE,GAAG,CAAC,CAAC;QACtD,MAAM,QAAQ,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC;aACnD,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,aAAa,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9D,OAAO;YACH,aAAa,EAAE,OAAO,CAAC,aAAa;YACpC,SAAS,EAAE,yBAAe,CAAC,iBAAiB,EAAE,CAAC,SAAS;YACxD,MAAM;YACN,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,QAAQ;YAClB,IAAI,KAAK;gBACL,OAAO,GAAG,CAAC,KAAK,CAAC;YACrB,CAAC;YACD,IAAI,KAAK,CAAC,KAAa;gBACnB,GAAG,CAAC,KAAK,GAAG,KAAK,CAAC;YACtB,CAAC;SACJ,CAAC;IACN,CAAC;CACJ,CAAA;AApCY,oEAA4B;AAGlB;IADlB,IAAA,gBAAS,EAAC,kDAAgC,CAAC;IAAE,IAAA,eAAQ,GAAE;;sFAC8B;AAGnE;IADlB,IAAA,gBAAS,EAAC,oCAAkB,CAAC;;wEAC4B;uCANjD,4BAA4B;IADxC,IAAA,gBAAS,EAAC,wCAAsB,CAAC;GACrB,4BAA4B,CAoCxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/action.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/action.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,GAAa,MAAM,MAAM,MAChC,QAAQ,GAAG,EAAE,WAAW,MAAM,GAAG,MAAM,EAAE,YAAY,GAAG,SAInE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const Anonymous: () => (target: any, targetKey?: string | symbol
|
|
1
|
+
export declare const Anonymous: () => (target: any, targetKey?: string | symbol, descriptor?: any) => void;
|
|
2
2
|
//# sourceMappingURL=anonymous.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anonymous.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/anonymous.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"anonymous.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/anonymous.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,4EAErB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const Authenticated: () => (target: any, targetKey?: string | symbol
|
|
1
|
+
export declare const Authenticated: () => (target: any, targetKey?: string | symbol, descriptor?: any) => void;
|
|
2
2
|
//# sourceMappingURL=authenticated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticated.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/authenticated.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"authenticated.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/authenticated.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,4EAEzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorize.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/authorize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAc,MAAM,cAAc,CAAC;AAEjE,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,aAAa,CAAC;CAChC;AAED,yBAAiB,QAAQ,CAAC;IACtB,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,QAAQ,CAElD;CACJ;AAED,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"authorize.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/authorize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAc,MAAM,cAAc,CAAC;AAEjE,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,aAAa,CAAC;CAChC;AAED,yBAAiB,QAAQ,CAAC;IACtB,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,QAAQ,CAElD;CACJ;AAED,eAAO,MAAM,SAAS,GAAa,sBAAsB,MAAM,GAAG,QAAQ,GAAG,MAAM,MAEvE,QAAQ,GAAG,EAAE,YAAY,MAAM,GAAG,MAAM,EAAE,aAAa,GAAG,SAYrE,CAAC;AAEF,wBAAgB,SAAS,CAAC,oBAAoB,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,UAQzE"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Authorize = exports.ElOption = void 0;
|
|
4
|
+
exports.getPolicy = getPolicy;
|
|
4
5
|
const constants_1 = require("../constants");
|
|
5
6
|
const common_1 = require("../../common");
|
|
6
7
|
var ElOption;
|
|
@@ -9,7 +10,7 @@ var ElOption;
|
|
|
9
10
|
return option && (option.el !== undefined || option.authorizeType);
|
|
10
11
|
}
|
|
11
12
|
ElOption.is = is;
|
|
12
|
-
})(ElOption
|
|
13
|
+
})(ElOption || (exports.ElOption = ElOption = {}));
|
|
13
14
|
const Authorize = function (elOrElOptionOrPolicy) {
|
|
14
15
|
const policy = getPolicy(elOrElOptionOrPolicy);
|
|
15
16
|
return (target, targetKey, descriptor) => {
|
|
@@ -36,5 +37,4 @@ function getPolicy(elOrElOptionOrPolicy) {
|
|
|
36
37
|
}
|
|
37
38
|
return policy;
|
|
38
39
|
}
|
|
39
|
-
exports.getPolicy = getPolicy;
|
|
40
40
|
//# sourceMappingURL=authorize.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorize.js","sourceRoot":"","sources":["../../../src/node/annotation/authorize.ts"],"names":[],"mappings":";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,SAAgB,SAAS,CAAC,oBAAgD;IACtE,IAAI,MAAM,GAAW,oBAAoB,CAAC;IAC1C,IAAI,OAAO,oBAAoB,KAAK,QAAQ,EAAE,CAAC;QAC3C,MAAM,GAAG,EAAE,aAAa,EAAE,sBAAa,CAAC,GAAG,EAAE,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,mBAAU,CAAC,EAAE,EAAE,CAAC;IACjG,CAAC;SAAM,IAAI,oBAAoB,CAAC,EAAE,EAAE,CAAC;QACjC,MAAM,GAAG,EAAE,IAAI,EAAE,mBAAU,CAAC,EAAE,EAAE,GAAG,oBAAoB,EAAC,CAAC;IAC7D,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
tslib_1.__exportStar(require("./action"), exports);
|
|
17
|
+
__exportStar(require("./anonymous"), exports);
|
|
18
|
+
__exportStar(require("./authenticated"), exports);
|
|
19
|
+
__exportStar(require("./authorize"), exports);
|
|
20
|
+
__exportStar(require("./post-authorize"), exports);
|
|
21
|
+
__exportStar(require("./pre-authorize"), exports);
|
|
22
|
+
__exportStar(require("./resource"), exports);
|
|
23
|
+
__exportStar(require("./action"), exports);
|
|
11
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/annotation/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/annotation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,kDAAgC;AAChC,6CAA2B;AAC3B,2CAAyB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PostAuthorize: (el: string) => (target: any, targetKey?: string | symbol
|
|
1
|
+
export declare const PostAuthorize: (el: string) => (target: any, targetKey?: string | symbol, descriptor?: any) => void;
|
|
2
2
|
//# sourceMappingURL=post-authorize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-authorize.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/post-authorize.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"post-authorize.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/post-authorize.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,GAAa,IAAI,MAAM,yEAEhD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PreAuthorize: (el: string) => (target: any, targetKey?: string | symbol
|
|
1
|
+
export declare const PreAuthorize: (el: string) => (target: any, targetKey?: string | symbol, descriptor?: any) => void;
|
|
2
2
|
//# sourceMappingURL=pre-authorize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pre-authorize.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/pre-authorize.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"pre-authorize.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/pre-authorize.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,GAAa,IAAI,MAAM,yEAE/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/resource.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../../src/node/annotation/resource.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,GAAa,GAAG,WAAW,MAAM,EAAE,MAC5C,QAAQ,GAAG,EAAE,YAAY,MAAM,GAAG,MAAM,EAAE,aAAa,GAAG,SAQrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../src/node/annotation/resource.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAErC,MAAM,QAAQ,GAAG,UAAU,GAAG,SAAmB;IACpD,OAAO,CAAC,MAAW,EAAE,SAA2B,EAAE,UAAgB,EAAE,EAAE;QAClE,IAAI,SAAS,EAAE;
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../src/node/annotation/resource.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAErC,MAAM,QAAQ,GAAG,UAAU,GAAG,SAAmB;IACpD,OAAO,CAAC,MAAW,EAAE,SAA2B,EAAE,UAAgB,EAAE,EAAE;QAClE,IAAI,SAAS,EAAE,CAAC;YACZ,OAAO,CAAC,cAAc,CAAC,wBAAY,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QAC5F,CAAC;aAAM,CAAC;YACJ,OAAO,CAAC,cAAc,CAAC,wBAAY,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QACrE,CAAC;IACL,CAAC,CAAC;AAEN,CAAC,CAAC;AATW,QAAA,QAAQ,YASnB"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.AuthenticationManagerImpl = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const core_1 = require("@celljs/core");
|
|
6
14
|
const authentication_protocol_1 = require("./authentication-protocol");
|
|
7
15
|
const error_1 = require("../error");
|
|
@@ -52,22 +60,22 @@ let AuthenticationManagerImpl = class AuthenticationManagerImpl {
|
|
|
52
60
|
return false;
|
|
53
61
|
}
|
|
54
62
|
};
|
|
55
|
-
|
|
63
|
+
exports.AuthenticationManagerImpl = AuthenticationManagerImpl;
|
|
64
|
+
__decorate([
|
|
56
65
|
(0, core_1.Autowired)(authentication_protocol_1.AuthenticationProvider),
|
|
57
|
-
|
|
66
|
+
__metadata("design:type", Array)
|
|
58
67
|
], AuthenticationManagerImpl.prototype, "authenticationProviders", void 0);
|
|
59
|
-
|
|
68
|
+
__decorate([
|
|
60
69
|
(0, core_1.Autowired)(authentication_protocol_1.AuthenticationSuccessHandler),
|
|
61
|
-
|
|
70
|
+
__metadata("design:type", Object)
|
|
62
71
|
], AuthenticationManagerImpl.prototype, "authenticationSuccessHandler", void 0);
|
|
63
|
-
|
|
72
|
+
__decorate([
|
|
64
73
|
(0, core_1.PostConstruct)(),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
74
|
+
__metadata("design:type", Function),
|
|
75
|
+
__metadata("design:paramtypes", []),
|
|
76
|
+
__metadata("design:returntype", void 0)
|
|
68
77
|
], AuthenticationManagerImpl.prototype, "init", null);
|
|
69
|
-
AuthenticationManagerImpl =
|
|
78
|
+
exports.AuthenticationManagerImpl = AuthenticationManagerImpl = __decorate([
|
|
70
79
|
(0, core_1.Component)(authentication_protocol_1.AuthenticationManager)
|
|
71
80
|
], AuthenticationManagerImpl);
|
|
72
|
-
exports.AuthenticationManagerImpl = AuthenticationManagerImpl;
|
|
73
81
|
//# sourceMappingURL=authentication-manager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-manager.js","sourceRoot":"","sources":["../../../src/node/authentication/authentication-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"authentication-manager.js","sourceRoot":"","sources":["../../../src/node/authentication/authentication-manager.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAmF;AACnF,uEAAwI;AACxI,oCAAmE;AACnE,wCAA6C;AAGtC,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAWlC,IAAI;QACA,IAAI,CAAC,WAAW,GAAG,qBAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACxG,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,IAAyB;QACxC,IAAI,MAAkC,CAA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;IADC,IAAA,oBAAa,GAAE;;;;qDAGf;oCAbQ,yBAAyB;IADrC,IAAA,gBAAS,EAAC,+CAAqB,CAAC;GACpB,yBAAyB,CAsDrC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.AuthenticationMiddleware = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const node_1 = require("@celljs/web/lib/node");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const authentication_protocol_1 = require("./authentication-protocol");
|
|
@@ -17,12 +25,12 @@ let AuthenticationMiddleware = class AuthenticationMiddleware {
|
|
|
17
25
|
await next();
|
|
18
26
|
}
|
|
19
27
|
};
|
|
20
|
-
|
|
28
|
+
exports.AuthenticationMiddleware = AuthenticationMiddleware;
|
|
29
|
+
__decorate([
|
|
21
30
|
(0, core_1.Autowired)(authentication_protocol_1.AuthenticationManager),
|
|
22
|
-
|
|
31
|
+
__metadata("design:type", Object)
|
|
23
32
|
], AuthenticationMiddleware.prototype, "authenticationManager", void 0);
|
|
24
|
-
AuthenticationMiddleware =
|
|
33
|
+
exports.AuthenticationMiddleware = AuthenticationMiddleware = __decorate([
|
|
25
34
|
(0, core_1.Component)(node_1.Middleware)
|
|
26
35
|
], AuthenticationMiddleware);
|
|
27
|
-
exports.AuthenticationMiddleware = AuthenticationMiddleware;
|
|
28
36
|
//# sourceMappingURL=authentication-middleware.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-middleware.js","sourceRoot":"","sources":["../../../src/node/authentication/authentication-middleware.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"authentication-middleware.js","sourceRoot":"","sources":["../../../src/node/authentication/authentication-middleware.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA2D;AAC3D,uCAAoD;AACpD,uEAAkG;AAG3F,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAA9B;QAaM,aAAQ,GAAW,wDAA8B,CAAC;IAE/D,CAAC;IAVG,KAAK,CAAC,MAAM,CAAC,GAAY,EAAE,IAAyB;QAChD,IAAI,MAAM,IAAI,CAAC,qBAAqB,CAAC,OAAO,EAAE,EAAE,CAAC;YAC7C,MAAM,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YACpD,OAAO;QACX,CAAC;QACD,MAAM,IAAI,EAAE,CAAC;IACjB,CAAC;CAIJ,CAAA;AAfY,4DAAwB;AAGd;IADlB,IAAA,gBAAS,EAAC,+CAAqB,CAAC;;uEAC+B;mCAHvD,wBAAwB;IADpC,IAAA,gBAAS,EAAC,iBAAU,CAAC;GACT,wBAAwB,CAepC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.BasicAuthenticationProvider = exports.UsernamePasswordAuthenticationProvider = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const core_1 = require("@celljs/core");
|
|
6
14
|
const authentication_protocol_1 = require("./authentication-protocol");
|
|
7
15
|
const node_1 = require("@celljs/web/lib/node");
|
|
@@ -47,42 +55,42 @@ let UsernamePasswordAuthenticationProvider = class UsernamePasswordAuthenticatio
|
|
|
47
55
|
return !!await this.requestMatcher.match(await this.pathResolver.resolve(this.options.loginUrl), this.options.loginMethod);
|
|
48
56
|
}
|
|
49
57
|
};
|
|
50
|
-
|
|
58
|
+
exports.UsernamePasswordAuthenticationProvider = UsernamePasswordAuthenticationProvider;
|
|
59
|
+
__decorate([
|
|
51
60
|
(0, core_1.Value)('cell.security'),
|
|
52
|
-
|
|
61
|
+
__metadata("design:type", Object)
|
|
53
62
|
], UsernamePasswordAuthenticationProvider.prototype, "options", void 0);
|
|
54
|
-
|
|
63
|
+
__decorate([
|
|
55
64
|
(0, core_1.Autowired)(crypto_1.PasswordEncoder),
|
|
56
|
-
|
|
65
|
+
__metadata("design:type", Object)
|
|
57
66
|
], UsernamePasswordAuthenticationProvider.prototype, "passwordEncoder", void 0);
|
|
58
|
-
|
|
67
|
+
__decorate([
|
|
59
68
|
(0, core_1.Autowired)(user_1.UserService),
|
|
60
|
-
|
|
69
|
+
__metadata("design:type", Object)
|
|
61
70
|
], UsernamePasswordAuthenticationProvider.prototype, "userService", void 0);
|
|
62
|
-
|
|
71
|
+
__decorate([
|
|
63
72
|
(0, core_1.Autowired)(user_1.UserChecker),
|
|
64
|
-
|
|
73
|
+
__metadata("design:type", Object)
|
|
65
74
|
], UsernamePasswordAuthenticationProvider.prototype, "userChecker", void 0);
|
|
66
|
-
|
|
75
|
+
__decorate([
|
|
67
76
|
(0, core_1.Autowired)(user_1.UserMapper),
|
|
68
|
-
|
|
77
|
+
__metadata("design:type", Object)
|
|
69
78
|
], UsernamePasswordAuthenticationProvider.prototype, "userMapper", void 0);
|
|
70
|
-
|
|
79
|
+
__decorate([
|
|
71
80
|
(0, core_1.Autowired)(node_1.RequestMatcher),
|
|
72
|
-
|
|
81
|
+
__metadata("design:type", Object)
|
|
73
82
|
], UsernamePasswordAuthenticationProvider.prototype, "requestMatcher", void 0);
|
|
74
|
-
|
|
83
|
+
__decorate([
|
|
75
84
|
(0, core_1.Autowired)(web_1.PathResolver),
|
|
76
|
-
|
|
85
|
+
__metadata("design:type", Object)
|
|
77
86
|
], UsernamePasswordAuthenticationProvider.prototype, "pathResolver", void 0);
|
|
78
|
-
|
|
87
|
+
__decorate([
|
|
79
88
|
(0, core_1.Autowired)(node_1.RedirectStrategy),
|
|
80
|
-
|
|
89
|
+
__metadata("design:type", Object)
|
|
81
90
|
], UsernamePasswordAuthenticationProvider.prototype, "redirectStrategy", void 0);
|
|
82
|
-
UsernamePasswordAuthenticationProvider =
|
|
91
|
+
exports.UsernamePasswordAuthenticationProvider = UsernamePasswordAuthenticationProvider = __decorate([
|
|
83
92
|
(0, core_1.Component)(authentication_protocol_1.AuthenticationProvider)
|
|
84
93
|
], UsernamePasswordAuthenticationProvider);
|
|
85
|
-
exports.UsernamePasswordAuthenticationProvider = UsernamePasswordAuthenticationProvider;
|
|
86
94
|
let BasicAuthenticationProvider = class BasicAuthenticationProvider {
|
|
87
95
|
constructor() {
|
|
88
96
|
this.priority = authentication_protocol_1.BASE_AUTHENTICATION_PROVIDER_PRIORITY;
|
|
@@ -131,36 +139,36 @@ let BasicAuthenticationProvider = class BasicAuthenticationProvider {
|
|
|
131
139
|
return false;
|
|
132
140
|
}
|
|
133
141
|
};
|
|
134
|
-
|
|
142
|
+
exports.BasicAuthenticationProvider = BasicAuthenticationProvider;
|
|
143
|
+
__decorate([
|
|
135
144
|
(0, core_1.Autowired)(crypto_1.PasswordEncoder),
|
|
136
|
-
|
|
145
|
+
__metadata("design:type", Object)
|
|
137
146
|
], BasicAuthenticationProvider.prototype, "passwordEncoder", void 0);
|
|
138
|
-
|
|
147
|
+
__decorate([
|
|
139
148
|
(0, core_1.Autowired)(user_1.UserService),
|
|
140
|
-
|
|
149
|
+
__metadata("design:type", Object)
|
|
141
150
|
], BasicAuthenticationProvider.prototype, "userService", void 0);
|
|
142
|
-
|
|
151
|
+
__decorate([
|
|
143
152
|
(0, core_1.Autowired)(user_1.UserChecker),
|
|
144
|
-
|
|
153
|
+
__metadata("design:type", Object)
|
|
145
154
|
], BasicAuthenticationProvider.prototype, "userChecker", void 0);
|
|
146
|
-
|
|
155
|
+
__decorate([
|
|
147
156
|
(0, core_1.Autowired)(user_1.UserMapper),
|
|
148
|
-
|
|
157
|
+
__metadata("design:type", Object)
|
|
149
158
|
], BasicAuthenticationProvider.prototype, "userMapper", void 0);
|
|
150
|
-
|
|
159
|
+
__decorate([
|
|
151
160
|
(0, core_1.Autowired)(node_1.RequestMatcher),
|
|
152
|
-
|
|
161
|
+
__metadata("design:type", Object)
|
|
153
162
|
], BasicAuthenticationProvider.prototype, "requestMatcher", void 0);
|
|
154
|
-
|
|
163
|
+
__decorate([
|
|
155
164
|
(0, core_1.Autowired)(web_1.PathResolver),
|
|
156
|
-
|
|
165
|
+
__metadata("design:type", Object)
|
|
157
166
|
], BasicAuthenticationProvider.prototype, "pathResolver", void 0);
|
|
158
|
-
|
|
167
|
+
__decorate([
|
|
159
168
|
(0, core_1.Autowired)(node_1.RedirectStrategy),
|
|
160
|
-
|
|
169
|
+
__metadata("design:type", Object)
|
|
161
170
|
], BasicAuthenticationProvider.prototype, "redirectStrategy", void 0);
|
|
162
|
-
BasicAuthenticationProvider =
|
|
171
|
+
exports.BasicAuthenticationProvider = BasicAuthenticationProvider = __decorate([
|
|
163
172
|
(0, core_1.Component)(authentication_protocol_1.AuthenticationProvider)
|
|
164
173
|
], BasicAuthenticationProvider);
|
|
165
|
-
exports.BasicAuthenticationProvider = BasicAuthenticationProvider;
|
|
166
174
|
//# sourceMappingURL=authentication-provider.js.map
|