forked from apache/karaf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
feature.xml
2648 lines (2499 loc) · 112 KB
/
feature.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<features name="standard-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0">
<repository>mvn:org.ops4j.pax.web/pax-web-features/${pax.web.version}/xml/features</repository>
<feature version="${project.version}" description="OSGi Security for Karaf" name="framework-security">
<bundle start="false" start-level="1">mvn:org.apache.felix/org.apache.felix.framework.security/${felix.framework.security.version}</bundle>
</feature>
<feature version="${project.version}" description="Services Security for Karaf" name="service-security">
<feature>jaas-boot</feature>
<feature>aries-proxy</feature>
<bundle start-level="10">mvn:org.apache.karaf.service/org.apache.karaf.service.guard/${project.version}</bundle>
</feature>
<feature name="aries-proxy" description="Aries Proxy" version="${project.version}">
<!-- false to avoid restarts of proxy which cascades badly -->
<bundle dependency="false" start-level="20">mvn:org.ow2.asm/asm/${asm.version}</bundle>
<bundle dependency="false" start-level="20">mvn:org.ow2.asm/asm-util/${asm.version}</bundle>
<bundle dependency="false" start-level="20">mvn:org.ow2.asm/asm-tree/${asm.version}</bundle>
<bundle dependency="false" start-level="20">mvn:org.ow2.asm/asm-analysis/${asm.version}</bundle>
<bundle dependency="false" start-level="20">mvn:org.ow2.asm/asm-commons/${asm.version}</bundle>
<bundle start-level="20">mvn:org.apache.aries.proxy/org.apache.aries.proxy/${aries.proxy.version}</bundle>
</feature>
<feature name="aries-blueprint" description="Aries Blueprint" version="${project.version}">
<feature>aries-proxy</feature>
<bundle dependency="true" start-level="20">mvn:org.apache.aries/org.apache.aries.util/${aries.util.version}</bundle>
<bundle start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core.compatibility/${aries.blueprint.core.compatibility.version}</bundle>
<bundle start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/${aries.blueprint.api.version}</bundle>
<bundle start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/${aries.blueprint.cm.version}</bundle>
<bundle start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/${aries.blueprint.core.version}</bundle>
<conditional>
<condition>bundle</condition>
<bundle start-level="30">mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/${project.version}</bundle>
</conditional>
<capability>
osgi.service;effective:=active;objectClass=org.apache.aries.blueprint.services.ParserService,
osgi.extender; osgi.extender="osgi.blueprint";uses:="org.osgi.service.blueprint.container,org.osgi.service.blueprint.reflect";version:Version="1.0"
</capability>
</feature>
<feature name="feature" description="Features Support" version="${project.version}">
<bundle start-level="1">mvn:org.apache.karaf.features/org.apache.karaf.features.extension/${project.version}</bundle>
<bundle start-level="15">mvn:org.apache.karaf.features/org.apache.karaf.features.core/${project.version}</bundle>
<config name="org.apache.karaf.features.repos">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# This file describes the features repository URL
# It could be directly installed using feature:repo-add command
#
enterprise=mvn:org.apache.karaf.features/enterprise/${karaf.version}/xml/features
spring=mvn:org.apache.karaf.features/spring/${karaf.version}/xml/features
spring-legacy=mvn:org.apache.karaf.features/spring-legacy/${karaf.version}/xml/features
cellar=mvn:org.apache.karaf.cellar/apache-karaf-cellar/RELEASE/xml/features
cave=mvn:org.apache.karaf.cave/apache-karaf-cave/RELEASE/xml/features
camel=mvn:org.apache.camel.karaf/apache-camel/RELEASE/xml/features
camel-extras=mvn:org.apache-extras.camel-extra.karaf/camel-extra/RELEASE/xml/features
cxf=mvn:org.apache.cxf.karaf/apache-cxf/RELEASE/xml/features
cxf-dosgi=mvn:org.apache.cxf.dosgi/cxf-dosgi/RELEASE/xml/features
cxf-dosgi-samples=mvn:org.apache.cxf.dosgi/cxf-dosgi-samples/RELEASE/xml/features
cxf-xkms=mvn:org.apache.cxf.services.xkms/cxf-services-xkms-features/RELEASE/xml
activemq=mvn:org.apache.activemq/activemq-karaf/RELEASE/xml/features
aries.jax.rs.whiteboard=mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/RELEASE/xml
jclouds=mvn:org.apache.jclouds.karaf/jclouds-karaf/RELEASE/xml/features
hawtio=mvn:io.hawt/hawtio-karaf/RELEASE/xml/features
pax-cdi=mvn:org.ops4j.pax.cdi/pax-cdi-features/RELEASE/xml/features
pax-jdbc=mvn:org.ops4j.pax.jdbc/pax-jdbc-features/RELEASE/xml/features
pax-jms=mvn:org.ops4j.pax.jms/pax-jms-features/RELEASE/xml/features
pax-jpa=mvn:org.ops4j.pax.jpa/pax-jpa-features/RELEASE/xml/features
pax-transx=mvn:org.ops4j.pax.transx/pax-transx-features/RELEASE/xml/features
pax-web=mvn:org.ops4j.pax.web/pax-web-features/RELEASE/xml/features
decanter=mvn:org.apache.karaf.decanter/apache-karaf-decanter/RELEASE/xml/features
eclipsesource-jaxrs=mvn:com.eclipsesource.jaxrs/features/RELEASE/xml/features
aries-cdi=mvn:org.apache.aries.cdi/aries-cdi-feature/RELEASE/xml/features
aries-jpa=mvn:org.apache.aries.jpa/jpa-features/RELEASE/xml/features
aries-rsa=mvn:org.apache.aries.rsa/rsa-features/RELEASE/xml/features
hibernate=mvn:org.hibernate/hibernate-osgi/RELEASE/xml/karaf
ignite=mvn:org.apache.ignite/ignite-osgi-karaf/RELEASE/xml/features
artemis=mvn:org.apache.activemq/artemis-features/RELEASE/xml/features
</config>
<conditional>
<condition>shell</condition>
<config name="org.apache.karaf.command.acl.feature">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# This configuration file defines the ACLs for commands in the feature subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
list = admin, manager, viewer
repo-list = admin, manager, viewer
info = admin, manager, viewer
version-list = admin, manager, viewer
repo-refresh = admin, manager
repo-add = admin, manager
repo-remove = admin, manager
install = admin, manager
uninstall = admin, manager
start = admin, manager
stop = admin, manager
status = admin, manager
update = admin, manager
</config>
<bundle start-level="30">mvn:org.apache.karaf.features/org.apache.karaf.features.command/${project.version}</bundle>
</conditional>
</feature>
<feature name="jaas-boot" hidden="true" version="${project.version}">
<library export="true" delegate="true" type="boot">
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.boot/${project.version}
</library>
</feature>
<feature name="shell" description="Karaf Shell" version="${project.version}">
<feature>jaas-boot</feature>
<config name="org.apache.karaf.command.acl.shell">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# This configuration file defines the ACLs for commands in the shell subshell
#
nano = admin
exec = admin
new = admin
info = admin, manager, viewer
java = admin
date = admin, manager, viewer
if = ssh,admin,manager,viewer
complete = ssh,admin,manager,viewer
setopt = ssh,admin,manager,viewer
unsetopt = ssh,admin,manager,viewer
.invoke = ssh,admin,manager,viewer
stack-traces-print = admin, manager
threads = admin, manager, viewer
logout = admin, manager, viewer
</config>
<config name="org.apache.karaf.command.acl.scope_bundle">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# This configuration file defines the ACLs for scope bundles
#
features=org.apache.karaf.features.command
jaas=org.apache.karaf.jaas.command
admin=org.apache.karaf.admin.command
osgi=org.apache.karaf.shell.osgi
log=org.apache.karaf.shell.log
packages=org.apache.karaf.shell.packages
config=org.apache.karaf.shell.config
ssh=org.apache.karaf.shell.ssh
shell=org.apache.karaf.shell.commands
</config>
<config name="org.apache.karaf.shell">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# These properties are used to configure Karaf's ssh shell.
#
#
# Via sshPort and sshHost you define the address you can login into Karaf.
#
sshPort = ${env:ORG_APACHE_KARAF_SSH_SSHPORT:-8101}
sshHost = ${env:ORG_APACHE_KARAF_SSH_SSHHOST:-0.0.0.0}
#
# The sshIdleTimeout defines the inactivity timeout to logout the SSH session.
# The sshIdleTimeout is in milliseconds, and the default is set to 30 minutes.
#
sshIdleTimeout = ${env:ORG_APACHE_KARAF_SSH_SSHIDLETIMEOUT:-1800000}
#
# Define the number of the NIO workers for the sshd server. Default is 2.
#
#nio-workers = 2
#
# Define the maximum number of SSH sessions. Default is unlimited.
#
#max-concurrent-sessions = -1
#
# sshRealm defines which JAAS domain to use for password authentication.
#
sshRealm = ${env:ORG_APACHE_KARAF_SSH_SSHREALM:-karaf}
#
# sshRole defines the role required to access the console through ssh
#
sshRole = ${env:ORG_APACHE_KARAF_SSH_SSHROLE:-ssh}
#
# Defines if the SFTP system is enabled or not in the SSH server
#
sftpEnabled = ${env:ORG_APACHE_KARAF_SSH_SFTPENABLED:-true}
#
# The location of the hostKey file defines where the private key of the server
# is located. If no file is at the defined location it will be ignored.
#
hostKey = ${karaf.etc}/host.key
#
# The password required to decrypt the private key of the server stored in
# 'hostKey'. This is not required if the private key stored in 'hostKey' is
# not encrypted
#
#hostKeyPassword =
#
# The location of the hostKeyPub file defines where the public key of the server
# is located. If no file is at the defined location it will be ignored.
#
#hostKeyPub = ${karaf.etc}/host.key.pub
#
# Self defined key size in 1024, 2048, 3072, or 4096
# If not set, this defaults to 2048.
#
# keySize = 2048
#
# Specify host key algorithm, defaults to RSA. When EC or EDDSA is used, please change keySize to 0 (to use proper key
# parameters for Elliptic Curves or Ed25519 algorithms)
#
# algorithm = RSA
#
# Specify the client log level (default is WARN)
# 0: ERROR
# 1: WARN
# 2: INFO
# 3: DEBUG
# 4: TRACE
#
#logLevel = 1
#
# Specify an additional welcome banner to be displayed when a user logs into the server.
#
# welcomeBanner =
#
# Defines the completion mode on the Karaf shell console. The possible values are:
# - GLOBAL: it's the same behavior as in previous Karaf releases. The completion displays all commands and all aliases
# ignoring if you are in a subshell or not.
# - FIRST: the completion displays all commands and all aliases only when you are not in a subshell. When you are
# in a subshell, the completion displays only the commands local to the subshell.
# - SUBSHELL: the completion displays only the subshells on the root level. When you are in a subshell, the completion
# displays only the commands local to the subshell.
# This property define the default value when you use the Karaf shell console.
# You can change the completion mode directly in the shell console, using shell:completion command.
#
completionMode = ${env:ORG_APACHE_KARAF_SHELL_COMPLETIONMODE:-GLOBAL}
# If set to true, shell:logout command will not exit Karaf. This can be usfeul to avoid accidental exits.
# You will be able to exit via 'shutdown' or 'halt' instead.
disableLogout = false
# If set to true, it will stop CTRL-D from exiting Karaf. This can be usfeul to avoid accidental exits.
# You will be able to exit via 'shutdown' or 'halt' instead.
disableEofExit = false
#
# Override allowed SSH cipher algorithms.
# Default: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc
#
# ciphers = aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc
#
# Override allowed SSH HMAC algorithms.
# Default: hmac-sha2-512,hmac-sha2-256,hmac-sha1
#
# macs = hmac-sha2-512,hmac-sha2-256,hmac-sha1
#
# Override allowed SSH key exchange algorithms.
# Default: ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group18-sha512,diffie-hellman-group17-sha512,diffie-hellman-group16-sha512,diffie-hellman-group15-sha512,diffie-hellman-group14-sha256
#
# kexAlgorithms = ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group18-sha512,diffie-hellman-group17-sha512,diffie-hellman-group16-sha512,diffie-hellman-group15-sha512,diffie-hellman-group14-sha256
#
# Override allowed SSH signature algorithms.
# Default: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ecdsa-sha2-nistp256@openssh.com,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
#
# signatureAlgorithms = ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ecdsa-sha2-nistp256@openssh.com,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
#
# Override moduli-url.
# Default: moduli-url not specified to use the internal one from SSHD
#
# moduli-url = external moduli-url users wanna use
</config>
<config name="org.apache.karaf.command.acl.patch">
#
# This configuration file defines the ACLs for various commands in the patch subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
list = admin, manager, viewer
add = admin, manager
install = admin, manager
simulate = admin, manager
rollback = admin
</config>
<config name="org.apache.karaf.command.acl.dev">
#
# This configuration file defines the ACLs for commands in the dev subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
dump-create = admin, manager, viewer
</config>
<config name="org.apache.karaf.command.acl.http">
#
# This configuration file defines the ACLs for commands in the http subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
list = admin, manager, viewer
proxy-add = admin, manager
proxy-list = admin, manager, viewer
proxy-remove = admin, manager
proxy-balancing-list = admin, manager, viewer
</config>
<config name="org.apache.karaf.command.acl.jndi">
#
# This configuration file defines the ACLs for commands in the jndi subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
names = admin, manager, viewer
bind = admin
unbind = admin
alias = admin
</config>
<config name="org.apache.karaf.command.acl.obr">
#
# This configuration file defines the ACLs for commands in the jndi subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
list = admin, manager, viewer
url-list = admin, manager, viewer
</config>
<config name="org.apache.karaf.command.acl.web">
#
# This configuration file defines the ACLs for commands in the web subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
wab-list = admin, manager, viewer
servlet-list = admin, manager, viewer
context-list = admin, manager, viewer
meta = admin, manager, viewer
wab-info = admin, manager, viewer
start = admin
stop = admin
launch = admin
install = admin
uninstall = admin
</config>
<config name="org.apache.karaf.command.acl.wrapper">
#
# This configuration file defines the ACLs for commands in the wrapper subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
install = admin
</config>
<config name="org.apache.karaf.command.acl.cxf">
#
# This configuration file defines the ACLs for commands in the cxf subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
list-busses = admin, manager, viewer
list-endpoints = admin, manager, viewer
start-endpoint = admin
stop-endpoint = admin
</config>
<config name="org.apache.karaf.command.acl.camel">
#
# This configuration file defines the ACLs for commands in the camel subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
context-info = admin, manager, viewer
context-list = admin, manager, viewer
context-start = admin, manager
context-stop = admin, manager
endpoint-list = admin, manager, viewer
route-info = admin, manager, viewer
route-profile = admin, manager, viewer
route-reset-stats = admin, manager
route-show = admin, manager, viewer
route-list = admin, manager, viewer
route-stop = admin, manager
route-start = admin, manager
route-suspend = admin, manager
route-resume = admin, manager
</config>
<!--bundle start-level="30">mvn:org.fusesource.jansi/jansi/${jansi.version}</bundle>
<bundle start-level="30">mvn:org.jline/jline/${jline.version}</bundle-->
<feature>jline</feature>
<bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.aesh-jline/${project.version}</bundle>
<bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/${project.version}</bundle>
<bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/${project.version}</bundle>
</feature>
<feature name="jline" version="${jline.version}" hidden="true">
<bundle dependency="true" start-level="30">mvn:org.fusesource.jansi/jansi/${jansi.version}</bundle>
<bundle start-level="30">mvn:org.jline/jline/${jline.version}</bundle>
</feature>
<feature name="shell-compat" description="Karaf Shell Compatibility" version="${project.version}">
<feature>aries-blueprint</feature>
<feature>shell</feature>
<bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.console/${project.version}</bundle>
<bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.table/${project.version}</bundle>
</feature>
<feature name="deployer" description="Karaf Deployer" version="${project.version}">
<bundle start-level="26">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/${project.version}</bundle>
<conditional>
<condition>pax-url-wrap</condition>
<bundle start-level="24">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/${project.version}</bundle>
</conditional>
<conditional>
<condition>req:osgi.extender;filter:="(&(osgi.extender=osgi.blueprint)(version>=1.0))"</condition>
<bundle start-level="24">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/${project.version}</bundle>
</conditional>
<conditional>
<condition>kar</condition>
<bundle start-level="24">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/${project.version}</bundle>
</conditional>
</feature>
<feature name="wrapper" description="Provide OS integration" version="${project.version}">
<bundle start-level="30">mvn:org.apache.karaf.wrapper/org.apache.karaf.wrapper.core/${project.version}</bundle>
</feature>
<feature name="service-wrapper" description="Provide OS integration (alias to wrapper feature)" version="${project.version}">
<feature>wrapper</feature>
</feature>
<feature name="obr" description="Provide OSGi Bundle Repository (OBR) support" version="${project.version}">
<bundle start-level="30">mvn:org.apache.felix/org.osgi.service.obr/${felix.obr.version}</bundle>
<bundle start-level="30">mvn:org.apache.felix/org.apache.felix.bundlerepository/${felix.bundlerepository.version}</bundle>
<bundle start-level="30">mvn:org.apache.karaf.obr/org.apache.karaf.obr.core/${project.version}</bundle>
<bundle start-level="30">mvn:org.ops4j.pax.url/pax-url-obr/${pax.url.version}/jar/uber</bundle>
</feature>
<feature name="bundle" description="Provide Bundle support" version="${project.version}">
<feature>jaas-boot</feature>
<bundle start-level="30">mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/${project.version}</bundle>
<conditional>
<condition>management</condition>
<config name="jmx.acl.org.apache.karaf.bundle">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# JMX ACL specific to the org.apache.karaf:type=bundle,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
capabilities = admin, manager, viewer
diag = admin, manager, viewer
getStartLevel = admin, manager, viewer
install = admin, manager
refresh = admin, manager
resolve = admin, manager
restart = admin, manager
status = admin, manager, viewer
setStartLevel(java.lang.String, int)[/([1-4])?[0-9]/,/.*/] = admin
setStartLevel = admin, manager
start(java.lang.String)[/([1-4])?[0-9]/] = admin
start = admin, manager
stop(java.lang.String)[/([1-4])?[0-9]/] = admin
stop = admin, manager
uninstall(java.lang.String)["0"] = #this is a comment, no roles can perform this operation
uninstall = admin, manager
update(java.lang.String)[/([1-4])?[0-9]/] = admin
update(java.lang.String,java.lang.String)[/([1-4])?[0-9]/,/.*/] = admin
update = admin, manager
</config>
</conditional>
<conditional>
<condition>shell</condition>
<config name="org.apache.karaf.command.acl.star">
#
# This configuration file defines the ACLs for commands in the * subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
help = admin, manager, viewer
</config>
<config name="org.apache.karaf.command.acl.bundle">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
# The format of this file is as follows:
# The name of the file corresponds to a Configuration Admin PID. This file is for PID:
# org.apache.karaf.command.acl.bundle
# The prefix org.apache.karaf.command.acl. determines that this file defines ACLs for karaf
# commands. The last word on the PID declares the scope that it applies to, i.e. this file
# is for the 'bundle' scope.
# Entries in this file map to commands within the defined scope. The simplest role definition
# has the form:
# command = role1, role2, role3
# Specific roles can also be declared for certain arguments to the command. This is done using
# regular expression matching.
# All the arguments to the command are represented as a list using the following syntax:
# [arg1,arg2,arg3]
# The matching is done after converting this list into a string. So the line
# start-level[/.*[0-9][0-9][0-9]+.*/] = manager
# declares that a manager role is needed to set a start level with 3 digits or more. The .*
# wildcards at the beginning and end are used to match the '[' and ']' characters surrounding.
# When looking for a match the regular-expression based ACLs are always checked first. If any
# of them match the associated roles are used.
#
# If no match can be found based on reg-exp ACLs, a match is looked for based purely on the
# command name.
#
# If no command-name match can be found it is assumed that the command does not need a specific
# role and can therefore be invoked by any user.
capabilities = admin, manager, viewer
diag = admin, manager, viewer
start-level = admin, manager
start-level[/\\[([1-4])?[0-9]\\s*,\\s*\\d*\\]/] = admin
services = admin, manager, viewer
services[/.*[-][f].*/] = admin
classes = admin, manager, viewer
classes[/.*[-][f].*/] = admin
find-class = admin, manager, viewer
find-class[/.*[-][f].*/] = admin
headers = admin, manager, viewer
headers[/.*[-][f].*/] = admin
id = admin, manager, viewer
id[/.*[-][f].*/] = admin
list = admin, manager, viewer
info = admin, manager, viewer
info[/.*[-][f].*/] = admin
install[/.*[-][f].*/] = admin
install = admin, manager
refresh[/.*[-][f].*/] = admin
refresh = admin, manager
restart[/.*[-][f].*/] = admin
restart = admin, manager
start[/.*[-][f].*/] = admin
start = admin, manager
status = admin, manager, viewer
stop[/.*[-][f].*/] = admin
stop = admin, manager
uninstall[/.*[-][f].*/] = admin
uninstall = admin, manager
update[/.*[-][f].*/] = admin
update = admin, manager
watch = admin
dynamic-import = admin, manager
load-test = admin, manager
tree-show = admin, manager, viewer
</config>
</conditional>
</feature>
<feature name="config" description="Provide OSGi ConfigAdmin support" version="${project.version}">
<bundle start-level="30">mvn:org.apache.karaf.config/org.apache.karaf.config.core/${project.version}</bundle>
<conditional>
<condition>management</condition>
<config name="jmx.acl.org.apache.karaf.config">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# JMX ACL specific to the org.apache.karaf:type=config,name=* MBean which maps to the Karaf MBean to interact with the
# OSGi Config Admin service.
#
# For a description of the format of this file, see jmx.acl.cfg
#
# By default, only an admin can make changes to the JMX ACL and shell command rules, but managers can make
# changes to other PIDs.
#
listProperties = admin, manager, viewer
appendProperty(java.lang.String,java.lang.String,java.lang.String)[/jmx[.]acl.*/,/.*/,/.*/] = admin
appendProperty(java.lang.String,java.lang.String,java.lang.String)[/org[.]apache[.]karaf[.]command[.]acl.+/,/.*/,/.*/] = admin
appendProperty(java.lang.String,java.lang.String,java.lang.String)[/org[.]apache[.]karaf[.]service[.]acl.+/,/.*/,/.*/] = admin
appendProperty(java.lang.String,java.lang.String,java.lang.String) = admin, manager
create(java.lang.String)[/jmx[.]acl.*/] = admin
create(java.lang.String)[/org[.]apache[.]karaf[.]command[.]acl.+/] = admin
create(java.lang.String)[/org[.]apache[.]karaf[.]service[.]acl.+/] = admin
create(java.lang.String) = admin, manager
delete(java.lang.String)[/jmx[.]acl.*/] = admin
delete(java.lang.String)[/org[.]apache[.]karaf[.]command[.]acl.+/] = admin
delete(java.lang.String)[/org[.]apache[.]karaf[.]service[.]acl.+/] = admin
delete(java.lang.String) = admin, manager
deleteProperty(java.lang.String,java.lang.String)[/jmx[.]acl.*/,/.*/] = admin
deleteProperty(java.lang.String,java.lang.String)[/org[.]apache[.]karaf[.]command[.]acl.+/,/.*/] = admin
deleteProperty(java.lang.String,java.lang.String)[/org[.]apache[.]karaf[.]service[.]acl.+/,/.*/] = admin
deleteProperty(java.lang.String,java.lang.String) = admin, manager
setProperty(java.lang.String,java.lang.String,java.lang.String)[/jmx[.]acl.*/,/.*/,/.*/] = admin
setProperty(java.lang.String,java.lang.String,java.lang.String)[/org[.]apache[.]karaf[.]command[.]acl.+/,/.*/,/.*/] = admin
setProperty(java.lang.String,java.lang.String,java.lang.String)[/org[.]apache[.]karaf[.]service[.]acl.+/,/.*/,/.*/] = admin
setProperty(java.lang.String,java.lang.String,java.lang.String) = admin, manager
update(java.lang.String,java.util.Map)[/jmx[.]acl.*/,/.*/] = admin
update(java.lang.String,java.util.Map)[/org[.]apache[.]karaf[.]command[.]acl.+/,/.*/] = admin
update(java.lang.String,java.util.Map)[/org[.]apache[.]karaf[.]service[.]acl.+/,/.*/] = admin
update(java.lang.String,java.util.Map) = admin, manager
</config>
<config name="jmx.acl.org.apache.karaf.diagnostic">
#
# JMX ACL specific to the org.apache.karaf:type=diagnostic,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
createDump = admin, manager, viewer
</config>
<config name="jmx.acl.org.apache.karaf.feature">
#
# JMX ACL specific to the org.apache.karaf:type=feature,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
infoFeature = admin, manager, viewer
removeRepository = admin, manager
addRepository = admin, manager
uninstallFeature = admin
installFeature = admin
refreshRepository = admin, manager
</config>
<config name="jmx.acl.org.apache.karaf.instance">
#
# JMX ACL specific to the org.apache.karaf:type=admin,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
createInstance = admin
destroyInstance = admin
startInstance = admin, manager
stopInstance = admin, manager
cloneInstance = admin
renameInstance = admin
changeSshPort = admin, manager
changeSshHost = admin, manager
ChangeRmiRegistryPort = admin, manager
changeRmiServerPort = admin, manager
changeJavaOpts = admin, manager
</config>
<config name="jmx.acl.org.apache.karaf.log">
#
# JMX ACL specific to the org.apache.karaf:type=log,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
getLevel = admin, manager, viewer
setLevel = admin, manager
</config>
<config name="jmx.acl.org.apache.karaf.package">
#
# JMX ACL specific to the org.apache.karaf:type=package,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
getImports = admin, manager, viewer
getExports = admin, manager, viewer
</config>
<config name="jmx.acl.org.apache.karaf.service">
#
# JMX ACL specific to the org.apache.karaf:type=service,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
getServices = admin, manager, viewer
</config>
<config name="jmx.acl.org.apache.karaf.system">
#
# JMX ACL specific to the org.apache.karaf:type=system,name=* MBean which maps to the Karaf MBean
# to control OSGi bundles.
#
# For a description of the format of this file, see jmx.acl.cfg
#
setProperty = admin
getPropert* = admin, manager, viewer
halt = admin
reboot = admin
rebootCleanCache = admin
rebootCleanAll = admin
</config>
</conditional>
<conditional>
<condition>shell</condition>
<config name="org.apache.karaf.command.acl.config">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# This configuration file defines the ACLs for various commands in the config subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.system.cfg
#
list = admin, manager, viewer
property-list = admin, manager
cancel = admin, manager
delete = admin
edit = admin, manager
edit[/.*jmx[.]acl.*/] = admin
edit[/.*org[.]apache[.]karaf[.]command[.]acl[.].+/] = admin
edit[/.*org[.]apache[.]karaf[.]service[.]acl[.].+/] = admin
exists = admin, manager, viewer
property-append = admin, manager
property-append[/.*jmx[.]acl.*/] = admin
property-append[/.*org[.]apache[.]karaf[.]command[.]acl[.].+/] = admin
property-append[/.*org[.]apache[.]karaf[.]service[.]acl[.].+/] = admin
property-delete = admin, manager
property-delete[/.*jmx[.]acl.*/] = admin
property-delete[/.*org[.]apache[.]karaf[.]command[.]acl[.].+/] = admin
property-delete[/.*org[.]apache[.]karaf[.]service[.]acl[.].+/] = admin
property-set = admin, manager
property-set[/.*jmx[.]acl.*/] = admin
property-set[/.*org[.]apache[.]karaf[.]command[.]acl[.].+/] = admin
property-set[/.*org[.]apache[.]karaf[.]service[.]acl[.].+/] = admin
update = admin, manager
</config>
</conditional>
</feature>
<feature name="diagnostic" description="Provide Diagnostic support" version="${project.version}">
<bundle start-level="30">mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/${project.version}</bundle>
<library export="true" type="boot">
mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.boot/${project.version}
</library>
</feature>
<feature name="instance" description="Provide Instance support" version="${project.version}">
<bundle start-level="30">mvn:org.apache.karaf.instance/org.apache.karaf.instance.core/${project.version}</bundle>
<config name="org.apache.karaf.command.acl.instance">
#
# This configuration file defines the ACLs for various commands in the instance subshell
#
# For an explanation of the syntax of this file, see the file:
# org.apache.karaf.command.acl.bundle.cfg
#
list = admin, manager, viewer
status = admin, manager, viewer
opts-change = admin, manager
rmi-registry-port-change = admin, manager
rmi-server-port-change = admin, manager
ssh-port-change = admin, manager
ssh-host-change = admin, manager
clone = admin
connect = admin, manager
create = admin
destroy = admin
rename = admin
start = admin, manager
stop = admin, manager
</config>
</feature>
<feature name="jaas-deployer" description="Allow support of blueprint JAAS configuration in the deploy folder" version="${project.version}">
<feature>aries-blueprint</feature>
<feature>jaas</feature>
<bundle start-level="30">mvn:org.apache.karaf.jaas.blueprint/org.apache.karaf.jaas.blueprint.config/${project.version}</bundle>
</feature>
<feature name="jaas" description="Provide JAAS support" version="${project.version}">
<config name="org.apache.karaf.jaas">
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# Boolean enabling / disabling encrypted passwords
#
encryption.enabled = ${env:ORG_APACHE_KARAF_JAAS_ENCRYPTION_ENABLED:-false}
#
# Encryption Service name
# basic: the default encryption service which digests passwords without
# salting them
# jasypt: a more powerful alternative which supports salting
# spring-security-crypto: Supports bcrypt, argon2, pbkdf2, scrypt. Requires
# the "spring-security-crypto-encryption" feature
# to be installed.
#
encryption.name = ${env:ORG_APACHE_KARAF_JAAS_ENCRYPTION_NAME:-basic}
#
# Encryption prefix
#
encryption.prefix = {CRYPT}
#
# Encryption suffix
#