Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getCredentials (0.18 sec)

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

            assertNotNull(this.context.getUrlHandler());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        public void testCredentials () {
            assertFalse(this.context.hasDefaultCredentials());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testFixedCredentials () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.client.http.Authentication#getCredentials()
         */
        @Override
        public Credentials getCredentials() {
            return credentials;
        }
    
        public void setAuthScope(final AuthScope authScope) {
            this.authScope = authScope;
        }
    
        public void setCredentials(final Credentials credentials) {
            this.credentials = credentials;
        }
    
        /*
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        private WebConfig webConfig;
    
        public Authentication getAuthentication() {
            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
            if (Constants.BASIC.equals(scheme)) {
                return new BasicScheme();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Authentication.java

    import org.apache.http.auth.Credentials;
    
    /**
     *
     *
     * @author shinsuke
     *
     */
    public interface Authentication {
    
        AuthScope getAuthScope();
    
        Credentials getCredentials();
    
        AuthScheme getAuthScheme();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 963 bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

    
        private Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> getTrustedDomains ( CIFSContext tf ) throws SmbAuthException {
            if ( tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null || tf.getCredentials().getUserDomain().isEmpty() ) {
                return null;
            }
    
            if ( this._domains != null && System.currentTimeMillis() > this._domains.expiration ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            for (final Authentication authentication : siteCredentialList) {
                final AuthScope authScope = authentication.getAuthScope();
                credentialsProvider.setCredentials(authScope, authentication.getCredentials());
                final AuthScheme authScheme = authentication.getAuthScheme();
                if (authScope.getHost() != null && authScheme != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/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));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

        protected void testCredentialUrl ( String url, String user, String pass, String dom ) throws SmbException, MalformedURLException {
            try ( SmbFile f = new SmbFile(url) ) {
                Credentials creds = f.getContext().getCredentials();
    
                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
                assertTrue(creds instanceof NtlmPasswordAuthenticator);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    formSchemeList.add(new Pair<>((FormScheme) authScheme, authentication.getCredentials()));
                } else {
                    final AuthScope authScope = authentication.getAuthScope();
                    credentialsProvider.setCredentials(authScope, authentication.getCredentials());
                    if (authScope.getHost() != null && authScheme != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                throw new SmbException("Service is NULL");
            }
    
            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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
Back to top