jbossas/jboss-as — pull request #1269 by anilsaldhana (2012-01-30 16:35:28+00:00)
Title: Security Property setting -S option on the cmd line for standalone mode

Previous pull request (https://github.com/jbossas/jboss-as/pull/1193#issuecomment-3646672) had comments from Brian that I need to a description for --help option. I have done that.

The comment on adding the security properties to domain mode (process-controller, HC, servers) has been left as a future feature, if there is user demand. (Brian thinks the same).

===================================
~/as7/jboss-as/build/target/jboss-as-7.1.0.Final-SNAPSHOT/bin ~/as7/jboss-as
anil@sadbhav:~/as7/jboss-as/build/target/jboss-as-7.1.0.Final-SNAPSHOT/bin$ ./standalone.sh --help
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Final-SNAPSHOT

JAVA: /usr/java/jdk1.6.0_30/bin/java

JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

10:30:37,325 INFO [org.jboss.modules] JBoss Modules version 1.1.0.CR7
10:30:37,445 INFO [stdout] Usage: ./standalone.sh [args...]
10:30:37,446 INFO [stdout] where args include:
10:30:37,446 INFO [stdout] --admin-only Set the server's running type to
10:30:37,446 INFO [stdout] ADMIN_ONLY causing it to open
10:30:37,446 INFO [stdout] administrative interfaces and accept
10:30:37,446 INFO [stdout] management requests but not start other
10:30:37,446 INFO [stdout] runtime services or accept end user
10:30:37,446 INFO [stdout] requests.
10:30:37,446 INFO [stdout]
10:30:37,446 INFO [stdout] -b= Set system property jboss.bind.address
10:30:37,447 INFO [stdout] to the given value
10:30:37,447 INFO [stdout]
10:30:37,447 INFO [stdout] -b Set system property jboss.bind.address
10:30:37,447 INFO [stdout] to the given value
10:30:37,447 INFO [stdout]
10:30:37,447 INFO [stdout] -b= Set system property
10:30:37,447 INFO [stdout] jboss.bind.address. to the
10:30:37,447 INFO [stdout] given value
10:30:37,447 INFO [stdout]
10:30:37,447 INFO [stdout] -c= Name of the server configuration file
10:30:37,448 INFO [stdout] to use (default is "standalone.xml")
10:30:37,448 INFO [stdout]
10:30:37,448 INFO [stdout] -c Name of the server configuration file
10:30:37,448 INFO [stdout] to use (default is "standalone.xml")
10:30:37,448 INFO [stdout]
10:30:37,448 INFO [stdout] -S[=] Set a Security Property
10:30:37,448 INFO [stdout]
10:30:37,448 INFO [stdout] -D[=] Set a system property
10:30:37,448 INFO [stdout]
10:30:37,448 INFO [stdout] -h Display this message and exit
10:30:37,449 INFO [stdout]
10:30:37,449 INFO [stdout] --help Display this message and exit
10:30:37,449 INFO [stdout]
10:30:37,449 INFO [stdout] -P= Load system properties from the given
10:30:37,449 INFO [stdout] url
10:30:37,449 INFO [stdout]
10:30:37,449 INFO [stdout] -P Load system properties from the given
10:30:37,449 INFO [stdout] url
10:30:37,449 INFO [stdout]
10:30:37,449 INFO [stdout] --properties= Load system properties from the given
10:30:37,450 INFO [stdout] url
10:30:37,450 INFO [stdout]
10:30:37,450 INFO [stdout] ----server-config= Name of the server configuration file
10:30:37,450 INFO [stdout] to use (default is "standalone.xml")
10:30:37,450 INFO [stdout]
10:30:37,450 INFO [stdout] -u= Set system property
10:30:37,450 INFO [stdout] jboss.default.multicast.address to the
10:30:37,450 INFO [stdout] given value
10:30:37,450 INFO [stdout]
10:30:37,450 INFO [stdout] -u Set system property
10:30:37,451 INFO [stdout] jboss.default.multicast.address to the
10:30:37,451 INFO [stdout] given value
10:30:37,451 INFO [stdout]
10:30:37,451 INFO [stdout] -V Print version and exit
10:30:37,451 INFO [stdout]
10:30:37,451 INFO [stdout] -v Print version and exit
10:30:37,451 INFO [stdout]
10:30:37,451 INFO [stdout] --version Print version and exit
10:30:37,451 INFO [stdout]
anil@sadbhav:~/as7/jboss-as/build/target/jboss-as-7.1.0.Final-SNAPSHOT/bin$
===========================================