Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for verifyToken (0.12 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

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

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

        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminPlugin_AdminPluginJsp));
            verifyToken(() -> asHtml(path_AdminPlugin_AdminPluginJsp));
            final Artifact artifact = new Artifact(form.name, form.version, null);
            deleteArtifact(artifact);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            }));
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse reindexOnly(final ActionForm form) {
            validate(form, messages -> {}, this::asIndexHtml);
            verifyToken(this::asIndexHtml);
            if (startReindex(isCheckboxEnabled(form.replaceAliases), isCheckboxEnabled(form.resetDictionaries), form.numberOfShardsForDoc,
                    form.autoExpandReplicasForDoc)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

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

        @Execute
        @Secured({ ROLE })
        public HtmlResponse crawlingConfigNext(final CrawlingConfigForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminWizard_AdminWizardConfigJsp));
            verifyToken(this::asIndexHtml);
            final String name = crawlingConfigInternal(form);
            saveInfo(messages -> messages.addSuccessCreateCrawlingConfigAtWizard(GLOBAL, name));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                saveToken();
            });
        }
    
        @Execute
        public HtmlResponse login(final LoginForm form) {
            validate(form, messages -> {}, () -> asIndexPage(form));
            verifyToken(() -> asIndexPage(form));
            final String username = form.username;
            final String password = form.password;
            form.clearSecurityInfo();
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse update(final EditForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminGeneral_AdminGeneralJsp));
            verifyToken(() -> asHtml(path_AdminGeneral_AdminGeneralJsp));
    
            updateConfig(fessConfig, form);
            saveInfo(messages -> messages.addSuccessUpdateCrawlerParams(GLOBAL));
            return redirect(getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, this::asListHtml);
            verifyToken(this::asListHtml);
            final String fileName = form.bulkFile.getFileName();
            final File tempFile = ComponentUtil.getSystemHelper().createTempFile("fess_restore_", ".tmp");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            if (form.uploadFile == null) {
                throwValidationError(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL), () -> asListHtml(form.path));
            }
            verifyToken(() -> asListHtml(form.path));
            try {
                uploadObject(getObjectName(form.path, form.uploadFile.getFileName()), form.uploadFile);
            } catch (final StorageException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top