Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for verify_token (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

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

        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getAccessToken(form).ifPresent(entity -> {
                entity.setToken(accessTokenHelper.generateAccessToken());
                try {
                    accessTokenService.store(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getLabelType(form).ifPresent(entity -> {
                try {
                    labelTypeService.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
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            validate(form, messages -> {}, this::asEditHtml);
            validateAttributes(form.attributes, v -> throwValidationError(v, this::asEditHtml));
            verifyPassword(form, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getUser(form).ifPresent(entity -> {
                try {
                    userService.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
    - 15.9K bytes
    - Viewed (0)
Back to top