use of org.dbflute.hook.AccessContext in project fess by codelibs.
the class AccessContextLogic method create.
// ===================================================================================
// Create Context
// ==============
public AccessContext create(final AccessContextResource resource, final UserTypeSupplier userTypeSupplier, final UserBeanSupplier userBeanSupplier, final AppTypeSupplier appTypeSupplier) {
final AccessContext context = new AccessContext();
context.setAccessLocalDateTimeProvider(() -> timeManager.currentDateTime());
context.setAccessUserProvider(() -> buildAccessUserTrace(resource, userTypeSupplier, appTypeSupplier));
return context;
}
Aggregations