Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 808 for unser (0.17 sec)

  1. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

            return user.getRoleNames();
        }
    
        public String[] getGroups() {
            return user.getGroupNames();
        }
    
        public boolean isEditable() {
            return user.isEditable();
        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

        // Helper method to create test user
        private User createTestUser(String username, String password) {
            User user = new User();
            user.setName(username);
            user.setPassword(password);
            user.setRoles(new String[] { "role1", "role2" });
            user.setGroups(new String[] { "group1", "group2" });
            return user;
        }
    
        // Test LdapManager implementation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            // Test with username containing special characters
            String username = "user@domain.com";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: user@domain.com", exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapUser.java

    import org.dbflute.optional.OptionalThing;
    
    /**
     * An LDAP user.
     */
    public class LdapUser implements FessUser {
    
        private static final long serialVersionUID = 1L;
    
        /** The environment for LDAP connection. */
        protected Hashtable<String, String> env;
    
        /** The name of the user. */
        protected String name;
    
        /** The permissions of the user. */
        protected String[] permissions = null;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            User user = createTestUser("testuser");
            User result = authenticationManager.load(user);
            assertEquals(user, result);
        }
    
        // Test load with single chain
        public void test_load_singleChain() {
            User user = createTestUser("testuser");
            User loadedUser = createTestUser("loadeduser");
            TestAuthenticationChain chain = new TestAuthenticationChain();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            // Setup
            FessUserBean user = FessUserBean.empty();
            String expectedUrl = "https://example.com/logout?user=testuser123";
            authenticator.setLogoutUrl(expectedUrl);
    
            // Execute
            String result = authenticator.logout(user);
    
            // Verify
            assertNotNull(result);
            assertEquals(expectedUrl, result);
            assertEquals(user, authenticator.getLastLogoutUser());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            List<User> users = new ArrayList<>();
    
            // Create test users
            for (int i = 0; i < 10; i++) {
                users.add(createTestUser("user" + i, "User " + i));
            }
    
            // Perform sequential operations
            for (User user : users) {
                chain.update(user);
                chain.changePassword(user.getName(), "newpass" + user.getName());
                chain.load(user);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

        }
    
        public void test_constructor() {
            // Test constructor initializes fields correctly
            LdapUser user = new LdapUser(testEnv, "username");
            assertEquals("username", user.getName());
            assertSame(testEnv, user.getEnvironment());
            assertNull(user.permissions);
        }
    
        public void test_getName() {
            // Test getName returns the correct name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top