-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59802/
-----------------------------------------------------------

Review request for Knox.


Repository: knox


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 what the problem is and
how to fix it


Diffs
-----

  
gateway-provider-security-shiro/src/main/java/org/apache/hadoop/gateway/filter/ShiroSubjectIdentityAdapter.java
 705430c4 


Diff: https://reviews.apache.org/r/59802/diff/1/


Testing
-------


Thanks,

Rob Vesse

Reply via email to