Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for SystemHelper (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                            permissionSet.add(systemHelper.getSearchRoleByUser(values[0]));
                        }
                    }
                    stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s))));
                    stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s))));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                logger.warn("{} is empty.", Constants.SCHEDULED_JOB);
                return;
            }
            runtime.stopIfNeeds();
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final JobManager jobManager = ComponentUtil.getJobManager();
            final ScheduledJob scheduledJob = (ScheduledJob) runtime.getParameterMap().get(Constants.SCHEDULED_JOB);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

        }
    
        private String getStackTrace(final Throwable t) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
                t.printStackTrace(pw);
                pw.flush();
                return systemHelper.abbreviateLongText(sw.toString());
            } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 24 01:20:42 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

        protected String userPrefix = "{user}";
    
        protected String allowPrefix = "(allow)";
    
        protected String denyPrefix = "(deny)";
    
        @Resource
        protected SystemHelper systemHelper;
    
        public String encode(final String value) {
            if (StringUtil.isBlank(value)) {
                return null;
            }
    
            String permission = value.trim();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/UserInfoService.java

    import org.codelibs.fess.helper.SystemHelper;
    
    import jakarta.annotation.Resource;
    
    public class UserInfoService {
    
        @Resource
        private UserInfoBhv userInfoBhv;
    
        @Resource
        private SystemHelper systemHelper;
    
        public void deleteBefore(final int days) {
            userInfoBhv.queryDelete(cb -> {
                cb.query().setUpdatedAt_LessEqual(systemHelper.getCurrentTimeAsLocalDateTime().minusDays(days));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        }
    
        public static OptionalEntity<DataConfig> getDataConfig(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class LdapManagerTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

        @Resource
        private SystemHelper systemHelper;
    
        @Resource
        private JobHelper jobHelper;
    
        protected Class<? extends LaJob> jobClass = ScriptExecutorJob.class;
    
        protected long schedulerTime;
    
        @Override
        public void schedule(final LaCron cron) {
            schedulerTime = systemHelper.getCurrentTimeAsLong();
            scheduledJobService.start(cron);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

            final UserInfoService userInfoService = ComponentUtil.getComponent(UserInfoService.class);
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            // purge crawling sessions
            try {
                crawlingInfoService.deleteBefore(systemHelper.getCurrentTimeAsLong());
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        public void test_parse() throws IOException {
            GsaConfigParser parser = new GsaConfigParser();
            try (InputStream is = ResourceUtil.getResourceAsStream("data/gsaconfig.xml")) {
                parser.parse(new InputSource(is));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top