Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 321 for authz (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

    import java.util.List;
    import java.util.Map;
    
    import org.apache.http.Header;
    import org.apache.http.HttpEntity;
    import org.apache.http.HttpHost;
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthSchemeProvider;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.client.AuthCache;
    import org.apache.http.client.CredentialsProvider;
    import org.apache.http.client.config.RequestConfig;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    	return &PolicySys{}
    }
    
    func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	m := make(map[string][]string)
    	if d := r.Form.Get("DurationSeconds"); d != "" {
    		m["DurationSeconds"] = []string{d}
    	}
    	return m
    }
    
    func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                    }
                }
                else { /* Basic */
                    String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = ( index != -1 ) ? auth.substring(0, index) : auth;
                    String password = ( index != -1 ) ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if ( index == -1 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                validateRequest(ftpClient);
    
                final FtpAuthentication auth = ftpAuthenticationHolder.get(info.toUrl());
                if (auth != null && !ftpClient.login(auth.getUsername(), auth.getPassword())) {
                    throw new CrawlerLoginFailureException("Login Failure: " + auth.getUsername() + " for " + info.toUrl());
                }
    
                ftpClient.setFileType(FTP.BINARY_FILE_TYPE);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. internal/config/identity/tls/config.go

    	if dsecs == "" {
    		return defaultExpiry, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    	if err != nil {
    		return 0, auth.ErrInvalidDuration
    	}
    
    	dur := time.Duration(d) * time.Second
    
    	if dur < minExpiry || dur > maxExpiry {
    		return 0, auth.ErrInvalidDuration
    	}
    	return dur, nil
    }
    
    // Lookup returns a new Config by merging the given K/V config
    // system with environment variables.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

        SmbNamedPipe pipe;
        SmbFileInputStream in = null;
        SmbFileOutputStream out = null;
        boolean isStart = true;
    
        public DcerpcPipeHandle(String url,
                    NtlmPasswordAuthentication auth)
                    throws UnknownHostException, MalformedURLException, DcerpcException {
            binding = DcerpcHandle.parseBinding(url);
            url = "smb1://" + binding.server + "/IPC$/" + binding.endpoint.substring(6);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

     */
    package org.codelibs.fess.crawler.client.http.ntlm;
    
    import java.io.IOException;
    import java.util.Base64;
    import java.util.Properties;
    
    import org.apache.http.impl.auth.NTLMEngine;
    import org.apache.http.impl.auth.NTLMEngineException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    
    import jcifs.CIFSException;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. cmd/batch-replicate.go

    	return c.AccessKey == "" && c.SecretKey == "" && c.SessionToken == ""
    }
    
    // Validate validates if credentials are valid
    func (c BatchJobReplicateCredentials) Validate() error {
    	if !auth.IsAccessKeyValid(c.AccessKey) || !auth.IsSecretKeyValid(c.SecretKey) {
    		return errInvalidArgument
    	}
    	return nil
    }
    
    // BatchJobReplicateTarget describes target element of the replication job that receives
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                RemoteRepository repo = RepositoryUtils.toRepo(repository);
                org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                if (auth != null) {
                    repo = new RemoteRepository.Builder(repo)
                            .setAuthentication(auth)
                            .build();
                    AuthenticationContext authCtx = AuthenticationContext.forRepository(null, repo);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    		return updatedAt, errIAMActionNotAllowed
    	}
    
    	uinfo := newUserIdentity(auth.Credentials{
    		AccessKey: accessKey,
    		SecretKey: cred.SecretKey,
    		Status: func() string {
    			switch string(status) {
    			case string(madmin.AccountEnabled), string(auth.AccountOn):
    				return auth.AccountOn
    			}
    			return auth.AccountOff
    		}(),
    	})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top