Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 615 for auto (0.05 sec)

  1. cmd/speedtest.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/url"
    	"runtime"
    	"sort"
    	"time"
    
    	"github.com/minio/dperf/pkg/dperf"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    const speedTest = "speedtest"
    
    type speedTestOpts struct {
    	objectSize       int
    	concurrencyStart int
    	concurrency      int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. internal/grid/manager.go

    			}
    		}()
    		if debugPrint {
    			fmt.Printf("grid: Got a %s request for: %v\n", req.Method, req.URL)
    		}
    		ctx := req.Context()
    		if err := authReq(req); err != nil {
    			gridLogOnceIf(ctx, fmt.Errorf("auth %s: %w", req.RemoteAddr, err), req.RemoteAddr)
    			w.WriteHeader(http.StatusForbidden)
    			return
    		}
    		conn, _, _, err := ws.UpgradeHTTP(req, w)
    		if err != nil {
    			if debugPrint {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial006.py

    from base64 import b64encode
    
    from fastapi.testclient import TestClient
    
    from docs_src.security.tutorial006 import app
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.auth.chain;
    
    import org.codelibs.fess.es.user.exentity.User;
    
    public interface AuthenticationChain {
    
        void update(User user);
    
        void delete(User user);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 899 bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.18.md

    - Added a config-mode flag in azure auth module to enable getting AAD token without spn: prefix in audience claim. When it's not specified, the default behavior doesn't change. ([#87630](https://github.com/kubernetes/kubernetes/pull/87630), [@weinong](https://github.com/weinong)) [SIG API Machinery, Auth, CLI and Cloud Provider]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        private static int call_id = 1;
    
        public static DcerpcHandle getHandle(String url,
                    NtlmPasswordAuthentication auth)
                    throws UnknownHostException, MalformedURLException, DcerpcException {
            if (url.startsWith("ncacn_np:")) {
                return new DcerpcPipeHandle(url, auth);
            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/ldap.go

    	if dsecs == "" {
    		return l.stsExpiryDuration, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    	if err != nil {
    		return 0, auth.ErrInvalidDuration
    	}
    
    	dur := time.Duration(d) * time.Second
    
    	if dur < minLDAPExpiry || dur > maxLDAPExpiry {
    		return 0, auth.ErrInvalidDuration
    	}
    	return dur, nil
    }
    
    // ParsesAsDN determines if the given string could be a valid DN based on
    // parsing alone.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Response.kt

       * Otherwise this returns an empty list of challenges.
       *
       * If a challenge uses the `token68` variant instead of auth params, there is exactly one
       * auth param in the challenge at key null. Invalid headers and challenges are ignored.
       * No semantic validation is done, for example that `Basic` auth must have a `realm`
       * auth param, this is up to the caller that interprets these challenges.
       */
      fun challenges(): List<Challenge> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/CredentialsInternal.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import javax.security.auth.Subject;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CredentialsInternal extends Cloneable, Credentials {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. internal/event/target/redis.go

    			if args.Password != "" {
    				if args.User != "" {
    					if _, err = conn.Do("AUTH", args.User, args.Password); err != nil {
    						conn.Close()
    						return nil, err
    					}
    				} else {
    					if _, err = conn.Do("AUTH", args.Password); err != nil {
    						conn.Close()
    						return nil, err
    					}
    				}
    			}
    
    			// Must be done after AUTH
    			if _, err = conn.Do("CLIENT", "SETNAME", "MinIO"); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top