NIFI-655:

- Fixing checkstyle issues.
This commit is contained in:
Matt Gilman 2015-11-06 10:10:54 -05:00
parent 06a4736a58
commit d41b83c19b
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class NiFiAnonymousUserFilter extends AnonymousAuthenticationFilter {
if (!request.isSecure()) {
user.getAuthorities().addAll(EnumSet.allOf(Authority.class));
}
// only create an authentication token if the anonymous user has some authorities
if (!user.getAuthorities().isEmpty()) {
NiFiUserDetails userDetails = new NiFiUserDetails(user);