Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setUser (0.03 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.user;
    
    import static org.codelibs.fess.app.web.admin.user.AdminUserAction.getUser;
    import static org.codelibs.fess.app.web.admin.user.AdminUserAction.validateAttributes;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/PropertyDesc.java

         */
        boolean hasReadMethod();
    
        /**
         * Returns the setter method.
         *
         * @return the setter method
         */
        Method getWriteMethod();
    
        /**
         * Returns whether the property has a setter method.
         *
         * @return whether the property has a setter method
         */
        boolean hasWriteMethod();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertEquals("${temp}/file", generator.expandPath("${temp}/file")); // No partial replacement
        }
    
        public void test_directoryNameLength() {
            // Test directoryNameLength setter
            generator = new TestThumbnailGenerator();
    
            // Default value
            assertEquals(5, generator.directoryNameLength);
    
            // Set new value
            generator.setDirectoryNameLength(10);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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