Enhancement to use the common CryptoUtils
[policy/engine.git] / packages / base / src / files / install / servers / console / bin / xacml.admin.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP Policy Engine
4 # ================================================================================
5 # Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10
11 #      http://www.apache.org/licenses/LICENSE-2.0
12
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19 ###
20
21 #
22 # This file is set to the defaults one can use to run the XACML-PAP-ADMIN for testing and development.
23 #
24 # It is not recommended to modify this file directly, but rather copy it to another location and make any modifications
25 # necessary to run the application in a development or a production environment. You can set the Java VM System
26 # property to change where the application can find the file. For example:
27 #
28 #-Dxacml.properties=/opt/app/xacml/etc/xacml.admin.properties 
29 #
30 #
31 # Standard API Factories
32 #
33 xacml.dataTypeFactory=com.att.research.xacml.std.StdDataTypeFactory
34 xacml.pdpEngineFactory=com.att.research.xacmlatt.pdp.ATTPDPEngineFactory
35 xacml.pepEngineFactory=com.att.research.xacml.std.pep.StdEngineFactory
36 xacml.pipFinderFactory=com.att.research.xacml.std.pip.StdPIPFinderFactory
37 #
38 # AT&T PDP Implementation Factories
39 #
40 xacml.att.evaluationContextFactory=com.att.research.xacmlatt.pdp.std.StdEvaluationContextFactory
41 xacml.att.combiningAlgorithmFactory=com.att.research.xacmlatt.pdp.std.StdCombiningAlgorithmFactory
42 xacml.att.functionDefinitionFactory=org.onap.policy.xacml.custom.OnapFunctionDefinitionFactory
43 xacml.att.policyFinderFactory=com.att.research.xacmlatt.pdp.std.StdPolicyFinderFactory
44 #
45 # Policy Adapter Implementation class 
46 #
47 policyAdapter.impl.className = org.onap.policy.admin.PolicyAdapter
48
49 #
50 # This is an extremely simple policy to demonstrate authorization
51 # within the Admin Console.
52 #
53 xacml.rootPolicies=${{ROOT_POLICIES}}
54 admin.file=${{ADMIN_FILE}}
55
56 #
57 # PAP Servlet properties
58 #
59 xacml.PAP.papEngineFactory=org.onap.policy.xacml.std.pap.StdEngineFactory
60
61 #
62 # Admin Console properties
63 #
64 xacml.AC.papEngineFactory=org.onap.policy.xacml.admin.util.RESTfulPAPFactory
65
66 # Set your domain here:
67
68 xacml.rest.admin.domain=${{REST_ADMIN_DOMAIN}}
69 #
70 # Location where the GIT repository is located
71 #
72 xacml.rest.admin.repository=${{REST_ADMIN_REPOSITORY}}
73 #
74 # Location where all the user workspaces are located.
75 #
76 xacml.rest.admin.workspace=${{REST_ADMIN_WORKSPACE}}
77
78
79 xacml.rest.admin.closedLoopJSON =JSONConfig.json
80 xacml.rest.admin.microServiceModel=model.properties
81 xacm.restful.interface.file=RESTful.interface.properties
82 #
83 #
84 # Property to declare the max time frame for logs.
85 #
86 xacml.log.timeframe=${{LOG_TIMEFRAME}}
87
88 #Log DB information
89 xacml.log.db.driver=${{JDBC_DRIVER}}
90 xacml.log.db.url=${{JDBC_LOG_URL}}
91 xacml.log.db.user=${{JDBC_USER}}
92 xacml.log.db.password=${{JDBC_PASSWORD}}
93
94 # Dashboard refresh rate in miliseconds
95 xacml.refresh.rate=${{REFRESH_RATE}}
96
97 # Number of visable rows for users in MicroService Policy
98 xacml.user.column.count=${{COLUMN_COUNT}}
99
100 #the page length for the sqlcontainer used on Dashbaord
101 xacml.sqlcontainer.page.length=75
102
103 #Patter to identify if a attribute is ready. Currently just a place holder
104 xacm.xcor.required.pattern=1,1
105
106 #The time to hold the cache of values for the attributes retrieved from Remote dictionary
107 xacm.cache.live.time=2
108
109 #The largest value that priority can be set in on the UI
110 xacml.max.priority.count=10
111 #The max Model Leve Displayed on the UI
112 xacml.model.level=4
113 #
114 # These can be set so the Admin Console knows who is logged on. Ideally, you can run the console in a J2EE
115 # container and setup authentication as you please. Setting HttpSession attribute values will override these
116 # values set in the properties files.
117 #
118 # ((HttpServletRequest) request).getSession().setAttribute("xacml.rest.admin.user.name", "Homer");
119 #
120 # The default policy: Policy-Admin.xml is extremely simple.
121 #
122 # You can test authorization within the Admin Console by changing the user id.
123 # There are 3 supported user ids:
124 #       guest - Read only access
125 #       editor - Read/Write access
126 #       admin - Read/Write/Admin access
127 #
128 # An empty or null value for xacml.rest.admin.user.id results in no access to the application at all.
129 #
130 # This is for development/demonstration purposes only. A production environment should provide authentication which is
131 # outside the scope of this application. This application can be used to develop a XACML policy for user authorization
132 # within this application.
133 #
134
135 xacml.rest.admin.user.name=${{REST_ADMIN_USER_NAME}}
136 xacml.rest.admin.user.id=${{REST_ADMIN_USER_ID}}
137 xacml.rest.admin.user.email=
138
139 #
140 # URL location for the PAP servlet.
141 #
142
143 xacml.rest.pap.url=${{REST_PAP_URL}}
144
145 xacml.rest.config.home=${{REST_CONFIG_HOME}}
146 xacml.rest.action.home=${{REST_ACTION_HOME}}
147 xacml.rest.config.url=${{REST_CONFIG_URL}}
148 xacml.rest.config.webapps=${{REST_CONFIG_WEBAPPS}}
149
150 # PAP account information
151 xacml.rest.pap.userid=${{CONSOLE_PAP_HTTP_USER_ID}}
152 xacml.rest.pap.password=${{CONSOLE_PAP_HTTP_PASSWORD}}
153
154 # pdps file - Needs to have the location of the PDPs File of the PAP-REST
155 xacml.rest.pdp.idfile=${{POLICY_HOME}}/servers/pap/bin/test.properties
156
157 #Template Versions
158 xacml.rest.closedLoopFault=OpenSource.version.1
159 xacml.rest.closedLoopPM=OpenSource.version.1
160 xacml.rest.microServices=OpenSource.version.1
161 xacml.rest.firewallPolicy=OpenSource.version.1
162 xacml.rest.optimization=OpenSource.version.1
163
164 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
165 #The name of the Admin.  Must be unique across the system
166 xacml.rest.admin.resource.name=${{resource_name}}
167
168 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
169 site_name=${{site_name}}
170 node_type=${{node_type}}
171 fp_monitor_interval=${{fp_monitor_interval}}
172 failed_counter_threshold=${{failed_counter_threshold}}
173 test_trans_interval=${{test_trans_interval}}
174 write_fpc_interval=${{write_fpc_interval}}
175 max_fpc_update_interval=${{max_fpc_update_interval}}
176 test_via_jmx=${{test_via_jmx}}
177
178 # The (optional) period of time in seconds between executions of the integrity audit.
179 # Value < 0 : Audit does not run (default value if property is not present = -1)
180 # Value = 0 : Audit runs continuously
181 # Value > 0 : The period of time in seconds between execution of the audit on a particular node
182 integrity_audit_period_seconds=${{integrity_audit_period_seconds}}
183
184 #Automatic Policy Distribution 
185 xacml.att.automatic.push = ${{automatic_push}}
186
187
188 #Dashboard Tab Limit
189 xacml.onap.dashboard.logTableLimit = 5000
190 xacml.onap.dashboard.systemAlertTableLimit = 2000                                     
191
192 #Diff of policies for Firewall feature
193 FW_GETURL=${{FW_GETURL}}
194 FW_AUTHOURL=${{FW_AUTHOURL}}
195 FW_PROXY=${{FW_PROXY}}
196 FW_PORT=${{FW_PORT}}
197
198 #SMTP Server Details for Java Mail
199 onap.smtp.host = ${{onap_smtp_host}}
200 onap.smtp.port = ${{onap_smtp_port}}
201 onap.smtp.userName = ${{onap_smtp_userName}}
202 onap.smtp.password = ${{onap_smtp_password}}
203 onap.smtp.emailExtension=${{onap_smtp_emailExtension}}
204 onap.application.name = ${{onap_application_name}}
205
206 #Dialect for Database
207 onap.dialect = org.hibernate.dialect.MySQLDialect
208
209 #Micro Service Model Properties
210 xacml.policy.msOnapName=${{policy_msOnapName}}
211 xacml.policy.msPolicyName=${{policy_msPolicyName}}
212
213 #Size limit (in bytes) for file uploads
214 file.size.limit=30000000
215
216 # AES key for password encryption in config files
217 #org.onap.policy.encryption.aes.key=12345678901234567890123456789012