Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for myuser1 (0.05 sec)

  1. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Normal authentication should be allowed
            assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "First attempt should be allowed");
    
            // Record success
            rateLimiter.recordSuccess("user1", "192.168.1.1");
    
            // Should still be allowed
            assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "After success should be allowed");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. tests/upsert_test.go

    	}
    }
    
    func TestFindOrInitialize(t *testing.T) {
    	var user1, user2, user3, user4, user5, user6 User
    	if err := DB.Where(&User{Name: "find or init", Age: 33}).FirstOrInit(&user1).Error; err != nil {
    		t.Errorf("no error should happen when FirstOrInit, but got %v", err)
    	}
    
    	if user1.Name != "find or init" || user1.ID != 0 || user1.Age != 33 {
    		t.Errorf("user should be initialized with search value")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. docs/multi-user/admin/README.md

    ### 3. Configure `mc` and create another user user1 with attached policy user1policy
    
    ```
    mc alias set myminio-admin1 http://localhost:9000 admin1 admin123 --api s3v4
    
    mc admin user add myminio-admin1 user1 user123
    mc admin policy attach myminio-admin1 user1policy ~/user1policy.json
    mc admin policy attach myminio-admin1 user1policy --user=user1
    ```
    
    ### 4. List of permissions defined for admin operations
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. tests/sql_builder_test.go

    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestRow(t *testing.T) {
    	user1 := User{Name: "RowUser1", Age: 1}
    	user2 := User{Name: "RowUser2", Age: 10}
    	user3 := User{Name: "RowUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	row := DB.Table("users").Where("name = ?", user2.Name).Select("age").Row()
    
    	var age int64
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            User user1 = createTestUser("user1", "User One");
            User user2 = createTestUser("user2", "User Two");
            User user3 = createTestUser("user3", "User Three");
    
            chain.update(user1);
            chain.update(user2);
            chain.update(user3);
    
            assertEquals(3, chain.updateCalls.size());
            assertEquals(user1, chain.updateCalls.get(0));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. cmd/postpolicyform_test.go

    func TestPostPolicyForm(t *testing.T) {
    	pp := minio.NewPostPolicy()
    	pp.SetBucket("testbucket")
    	pp.SetContentType("image/jpeg")
    	pp.SetUserMetadata("uuid", "14365123651274")
    	pp.SetKeyStartsWith("user/user1/filename")
    	pp.SetContentLengthRange(100, 999999) // not testable from this layer, condition is checked in the API handler.
    	pp.SetSuccessStatusAction("201")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                @Override
                public String[] getRoles(LdapUser user, String baseDn, String accountFilter, String groupFilter, Consumer<String[]> callback) {
                    return new String[] { "Rrole1", "Rrole2", "Ggroup1", "Uuser1" };
                }
    
                @Override
                public String normalizePermissionName(String name) {
                    return name;
                }
            }, "ldapManager");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        @Test
        @DisplayName("Test statistics accumulation")
        void testStatisticsAccumulation() {
            logger.logAuthentication(true, "user1", "DOMAIN", "192.168.1.1");
            logger.logAuthentication(false, "user2", "DOMAIN", "192.168.1.2");
            logger.logFileAccess("WRITE", "/file.txt", true, "user1");
    
            Map<EventType, Long> stats = logger.getStatistics();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDCacheImplTest.java

            verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture());
            SID[] resolvedFirst = captor.getValue();
            assertEquals(2, resolvedFirst.length);
            assertEquals("user1", ((SID) resolvedFirst[0]).acctName);
            assertEquals("user2", ((SID) resolvedFirst[1]).acctName);
    
            // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            pathMappingList.add(pathMapping);
    
            pathMappingHelper.cachedPathMappingList = pathMappingList;
    
            String text = "\"file:///home/user1/\" and \"file:///home/user2/\"";
            assertEquals("\"http://localhost/user1/\" and \"http://localhost/user2/\"", pathMappingHelper.replaceUrls(text));
        }
    
        public void test_replaceUrls_withNoQuotes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top