Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for boolean (0.03 sec)

  1. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

        }
    
        // Test LdapManager implementation
        private static class TestLdapManager extends LdapManager {
            boolean insertCalled = false;
            boolean deleteCalled = false;
            boolean changePasswordCalled = false;
            boolean applyCalled = false;
            boolean applyModifiesUser = false;
    
            User insertedUser;
            User deletedUser;
            User appliedUser;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        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) {
            return stream(user.getRoleNames())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public boolean isRequestedSessionIdFromCookie() {
                return false;
            }
    
            @Override
            public boolean isRequestedSessionIdFromURL() {
                return false;
            }
    
            @Override
            public boolean authenticate(jakarta.servlet.http.HttpServletResponse response) {
                return false;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

     */
    public abstract class ServerMessageBlock2Response extends ServerMessageBlock2 implements CommonServerMessageBlockResponse {
    
        private boolean received;
        private boolean error;
        private Long expiration;
    
        private boolean verifyFailed;
        private Exception exception;
        private boolean asyncHandled;
    
        /**
         * Constructor for SMB2 response with configuration and command.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                @Override
                public boolean isChangedClusterState(int status) {
                    return true;
                }
    
                @Override
                public String getHostname() {
                    return "test-hostname";
                }
            };
    
            FessConfig fessConfig = new TestFessConfig() {
                @Override
                public boolean hasNotification() {
                    return true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         */
        public boolean isEncryptionSupported() {
            return this.supportsEncryption;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#canReuse(jcifs.CIFSContext, boolean)
         */
        @Override
        public boolean canReuse(final CIFSContext tc, final boolean forceSigning) {
            return getConfig().equals(tc.getConfig());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            List<User> loadCalls = new ArrayList<>();
    
            // Control behavior
            boolean updateThrowsException = false;
            boolean deleteThrowsException = false;
            boolean changePasswordThrowsException = false;
            boolean loadThrowsException = false;
            boolean changePasswordResult = false;
            User loadResult = null;
    
            @Override
    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/main/java/jcifs/util/transport/Transport.java

         */
        protected abstract boolean doDisconnect(boolean hard, boolean inUse) throws IOException;
    
        /**
         * Connect the transport
         *
         * @param timeout the maximum time to wait for the connection in milliseconds
         * @return whether the transport was connected
         * @throws TransportException if the connection fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(user, chain2.lastUpdatedUser);
            assertEquals(user, chain3.lastUpdatedUser);
        }
    
        // Test changePassword with no chains
        public void test_changePassword_noChains() {
            boolean result = authenticationManager.changePassword("testuser", "newpass");
            assertTrue(result); // Returns true when no chains present
        }
    
        // Test changePassword with single chain success
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
        }
    
        protected synchronized void doDisconnect(final boolean hard) throws IOException {
            doDisconnect(hard, false);
        }
    
        @Override
        protected synchronized boolean doDisconnect(final boolean hard, final boolean inUse) throws IOException {
            final ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            boolean wasInUse = false;
            final long l = getUsageCount();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top