Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for verify_token (0.06 sec)

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

         * @return The HTML response.
         */
        @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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
            validate(form, messages -> {}, this::asListHtml);
            verifyToken(this::asListHtml);
            final String docId = form.docId;
            try {
                final QueryBuilder query = QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 22.7K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, this::asListHtml);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            searchLogService.getSearchLog(form.logType, form.id).alwaysPresent(e -> {
                searchLogService.deleteSearchLog(e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

         * @param form The download form.
         * @return The action response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final DownloadForm form) {
            verifyToken(this::asDownloadHtml);
    
            return asStream("badword.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> uploadpage(form.dictId));
            verifyToken(() -> uploadpage(form.dictId));
            return kuromojiService.getKuromojiFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.kuromojiFile.getInputStream()) {
                    file.update(inputStream);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> uploadpage(form.dictId));
            verifyToken(() -> uploadpage(form.dictId));
            return protwordsService.getProtwordsFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.protwordsFile.getInputStream()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  7. 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);
                    logger.info("Created user: {}", entity.getName());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getWebAuthentication(form).ifPresent(entity -> {
                try {
                    webAuthenticationService.store(entity);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getAccessToken(form).ifPresent(entity -> {
                entity.setToken(accessTokenHelper.generateAccessToken());
                try {
                    accessTokenService.store(entity);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getPathMapping(form).ifPresent(entity -> {
                try {
                    pathMappingService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top