set security_ids [$AdminConfig getid /Security:/]

foreach security_id $security_ids {

   puts $security_id

   ### Create JAAS authentication data: 

$AdminConfig create JAASAuthData $security_id {{alias host5Manager/buyerROAlias} {password password} {userId b_wstest6_ro}}
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/buyerRWAlias} {password password} {userId b_wstest6}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/db2prodAlias} {password password} {userId db2prod}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/hubRWAlias} {password password} {userId h_wstest6}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/installAlias} {password password} {userId root}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/acmeAlias} {password password} {userId acme}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/sellerROAlias} {password password} {userId s_wstest6_ro}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/sellerRWAlias} {password password} {userId s_wstest6}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/wstest4-buyerROAlias} {password password} {userId b_wstest4_ro}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/wstest4-buyerRWAlias} {password password} {userId b_wstest4}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/wstest4-hubRWAlias} {password password} {userId h_wstest4}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/wstest4-sellerRWAlias} {password password} {userId s_wstest4}} 
$AdminConfig create JAASAuthData $security_id {{alias host5Manager/wstest4-sellerROAlias} {password password} {userId s_wstest4_ro}}


$AdminConfig save

}