Rob Vesse created KNOX-966: ------------------------------ Summary: NPE when Shiro is misconfigured Key: KNOX-966 URL: https://issues.apache.org/jira/browse/KNOX-966 Project: Apache Knox Issue Type: Improvement Components: Server Affects Versions: 0.12.0 Reporter: Rob Vesse Fix For: 0.13.0
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 -- This message was sent by Atlassian JIRA (v6.3.15#6346)