Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for anonymous (0.17 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

            byte[] token = negoResp.getSecurityBlob();
            final int securityMode = negoResp.getSecurityMode();
            boolean anonymous = this.credentials.isAnonymous();
            final boolean doSigning = securityMode != 0 && !anonymous;
            long newSessId = 0;
            long curSessId = this.sessionId;
    
            synchronized ( trans ) {
                this.credentials.refresh();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                tree.treeConnect(null, null);
            } catch (SmbAuthException sae) {
                NtlmPasswordAuthentication a;
                SmbSession ssn;
    
                if (share == null) { // IPC$ - try "anonymous" credentials
                    ssn = trans.getSmbSession(NtlmPasswordAuthentication.NULL);
                    tree = ssn.getSmbTree(null, null);
                    tree.treeConnect(null, null);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. src/test/java/jcifs/tests/ContextConfigTest.java

            NtlmPasswordAuthenticator ntlmGuestCreds = guestCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertThat("anonymous", ntlmGuestCreds.isAnonymous(), CoreMatchers.is(false));
            assertThat("guest", ntlmGuestCreds.isGuest(), CoreMatchers.is(true));
    
            Credentials anonCreds = this.context.withAnonymousCredentials().getCredentials();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

            try ( SmbFile f = new SmbFile(url) ) {
                Credentials creds = f.getContext().getCredentials();
    
                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
                assertTrue(creds instanceof NtlmPasswordAuthenticator);
                NtlmPasswordAuthenticator ntcreds = (NtlmPasswordAuthenticator) creds;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

                                    tf,
                                    dr.getServer(),
                                    0,
                                    false,
                                    !tf.getCredentials().isAnonymous() && tf.getConfig().isSigningEnabled() && tf.getConfig().isIpcSigningEnforced())
                                        .unwrap(SmbTransportImpl.class);
                                transport.ensureConnected();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
    
            if ( transport.getContext().getConfig().isIpcSigningEnforced() && ( "IPC$".equals(this.getShare()) || "IPC".equals(rsvc) )
                    && !sess.getCredentials().isAnonymous() && sess.getDigest() == null ) {
                throw new SmbException("IPC signing is enforced, but no signing is available");
            }
    
            this.service = rsvc;
            this.inDfs = response.isShareDfs();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
Back to top