Agree with what you have said.
My question is, if there is a mapping (through)
then
why doesn't the logical name (Admin) be recognized in the Servlet ? Unless i explicitly, specify the roles in tomcat ("tomcat", "role1"), the if condition fails. But if i can specify it explicitly, there is no case of mapping between
logical and actual roles.
My question is regarding the
"mapping" - that doesnt seem to be taking place. If Container would recognize only the roles mentioned in tomcat-users.xml would
work at all ? It works as per HFSJ. For me it doesnt seem to be. Not sure what i am missing here.
Hope i am making it clear.