Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for verifyToken (0.16 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> uploadpage(form.dictId));
            verifyToken(() -> uploadpage(form.dictId));
            return charMappingService.getCharMappingFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.charMappingFile.getInputStream()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            validateAttributes(form.attributes, v -> throwValidationError(v, this::asEditHtml));
            verifyToken(this::asEditHtml);
            getGroup(form).ifPresent(entity -> {
                try {
                    groupService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getPathMapping(form).ifPresent(entity -> {
                try {
                    pathMappingService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            searchLogService.getSearchLog(form.logType, form.id).alwaysPresent(e -> {
                searchLogService.deleteSearchLog(e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            saveToken();
            return asDownloadHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final DownloadForm form) {
            verifyToken(this::asDownloadHtml);
    
            return asStream("elevate.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getScheduledJob(form).ifPresent(entity -> {
                try {
                    scheduledJobService.store(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            failureUrlService.getFailureUrl(id).alwaysPresent(entity -> {
                failureUrlService.delete(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            jobLogService.getJobLog(id).alwaysPresent(entity -> {
                jobLogService.delete(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> uploadpage(form.dictId));
            verifyToken(() -> uploadpage(form.dictId));
            return synonymService.getSynonymFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.synonymFile.getInputStream()) {
                    file.update(inputStream);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getWebAuthentication(form).ifPresent(entity -> {
                try {
                    webAuthenticationService.store(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top