One interesing thing I missed out is role name defined in web.xml should be mapped to user group name in glassfish server. I have set role name as admin in web.xml and created an user in glassfish through Admin Console ----> Security ----> Realms ----> File ---> Manager Users. On creating the user set the groupname as given in web.xml and it works.
No comments:
Post a Comment