Description
When Shiro provider is used if the user doesn't enable authentication or
enables anonymous authentication then Knox will hit an NPE because it
assumes the Shiro Subject is populated. This commit adds a check and
adds a specific error message which indicates that there is a problem and
what configuration to check