global AdminConfig set listOfJAASAuthData [$AdminConfig list JAASAuthData] foreach JAASAuthDataID $listOfJAASAuthData { set xyz [$AdminConfig showall $JAASAuthDataID] puts " " puts "\$AdminConfig create JAASAuthData \$security \{ $xyz \} " }