Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 366 for _account (0.07 seconds)

  1. src/main/java/jcifs/Credentials.java

         * @return instance for type, null if the type cannot be unwrapped
         */
        <T extends Credentials> T unwrap(Class<T> type);
    
        /**
         * Get the domain of the user account.
         * @return the domain the user account is in
         */
        String getUserDomain();
    
        /**
         * Check if these are anonymous credentials.
         * @return whether these are anonymous credentials
         */
        boolean isAnonymous();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
        void setParam(final int fid, final long offset, final int maxCount) {
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
        }
    
        @Override
        int getBatchLimit(final byte command) {
            return command == SMB_COM_CLOSE ? BATCH_LIMIT : 0;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. tests/test_security_api_key_header_optional.py

        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me", headers={"key": "secret"})
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Click Count (0)
  4. tests/test_security_http_basic_optional.py

    security = HTTPBasic(auto_error=False)
    
    
    @app.get("/users/me")
    def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)):
        if credentials is None:
            return {"msg": "Create an account first"}
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. tests/test_security_oauth2_optional.py

        return form_data
    
    
    @app.get("/users/me")
    def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_oauth2():
        response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException {
            // This test is theoretical as we can't create huge buffers
            // but tests the boundary conditions
            if (aceCount <= 10) { // Only test small counts practically
                byte[] buffer = new byte[2048];
                prepareSecurityDescriptorBufferWithDACL(buffer, 0, aceCount);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. schema/schema_test.go

    			f.Creatable = true
    			f.Updatable = true
    			f.Readable = true
    		})
    	}
    
    	// check relations
    	relations := []Relation{
    		{
    			Name: "Account", Type: schema.HasOne, Schema: "User", FieldSchema: "Account",
    			References: []Reference{{"ID", "User", "UserID", "Account", "", true}},
    		},
    		{
    			Name: "Pets", Type: schema.HasMany, Schema: "User", FieldSchema: "Pet",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		SID_NAME_DOMAIN   = 3, /* domain: don't know what this is */
    		SID_NAME_ALIAS    = 4, /* local group */
    		SID_NAME_WKN_GRP  = 5, /* well-known group */
    		SID_NAME_DELETED  = 6, /* deleted account: needed for c2 rating */
    		SID_NAME_INVALID  = 7, /* invalid account */
    		SID_NAME_UNKNOWN  = 8  /* oops. */
    	} LsarSidType;
    
    	typedef struct {
    		LsarSidType sid_type;
    		uint32_t rid;
    		uint32_t sid_index;
    	} LsarTranslatedSid;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Click Count (3)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		SID_NAME_DOMAIN   = 3, /* domain: don't know what this is */
    		SID_NAME_ALIAS    = 4, /* local group */
    		SID_NAME_WKN_GRP  = 5, /* well-known group */
    		SID_NAME_DELETED  = 6, /* deleted account: needed for c2 rating */
    		SID_NAME_INVALID  = 7, /* invalid account */
    		SID_NAME_UNKNOWN  = 8  /* oops. */
    	} LsarSidType;
    
    	typedef struct {
    		LsarSidType sid_type;
    		uint32_t rid;
    		uint32_t sid_index;
    	} LsarTranslatedSid;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.1K bytes
    - Click Count (0)
  10. cmd/sts-handlers_test.go

    		AccessKey: "newroot",
    		SecretKey: "newroot123",
    	})
    	if err == nil {
    		c.Fatalf("restricted STS account was able to create service account bypassing sub-policy!")
    	}
    }
    
    func (s *TestSuiteIAM) TestSTSWithTags(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	bucket := getRandomBucketName()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
Back to Top