Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 41 for get_credentials (0.13 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                    final AuthScheme authScheme = getAuthScheme(paramMap, webAuthName, scheme);
                    final AuthScope authScope = getAuthScope(webAuthName, scheme, paramMap);
                    final Credentials credentials = getCredentials(webAuthName, scheme, paramMap);
                    basicAuthList.add(new AuthenticationImpl(authScope, credentials, authScheme));
                }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  2. 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 =
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            if (StringUtil.isNotBlank(endpoint)) {
                // For fake-gcs-server or custom endpoint
                builder.setHost(endpoint);
                builder.setCredentials(NoCredentials.getInstance());
                if (logger.isDebugEnabled()) {
                    logger.debug("Using custom GCS endpoint: {}", endpoint);
                }
            } else {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/DfsImplTest.java

            mockTransportPool = mock(SmbTransportPool.class);
    
            // Set up mock behaviors
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockContext.getCredentials()).thenReturn(mockCredentials);
            when(mockContext.getTransportPool()).thenReturn(mockTransportPool);
            when(mockConfig.getDfsTtl()).thenReturn(300L);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/CIFSContext.java

         */
        SidResolver getSIDResolver();
    
        /**
         * Get the credentials associated with this context
         *
         * @return the used credentials
         */
        Credentials getCredentials();
    
        /**
         * Get a URL stream handler for SMB URLs
         *
         * @return an URL handler using this context
         */
        URLStreamHandler getUrlHandler();
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            mockCredentialsInternal = Mockito.mock(CredentialsInternal.class);
    
            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
            Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

                return null; // not used
            }
        };
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getCredentials()).thenReturn(creds);
            when(ctx.getNameServiceClient()).thenReturn(nsc);
        }
    
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, SMB_HANDLER);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            mockCredentialsInternal = Mockito.mock(CredentialsInternal.class);
    
            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
            Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        message.setFlag(NtlmFlags.NTLMSSP_REQUEST_TARGET, true);
                    }
                } else if (this.transportContext.getCredentials() instanceof NtlmPasswordAuthentication) {
                    final NtlmPasswordAuthentication npa = (NtlmPasswordAuthentication) this.transportContext.getCredentials();
                    String domain = npa.getUserDomain();
                    String user = !npa.isAnonymous() ? npa.getUsername() : null;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication(
                    new BaseContext(new PropertyConfiguration(System.getProperties())), "domain", "user", "password");
            when(mockCifsContext.getCredentials()).thenReturn(creds);
            when(mockCifsContext.getConfig()).thenReturn(new PropertyConfiguration(System.getProperties()));
            when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top