users@glassfish.java.net

Re: Multiple password files

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Apr 2008 05:54:43 PDT

you can use dotted-names commands to set the password or alias-name.

eg:
 asadmin list "*security-map*"

domain.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map
domain.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map.backend-principal
server.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map
server.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map.backend-principal



asadmin get domain.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map.backend-principal.*

domain.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map.backend-principal.password =
domain.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map.backend-principal.user-name = jagadish



asadmin set domain.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map.backend-principal.password=jagadish

domain.resources.connector-connection-pool.jms/topicpool.security-map.topicpool-map.backend-principal.password = jagadish
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=270368