Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for setUser (0.08 sec)

  1. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        // Test getExpiry with default value
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/LocalUserCredential.java

         */
        public LocalUserCredential(final String user, final String password) {
            super(user, password);
        }
    
        @Override
        public String getUserId() {
            return getUser();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertSame(execJob, result);
        }
    
        // Test sessionId setter
        public void test_sessionId() {
            String testSessionId = "test-session-123";
            ExecJob result = execJob.sessionId(testSessionId);
            assertEquals(testSessionId, execJob.sessionId);
            assertSame(execJob, result);
        }
    
        // Test logFilePath setter
        public void test_logFilePath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            }
            return userGroups;
        }
    
        /**
         * Gets the OpenID Connect user.
         *
         * @return the OpenID Connect user
         */
        public OpenIdUser getUser() {
            return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray());
        }
    
        /**
         * Gets the default groups as an array.
         *
         * @return the default groups
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

        }
    
        @Override
        public String getUserId() {
            return nameId;
        }
    
        /**
         * Gets the SAML user.
         * @return The SAML user.
         */
        public SamlUser getUser() {
            return new SamlUser(nameId, sessionIndex, nameIdFormat, nameidNameQualifier, nameidSPNameQualifier, getDefaultGroupsAsArray(),
                    getDefaultRolesAsArray());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                invalidPropertyNames.add(propertyName);
            } else {
                propDesc.setReadMethod(readMethod);
            }
        }
    
        /**
         * Prepares the setter method.
         *
         * @param writeMethod
         *            the setter method
         * @param propertyName
         *            the property name
         */
        protected void setupWriteMethod(final Method writeMethod, final String propertyName) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

            return "{" + authResult.account().username() + "}";
        }
    
        /**
         * Gets the Azure AD user associated with this credential.
         * @return The Azure AD user instance.
         */
        public AzureAdUser getUser() {
            return new AzureAdUser(authResult);
        }
    
        /**
         * Azure AD user implementation providing user information and permissions.
         */
        public static class AzureAdUser implements FessUser {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals(123, item.getId());
            assertEquals("and", item.getInput());
            assertNull(item.getNewInput());
        }
    
        public void test_getNewInput_setNewInput() {
            // Test getter and setter for newInput
            StopwordsItem item = new StopwordsItem(1, "or");
            assertNull(item.getNewInput());
    
            item.setNewInput("nor");
            assertEquals("nor", item.getNewInput());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            resolver.resolve(LocalUserCredential.class, credential -> {
                final LocalUserCredential userCredential = credential;
                final String username = userCredential.getUser();
                final String password = userCredential.getPassword();
                if (!fessConfig.isAdminUser(username)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/UserService.java

         *
         * @param id the unique identifier of the user
         * @return an OptionalEntity containing the user if found
         */
        public OptionalEntity<User> getUser(final String id) {
            return userBhv.selectByPK(id).map(u -> ComponentUtil.getAuthenticationManager().load(u));
        }
    
        /**
         * Retrieves a user by their username.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top