* @param action
* The action of the permissions. e.g. read
*/
- public void authorize (Exchange camelExchange, String typeVar, String instanceVar, String action) {
+ public void authorize(Exchange camelExchange, String typeVar, String instanceVar, String action) {
String type = refProp.getStringValue(permPrefix + typeVar);
String instance = refProp.getStringValue(permInstance);
principalName, inPermission.getKey());
authorized = true;
} else if (hasRole(inPermission.getKeyAllAction())) {
- auditLogger.info("{} authorized because user has permission with * for action: {}",
+ auditLogger.info("{} authorized because user has permission with * for action: {}",
principalName, inPermission.getKey());
authorized = true;
} else {
}
/**
- * Verify whether the user has the permission
+ * Verify whether the user has the permission.
*
* @param inPermission
* The permissions to verify