Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 454 for isGuest (0.09 sec)

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

                this.auth.isGuest() ? this.transportContext.getConfig().getGuestPassword() : this.auth.getPassword(),
                this.auth.isGuest() ? null : this.auth.getUserDomain(),
                this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(),
                this.workstation,
                this.ntlmsspFlags,
                this.auth.isGuest() || !this.auth.isAnonymous());
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Credentials.java

    
        /**
         * @return whether these are anonymous credentials
         */
        boolean isAnonymous ();
    
    
        /**
         * @return whether these are guest credentials
         */
        boolean isGuest ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/JAASAuthenticator.java

        @Override
        public boolean isAnonymous () {
            return false;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#isGuest()
         */
        @Override
        public boolean isGuest () {
            return false;
        }
    
    
        @Override
        public Kerb5Authenticator clone () {
            JAASAuthenticator auth = new JAASAuthenticator();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                        response = sessResponse;
                    }
    
                    if ( !this.getConfig().isAllowGuestFallback() && response.isLoggedInAsGuest()
                            && ! ( this.credentials.isGuest() || this.credentials.isAnonymous() ) ) {
                        throw new SmbAuthException(NtStatus.NT_STATUS_LOGON_FAILURE);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. 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();
            assertThat(anonCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        this.lmHash = new byte[0];
                        this.ntHash = new byte[0];
                        this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                        if ( a.isGuest() ) {
                            this.accountName = a.getUsername();
                            if ( this.isUseUnicode() )
                                this.accountName = this.accountName.toUpperCase();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  7. 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;
    
                assertNotNull(ntcreds.getUsername());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return getName();
        }
    
    
        @Override
        public boolean isAnonymous () {
            return this.type == AuthenticationType.NULL;
        }
    
    
        @Override
        public boolean isGuest () {
            return this.type == AuthenticationType.GUEST;
        }
    
    
        static String unescape ( String str ) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

            try ( SmbSessionImpl treesess = t.getSession() ) {
                if ( treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest() ) {
                    // refresh anonymous session or fallback to anonymous from guest login
                    try ( SmbSessionInternal s = trans
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  10. .github/workflows/issues.yaml

    # @format
    
    name: Issue Workflow
    
    on:
      issues:
        types:
          - opened
    
    jobs:
      add-to-project:
        name: Add issue to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v0.5.0
            with:
              project-url: https://github.com/orgs/miniohq/projects/2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 11 07:02:00 UTC 2024
    - 338 bytes
    - Viewed (0)
Back to top