Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for renewed (1.2 sec)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            boolean renewed = wrapper.renewCredentials("locationHint", null);
    
            // Verify that renew() was called and credentials were updated
            assertTrue(renewed, "renewCredentials should return true when renewable credentials are renewed");
            assertEquals(mockRenewedCredentialsInternal, wrapper.getCredentials(), "Credentials should be updated to renewed credentials");
            verify(mockRenewableCredentials).renew();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            }
        }
    
        @Test
        @DisplayName("renew: invokes getSubject and returns self")
        void testRenewInvokesGetSubjectAndReturnsSelf() {
            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
            doReturn(new Subject()).when(auth).getSubject();
    
            // Act
            CredentialsInternal result = auth.renew();
    
            // Assert interaction and return value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        void testGetAction() throws SMBProtocolDecodingException {
            int expectedAction = FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME;
            byte[] buffer = createValidNotificationBuffer("renamed.txt", expectedAction);
    
            notifyInfo.decode(buffer, 0, buffer.length);
    
            assertEquals(expectedAction, notifyInfo.getAction());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange
                Handler urlHandler = (Handler) mockCifsContext.getUrlHandler();
                URL destUrl = new URL(null, "smb://localhost/share/renamed.txt", urlHandler);
                SmbFile dest = spy(new SmbFile(destUrl, mockCifsContext));
                doReturn(mockTreeHandle).when(dest).ensureTreeConnected();
                doReturn(true).when(smbFile).exists();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

             * File was removed from the directory
             */
            FILE_REMOVED,
            /**
             * File was modified in the directory
             */
            FILE_MODIFIED,
            /**
             * Directory was renamed
             */
            DIRECTORY_RENAMED,
            /**
             * File or directory attributes were changed
             */
            ATTRIBUTES_CHANGED
        }
    
        /**
         * SMB2 File Action constants
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * <br>
         * <i>Remember: <code>SmbResource</code>s are immutable and therefore
         * the path associated with this <code>SmbResource</code> object will not
         * change). To access the renamed file it is necessary to construct a
         * new <code>SmbResource</code></i>.
         *
         * @param dest
         *            An <code>SmbResource</code> that represents the new pathname
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

                    }
                } else {
                    if (!this.ctx.renewCredentials(loc.getURL().toString(), sae)) {
                        throw sae;
                    }
                    log.debug("Trying to renew credentials after auth error");
                    try (SmbSessionInternal s = trans.getSmbSession(this.ctx, treesess.getTargetHost(), treesess.getTargetDomain())
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  8. LICENSE

    FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
    CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
    LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
    RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
    FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
    SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
    DAMAGES.
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
Back to top