Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for Token (0.01 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

         *
         * @param id The ID of the item.
         * @param token The token.
         * @param segmentation The segmentation.
         * @param reading The reading.
         * @param pos The part of speech.
         */
        public KuromojiItem(final long id, final String token, final String segmentation, final String reading, final String pos) {
            this.id = id;
            this.token = token;
            this.segmentation = segmentation;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

        public String token;
    
        /**
         * The permissions associated with this access token.
         * Defines what operations and resources this token can access.
         */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        /**
         * The parameter name for the access token.
         * This field specifies how the token should be passed in API requests.
         * Maximum length is 10000 characters.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when an invalid access token is encountered.
     * This exception is typically used in authentication and authorization contexts
     * where a provided access token is invalid, expired, or malformed.
     */
    public class InvalidAccessTokenException extends FessSystemException {
    
        /** Serial version UID for serialization */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            String token = JsonPath.from(response).get("response.setting.token");
            checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then()
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name))
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token));
        }
    
        @Test
        void crudTest() {
            testCreate();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 02:18:38 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/CreateForm.java

        @ValidateTypeFailure
        public Integer crudMode;
    
        /** Token (word) to be added to the dictionary */
        @Required
        @Size(max = 1000)
        public String token;
    
        /** Segmentation information for the token */
        @Required
        @Size(max = 1000)
        public String segmentation;
    
        /** Reading (pronunciation) of the token in katakana */
        @Required
        @Size(max = 1000)
        public String reading;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

        }
    
        /**
         * Get the access token.
         * @param id The ID of the access token.
         * @return The access token.
         */
        public OptionalEntity<AccessToken> getAccessToken(final String id) {
            return accessTokenBhv.selectByPK(id);
        }
    
        /**
         * Store the access token.
         * @param accessToken The access token.
         */
        public void store(final AccessToken accessToken) {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/ITBase.java

        private static final String TEST_TOKEN = "test.token";
    
        public static String getTestToken() {
            return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN);
        }
    
        public static String settingTestToken() {
            final String testToken = System.getProperty(TEST_TOKEN);
            if (testToken != null) {
                logger.info("Token: {}", testToken);
                return testToken;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

                    .result());
        }
    
        // GET /api/admin/accesstoken/setting/{id}
        /**
         * Retrieves a specific access token setting by ID.
         *
         * @param id the access token ID to retrieve
         * @return JSON response with the access token setting
         */
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/SearchBody.java

    import org.codelibs.fess.app.web.api.admin.BaseSearchBody;
    
    /**
     * Search request body for access token administration.
     * Extends BaseSearchBody with access token-specific search parameters.
     */
    public class SearchBody extends BaseSearchBody {
    
        /** The access token ID to search for. */
        public String id;
    
        /**
         * Default constructor for SearchBody.
         */
        public SearchBody() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            Exception cause = new RuntimeException("Token validation failed");
            SsoLoginException exception = new SsoLoginException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
            assertEquals("Token validation failed", exception.getCause().getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top