users@glassfish.java.net

password file keys ?

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 19 Sep 2009 11:07:40 +0200

what are the password file keys accepted by Glassfish ?

I need:

JMS + JavaMail password.. to run a script..

today it works in the script, but the passwords are hard-coded..

asadmin create-jms-resource --user=admin
--restype=javax.jms.QueueConnectionFactory --description="Arena PUJ
JMS Notification Connection Factory." PujRegistrationFactory
asadmin create-jms-resource --user=admin --restype=javax.jms.Queue
--description="Arena PUJ JMS Registration Queue." PujRegistration
asadmin create-javamail-resource --user=admin
--mailhost=smtp.gmail.com --mailuser=cejug.classifieds
--fromaddress=cejug.classifieds_at_gmail.com --enabled=true
--description="e-Mail account used to confirm the registration of the
Arena PUJ users" --storeprotocol=imap
--storeprotocolclass=com.sun.mail.imap.IMAPStore --transprotocol smtp
--transprotocolclass com.sun.mail.smtp.SMTPSSLTransport --property
mail-smtp.user=cejug.classifieds_at_gmail.com:mail-smtp.port=465:mail-smtp.password=????:mail-smtp.auth=true:mail-smtp.socketFactory.fallback=false:mail-password=_at_d0r0c3jug:mail-smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory:mail-smtp.socketFactory.port=465:mail-smtp.starttls.enable=true
mail/arena


password file should be like:

AS_ADMIN_PASSWORD=adminadmin
AS_ADMIN_USER=admin
AS_MAIL???? <<-- which key ?