how can i add role based authentication to application clients ?is there such an option?
Of course there is. Read JAAS Howto. Link is on FIRST sticked post of this forum.