100 likes | 236 Vues
Join the training course on the establishment of the Ocean Data Portal (ODP) regional node and data network for SNDM-Argentina, held from October 7 to 11, 2013, in Buenos Aires. Led by experts Sergey Sukhonosov and Dr. Sergey Belov from the National Oceanographic Data Centre, this course covers user creation, role assignment, security configurations, and initial settings for the JBoss Application Server. Learn how to manage user roles and configure essential properties for seamless operation of the data network.
E N D
Settings and properties Sergey Sukhonosov, Dr. Sergey Belov National Oceanographic Data Centre, Russia Training course on establishment of the ODP regional node and data network for SNDM-Argentina ,7 - 11 October 2013, Buenos Aires, Argentina
Users and roles Create user and assign proper role Specify roles in web-app configuration file $JBOSS_HOME/server/default/deploy/dpms.sar/dpms.war/WEB-INF/web.xml E.g.: <auth-constraint> <role-name>MINCYT:DP:ADMIN</role-name> <role-name>MINCYT:DP:USER</role-name></auth-constraint> … <security-role><role-name>MINCYT:DP:ADMIN</role-name></security-role> <security-role><role-name>MINCYT:DP:USER</role-name></security-role> Initial settings
Initial settings c) Specify roles for non-SSO access $JBOSS_HOME/server/default/conf/dpms/config/dpms-roles.properties $JBOSS_HOME/server/default/conf/dpms/config/dpms-users.properties E.g.: dpms-roles.properties: admin=MINCYT:DP:ADMIN dpms-users.properties: admin=password
Main DP configuration • $JBOSS_HOME/server/default/conf/dpms/config/config.properties
JBoss AS configuration • $JBOSS_HOME/bin/run.conf (for Linux) or$JBOSS_HOME/bin/run.main.bat (for Windows) “JAVA_HOME” – JDK installation path “JAVA_OPTS” parameters: -Xms – initial heap memory size -Xmx – maximum heap memory size • $JBOSS_HOME/bin/run.bat (for Windows) Specify IP address binded to JBoss AS E.g.: run.main.bat –b 0.0.0.0
DP initial configurations • $JBOSS_HOME/server/default/conf/dpms/dpdb.properties PATH_TO_IR=/opt/dp/jboss-4.2.3.GA/server/default/conf/dpms/resources ELEMENTS_MD_FILE=/opt/dp/jboss-4.2.3.GA/server/default/conf/dpms/elements/BODC/ElementsMD_en.xml • $JBOSS_HOME/server/default/conf/dpms/config/quartz-jobs.xml All pathes in tags <value> should be updated depending on JBOSS installation path E.g.: <value>/opt/dp/jboss-4.2.3.GA/server/default/conf/dpms/ncResults,240</value>