Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for GetContext (0.16 sec)

  1. src/test/java/jcifs/tests/SidTest.java

            String sid = getRequiredProperty(TestProperties.TEST_USER_SID);
            SID s = new SID(sid);
            s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getTestUser(), s.getAccountName());
            assertEquals(jcifs.SID.SID_TYPE_USER, s.getType());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                switch ( transport.getContext().getConfig().getLanManCompatibility() ) {
                case 0:
                case 1:
                case 2:
                    this.macSigningKey = new byte[40];
                    auth.getUserSessionKey(transport.getContext(), serverEncryptionKey, this.macSigningKey, 0);
                    System.arraycopy(auth.getUnicodeHash(transport.getContext(), serverEncryptionKey), 0, this.macSigningKey, 16, 24);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

            }
        }
    
    
        @Test
        public void testShareEnum () throws MalformedURLException, CIFSException {
            try ( SmbFile smbFile = new SmbFile("smb://" + getTestServer(), withTestNTLMCredentials(getContext())) ) {
                String[] list = smbFile.list();
                assertNotNull(list);
                assertTrue("No share found", list.length > 0);
                log.debug(Arrays.toString(list));
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

            this(
                isWorkgroup(context) ? new URL(null, "smb://" + checkName(name), context.getContext().getUrlHandler())
                        : new URL(context.getLocator().getURL(), encodeRelativePath(checkName(name)), context.getContext().getUrlHandler()),
                context.getContext());
            setContext(context, name);
        }
    
    
        /**
         * Construct from string URL
         * 
         * @param url
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

         *         authentication.
         */
        public byte[] getContext () {
            return this.context;
        }
    
    
        /**
         * Sets the local security context. This is used by the client
         * to negotiate local authentication.
         *
         * @param context
         *            The local security context.
         */
        public void setContext ( byte[] context ) {
            this.context = context;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/BaseCIFSTest.java

        }
    
    
        protected CIFSContext withTestGuestCredentials () {
            return getContext().withGuestCrendentials();
        }
    
    
        protected CIFSContext withAnonymousCredentials () {
            return getContext().withAnonymousCredentials();
        }
    
    
        protected String getTestDomain () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    Dependency node = collectStepTrace.getNode();
                    trackingData.add(resolvedArtifact.toString());
                    indent += "  ";
                    trackingData.add(indent + node + " (" + collectStepTrace.getContext() + ")");
                    ListIterator<DependencyNode> iter = collectStepTrace
                            .getPath()
                            .listIterator(collectStepTrace.getPath().size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbTransport.java

     * 
     * @author mbechler
     * @internal
     */
    public interface SmbTransport extends AutoCloseable {
    
        /**
         * @return the context this transport is attached to
         */
        CIFSContext getContext ();
    
    
        /**
         * 
         * @param type
         * @return transport instance with the given type
         */
        <T extends SmbTransport> T unwrap ( Class<T> type );
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = createTestFile() ) {
                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbSession.java

         */
        <T extends SmbSession> T unwrap ( Class<T> type );
    
    
        /**
         * 
         * @return the context this session is attached to
         */
        CIFSContext getContext ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
Back to top