Code example for Permission

Methods: getClassgetActionsgetName

0
 
		if (!_log.isInfoEnabled()) {
			return true; 
		} 
 
		Class<?> clazz = permission.getClass();
		String name = permission.getName();
		String actions = permission.getActions();
 
		if (Validator.isNotNull(actions)) {
			_log.info(
				"Allowing permission " + clazz.getName() + " to " + name +
					" on " + actions);
		} 
		else { 
			_log.info("Allowing permission " + clazz.getName() + " to " + name);
		} 
 
		return true; 
	}