add setAllowUnauthenticatedUser(1) and setDenyUnauthenticatedUser(1) functions into TAccessValidator class.
code polished.