comparison src/main/java/de/intevation/lada/util/auth/HeaderAuthorization.java @ 1305:1e0ba37ff3d8

Removed comment.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 28 Feb 2017 14:56:14 +0100
parents a0da035cc831
children
comparison
equal deleted inserted replaced
1304:e51c56914e52 1305:1e0ba37ff3d8
239 UserInfo userInfo, 239 UserInfo userInfo,
240 Object data, 240 Object data,
241 Class<T> clazz 241 Class<T> clazz
242 ) { 242 ) {
243 Authorizer authorizer = authorizers.get(clazz); 243 Authorizer authorizer = authorizers.get(clazz);
244 //This is a hack... Allows wildcard for unknown classes.
245 if (authorizer == null) { 244 if (authorizer == null) {
246 return false; 245 return false;
247 } 246 }
248 return authorizer.isAuthorized(data, RequestMethod.GET, userInfo, clazz); 247 return authorizer.isAuthorized(data, RequestMethod.GET, userInfo, clazz);
249 } 248 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)