Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for zoeken (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                }
                return permissions;
            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

         */
        public FessApiAdminAction() {
            super();
        }
    
        /**
         * Determines whether the current request is authorized to access admin API endpoints.
         * This method validates the access token and checks if the associated permissions
         * allow admin access according to the Fess configuration.
         *
         * @return true if admin access is allowed, false otherwise
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        /**
         * The role for this action.
         */
        public static final String ROLE = "admin-accesstoken";
    
        /**
         * The token parameter.
         */
        public static final String TOKEN = "token";
    
        /**
         * The expires parameter.
         */
        public static final String EXPIRES = "expires";
    
        /**
         * The expired time parameter.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

     * for API endpoints including authentication, message handling, and access control.
     *
     * This class extends FessBaseAction and provides specialized behavior for API requests,
     * including token-based authentication and JSON response handling.
     */
    public abstract class FessApiAction extends FessBaseAction {
    
        /**
         * Default constructor.
         */
        public FessApiAction() {
            super();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            // Test constructor with whitespace in type
            String type = "  Bearer Token  ";
            String message = "Whitespace in token type";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals("  Bearer Token  ", exception.getType());
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. .github/workflows/scorecard.yml

        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
          security-events: write
          # Needed to publish results and get a badge (see publish_results below).
          id-token: write
          # Uncomment the permissions below if installing in a private repository.
          # contents: read
          # actions: read
    
        steps:
          - name: "Checkout code"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                throw new SsoLoginException("could not validate nonce", e);
            }
        }
    
        /**
         * Obtains an access token using a refresh token.
         * @param refreshToken The refresh token to use for token acquisition.
         * @return The authentication result containing the access token.
         */
        public IAuthenticationResult getAccessToken(final String refreshToken) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top