release version 1.10.0
This commit is contained in:
111
platform/runtime/security/jaas/src/main/features/features.xml
Normal file
111
platform/runtime/security/jaas/src/main/features/features.xml
Normal file
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~~~~~~licensing~~~~~~
|
||||
jaas
|
||||
==========
|
||||
Copyright (C) 2020 - 2024 EmDev LLC
|
||||
==========
|
||||
You may not use this file except in accordance with the License Terms of the Copyright
|
||||
Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
rights to the Software and any copies are the property of the Copyright Holder. Unless
|
||||
it is explicitly allowed the Copyright Holder, the User is prohibited from using the
|
||||
Software for commercial purposes to provide services to third parties.
|
||||
|
||||
The Copyright Holder hereby declares that the Software is provided on an "AS IS".
|
||||
Under no circumstances does the Copyright Holder guarantee or promise that the
|
||||
Software provided by him will be suitable or not suitable for the specific purposes
|
||||
of the User, that the Software will meet all commercial and personal subjective
|
||||
expectations of the User, that the Software will work properly, without technical
|
||||
errors, quickly and uninterruptedly.
|
||||
|
||||
Under no circumstances shall the Copyright Holder or its Affiliates is not liable
|
||||
to the User for any direct or indirect losses of the User, his expenses or actual
|
||||
damage, including, downtime; loss of bussines; lost profit; lost earnings; loss
|
||||
or damage to data, property, etc.
|
||||
~~~~~~/licensing~~~~~~
|
||||
-->
|
||||
|
||||
<features name="entaxy-jaas-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.6.0 http://karaf.apache.org/xmlns/features/v1.6.0">
|
||||
|
||||
<repository>mvn:org.apache.karaf.features/standard/${karaf.version}/xml/features</repository>
|
||||
<repository>mvn:ru.entaxy.esb.platform.runtime/core/${project.version}/xml/features</repository>
|
||||
|
||||
<!-- legacy repo -->
|
||||
<repository>mvn:ru.entaxy.esb.system/system-parent/${project.version}/xml/features</repository>
|
||||
|
||||
<feature name="entaxy-jaas" version="${project.version}" start-level="${bundle.startlevel.base}">
|
||||
<feature>entaxy-jaas-after-base</feature>
|
||||
<feature>entaxy-jaas-runtime</feature>
|
||||
<feature>entaxy-jaas-design</feature>
|
||||
<feature>entaxy-jaas-management</feature>
|
||||
</feature>
|
||||
|
||||
<feature name="entaxy-jaas-after-base" version="${project.version}" start-level="${bundle.startlevel.base}">
|
||||
<configfile finalname="${karaf.etc}/init/artifacts/shared/entaxy/security/jaas/realm/karaf/1.0.0/karaf-1.0.0-blueprint.xml" override="false">
|
||||
mvn:ru.entaxy.platform.security/jaas/${project.version}/xml/karaf.realm
|
||||
</configfile>
|
||||
<configfile finalname="${karaf.etc}/init/install/jaas.properties" override="false">
|
||||
mvn:ru.entaxy.platform.security/jaas/${project.version}/properties/jaas
|
||||
</configfile>
|
||||
</feature>
|
||||
|
||||
<!--
|
||||
@BACKWARD_C
|
||||
-->
|
||||
<feature name="entaxy-legacy-auth" version="${project.version}" start-level="${bundle.startlevel.system}">
|
||||
<bundle>mvn:ru.entaxy.platform.security.jaas/entaxy-legacy-auth-api/${project.version}</bundle>
|
||||
<bundle>mvn:ru.entaxy.platform.security.jaas/entaxy-legacy-auth/${project.version}</bundle>
|
||||
|
||||
<!--
|
||||
<capability>
|
||||
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
|
||||
</capability>
|
||||
-->
|
||||
</feature>
|
||||
|
||||
<feature name="entaxy-jaas-runtime" version="${project.version}" start-level="${bundle.startlevel.system}">
|
||||
<feature prerequisite="true">jasypt-encryption</feature>
|
||||
<feature prerequisite="true" dependency="true">entaxy-jaas-after-base</feature>
|
||||
<feature prerequisite="true">entaxy-initializers</feature>
|
||||
|
||||
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.basic_auth.cfg" override="false">
|
||||
mvn:ru.entaxy.esb.system/system-parent/${project.version}/cfg/ru.entaxy.esb.system.basic_auth
|
||||
</configfile>
|
||||
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.basic_auth.htpasswd.cfg" override="false">
|
||||
mvn:ru.entaxy.esb.system/system-parent/${project.version}/cfg/ru.entaxy.esb.system.basic_auth.htpasswd
|
||||
</configfile>
|
||||
|
||||
<bundle>mvn:ru.entaxy.platform.security.jaas/jaas-runtime/${project.version}</bundle>
|
||||
|
||||
<!--
|
||||
@TODO find out why we get exception on feature:install
|
||||
while bundle:install works fine
|
||||
-->
|
||||
<!--
|
||||
<capability>
|
||||
osgi.service; effective:=active;objectClass=ru.entaxy.esb.platform.runtime.core.initializer.api.Initialized
|
||||
</capability>
|
||||
-->
|
||||
</feature>
|
||||
|
||||
<feature name="entaxy-jaas-design" version="${project.version}" start-level="${bundle.startlevel.objects}">
|
||||
<bundle>mvn:ru.entaxy.platform.security.jaas/jaas-producing/${project.version}</bundle>
|
||||
|
||||
<!--
|
||||
@TODO find out why we get exception on feature:install
|
||||
while bundle:install works fine
|
||||
-->
|
||||
<!--
|
||||
<capability>
|
||||
osgi.service; effective:=active;objectClass=ru.entaxy.platform.core.producer.api.EntaxyProducerService
|
||||
</capability>
|
||||
-->
|
||||
</feature>
|
||||
<feature name="entaxy-jaas-management" version="${project.version}" start-level="${bundle.startlevel.management}">
|
||||
<bundle>mvn:ru.entaxy.platform.security.jaas/jaas-management/${project.version}</bundle>
|
||||
|
||||
</feature>
|
||||
|
||||
</features>
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,26 @@
|
||||
###
|
||||
# ~~~~~~licensing~~~~~~
|
||||
# jaas
|
||||
# ==========
|
||||
# Copyright (C) 2020 - 2024 EmDev LLC
|
||||
# ==========
|
||||
# You may not use this file except in accordance with the License Terms of the Copyright
|
||||
# Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
# rights to the Software and any copies are the property of the Copyright Holder. Unless
|
||||
# it is explicitly allowed the Copyright Holder, the User is prohibited from using the
|
||||
# Software for commercial purposes to provide services to third parties.
|
||||
#
|
||||
# The Copyright Holder hereby declares that the Software is provided on an "AS IS".
|
||||
# Under no circumstances does the Copyright Holder guarantee or promise that the
|
||||
# Software provided by him will be suitable or not suitable for the specific purposes
|
||||
# of the User, that the Software will meet all commercial and personal subjective
|
||||
# expectations of the User, that the Software will work properly, without technical
|
||||
# errors, quickly and uninterruptedly.
|
||||
#
|
||||
# Under no circumstances shall the Copyright Holder or its Affiliates is not liable
|
||||
# to the User for any direct or indirect losses of the User, his expenses or actual
|
||||
# damage, including, downtime; loss of bussines; lost profit; lost earnings; loss
|
||||
# or damage to data, property, etc.
|
||||
# ~~~~~~/licensing~~~~~~
|
||||
###
|
||||
entaxy.security.jaas.realm/karaf/1.0.0/xml/blueprint=shared;blueprint;50
|
@ -0,0 +1,56 @@
|
||||
{
|
||||
"factoryId": "jaas-realm",
|
||||
"objectId": "karaf",
|
||||
"properties": {
|
||||
"rank": 100,
|
||||
"modules": [
|
||||
{
|
||||
"factoryId": "properties-jaas-login-module",
|
||||
"scope": "private",
|
||||
"properties": {
|
||||
"__entaxyContainerId": "karaf",
|
||||
"classifier": "karaf-properties",
|
||||
"backendEnabled": true,
|
||||
"module_users": "./etc/users.properties",
|
||||
"encryption_enabled": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"factoryId": "publickey-jaas-login-module",
|
||||
"scope": "private",
|
||||
"properties": {
|
||||
"__entaxyContainerId": "karaf",
|
||||
"classifier": "karaf-publickey",
|
||||
"backendEnabled": true,
|
||||
"module_users": "./etc/keys.properties"
|
||||
}
|
||||
},
|
||||
{
|
||||
"factoryId": "file-audit-jaas-login-module",
|
||||
"scope": "private",
|
||||
"properties": {
|
||||
"__entaxyContainerId": "karaf",
|
||||
"classifier": "karaf-file-audit",
|
||||
"module_enabled": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"factoryId": "log-audit-jaas-login-module",
|
||||
"scope": "private",
|
||||
"properties": {
|
||||
"__entaxyContainerId": "karaf",
|
||||
"classifier": "karaf-log-audit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"factoryId": "eventadmin-audit-jaas-login-module",
|
||||
"scope": "private",
|
||||
"properties": {
|
||||
"__entaxyContainerId": "karaf",
|
||||
"classifier": "karaf-eventadminaudit"
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user