summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/slot_substitution.py
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-07-26 20:40:08 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-08-03 17:07:20 -0500
commit9ca367e9c16273af11909f4c72f9c5cf5ddb0b4d (patch)
treed6ea91b97102cb948b7c767c08e96f50951aa720 /base/deploy/src/scriptlets/slot_substitution.py
parenteca4d635e67eaf3c6878d35acfaaf11df53151e2 (diff)
downloadpki-9ca367e9c16273af11909f4c72f9c5cf5ddb0b4d.tar.gz
pki-9ca367e9c16273af11909f4c72f9c5cf5ddb0b4d.tar.xz
pki-9ca367e9c16273af11909f4c72f9c5cf5ddb0b4d.zip
Enabled SSL authenticator and PKI realm.
The SSL connection has been configured with clientAuth="want" so users can choose whether to provide a client certificate or username and password. The authentication and authorization will be handled by the SSL authenticator with fallback and PKI realm. New access control rules have been added for users, groups, and certs REST services. Ticket #107
Diffstat (limited to 'base/deploy/src/scriptlets/slot_substitution.py')
-rw-r--r--base/deploy/src/scriptlets/slot_substitution.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/base/deploy/src/scriptlets/slot_substitution.py b/base/deploy/src/scriptlets/slot_substitution.py
index 3467596e8..482d1d9cb 100644
--- a/base/deploy/src/scriptlets/slot_substitution.py
+++ b/base/deploy/src/scriptlets/slot_substitution.py
@@ -54,6 +54,10 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
master['pki_target_server_xml'],
overwrite_flag=True)
util.file.copy_with_slot_substitution(
+ master['pki_source_context_xml'],
+ master['pki_target_context_xml'],
+ overwrite_flag=True)
+ util.file.copy_with_slot_substitution(
master['pki_source_tomcat_conf'],
master['pki_target_tomcat_conf_instance_id'],
uid=0, gid=0, overwrite_flag=True)
@@ -66,6 +70,8 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
master['pki_target_index_jsp'],
overwrite_flag=True)
util.file.apply_slot_substitution(
+ master['pki_target_auth_properties'])
+ util.file.apply_slot_substitution(
master['pki_target_velocity_properties'])
util.file.apply_slot_substitution(
master['pki_target_subsystem_web_xml'])
@@ -109,6 +115,10 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
master['pki_target_server_xml'],
overwrite_flag=True)
util.file.copy_with_slot_substitution(
+ master['pki_source_context_xml'],
+ master['pki_target_context_xml'],
+ overwrite_flag=True)
+ util.file.copy_with_slot_substitution(
master['pki_source_tomcat_conf'],
master['pki_target_tomcat_conf_instance_id'],
uid=0, gid=0, overwrite_flag=True)
@@ -121,6 +131,8 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
master['pki_target_index_jsp'],
overwrite_flag=True)
util.file.apply_slot_substitution(
+ master['pki_target_auth_properties'])
+ util.file.apply_slot_substitution(
master['pki_target_velocity_properties'])
util.file.apply_slot_substitution(
master['pki_target_subsystem_web_xml'])