Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 213 for unser (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

        }
    
        @Test
        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);
        }
    
        @Test
        public void test_getName() {
            // Test getName returns the correct name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            return new ActivityHelper() {
                @Override
                public void accessDenied(final OptionalThing<FessUserBean> user, final String path) {
                    final Map<String, String> log = new LinkedHashMap<>();
                    log.put("user", user.map(FessUserBean::getUserId).orElse("-"));
                    log.put("path", path);
                    capturedLogs.add(log);
                }
            };
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java

            }
            return redirect(getClass());
        }
    
        /**
         * Returns the user ID for the current session. If the user is authenticated, returns the username;
         * otherwise, returns the guest user code.
         *
         * @return the user ID
         */
        protected String getUserId() {
            final String username = systemHelper.getUsername();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Mar 10 14:54:51 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            final ChatSession session = new ChatSession();
            // Create: user, assistant, user, assistant, user, assistant (6 messages)
            session.addUserMessage("User 1");
            session.addAssistantMessage("Assistant 1");
            session.addUserMessage("User 2");
            session.addAssistantMessage("Assistant 2");
            session.addUserMessage("User 3");
            session.addAssistantMessage("Assistant 3");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/LlmClient.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,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.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,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/entity/ChatSession.java

            this.sessionId = sessionId;
        }
    
        /**
         * Gets the user ID.
         *
         * @return the user ID
         */
        public String getUserId() {
            return userId;
        }
    
        /**
         * Sets the user ID.
         *
         * @param userId the user ID
         */
        public void setUserId(final String userId) {
            this.userId = userId;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test with single role - not matching
            assertFalse(fessUserBean.hasRole("user"));
    
            // Test with multiple roles
            testUser.setRoleNames(new String[] { "admin", "user", "manager" });
            assertTrue(fessUserBean.hasRole("admin"));
            assertTrue(fessUserBean.hasRole("user"));
            assertTrue(fessUserBean.hasRole("manager"));
            assertFalse(fessUserBean.hasRole("guest"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatSessionManager.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,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                public boolean isLdapIgnoreNetbiosName() {
                    return false;
                }
            });
            sambaHelper.init();
    
            // Test User SID (type 1)
            assertEquals("1Test User", sambaHelper.getAccountId(createMockSID(1, "Test User")));
    
            // Test Domain Group SID (type 2)
            assertEquals("2Domain Group", sambaHelper.getAccountId(createMockSID(2, "Domain Group")));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
Back to Top