Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for role_id (0.11 seconds)

  1. internal/config/identity/plugin/config.go

    	}
    
    	resourceID := "idmp-"
    	roleID := env.Get(EnvIdentityPluginRoleID, kv.Get(RoleID))
    	if roleID == "" {
    		// We use a hash of the plugin URL so that the ARN remains
    		// constant across restarts.
    		h := sha1.New()
    		h.Write([]byte(pluginURL))
    		bs := h.Sum(nil)
    		resourceID += base64.RawURLEncoding.EncodeToString(bs)
    	} else {
    		// Check that the roleID is restricted to URL safe characters
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertEquals("ROLE_SUPER_ULTRA_MEGA_ADMIN_WITH_VERY_LONG_NAME_FOR_TESTING_PURPOSES", secured.value()[0]);
        }
    
        // Test with many roles
        @Secured({ "ROLE_1", "ROLE_2", "ROLE_3", "ROLE_4", "ROLE_5", "ROLE_6", "ROLE_7", "ROLE_8", "ROLE_9", "ROLE_10" })
        static class ManyRolesClass {
        }
    
        @Test
        public void test_manyRoles() {
            Secured secured = ManyRolesClass.class.getAnnotation(Secured.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

            builder.startObject();
            if (sessionId != null) {
                builder.field(SESSION_ID, sessionId);
            }
            if (ruleId != null) {
                builder.field(RULE_ID, ruleId);
            }
            if (url != null) {
                builder.field(URL, url);
            }
            if (parentUrl != null) {
                builder.field(PARENT_URL, parentUrl);
            }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. src/main/resources/crawler/rule.xml

    		<postConstruct name="addRule">
    			<arg>defaultRule</arg>
    		</postConstruct>
    	</component>
    
    	<component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.SitemapsRule" >
    		<property name="ruleId">"sitemapsRule"</property>
    		<property name="responseProcessor">
    			<component class="org.codelibs.fess.crawler.processor.impl.SitemapsResponseProcessor">
    			</component>
    		</property>
    		<postConstruct name="addRule">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 29 08:21:02 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/lifecycle.go

    						Action: DeleteAction,
    						RuleID: rule.ID,
    						Due:    rule.Expiration.Date.Time,
    					})
    				}
    			case !rule.Expiration.IsDaysNull():
    				if expectedExpiry := ExpectedExpiryTime(obj.ModTime, int(rule.Expiration.Days)); now.IsZero() || now.After(expectedExpiry) {
    					event := Event{
    						Action: DeleteAction,
    						RuleID: rule.ID,
    						Due:    expectedExpiry,
    					}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/main/resources/mapping/data.json

              "data": {
                "type": "binary"
              }
            }
          },
          "contentLength": {
            "type": "long"
          },
          "lastModified": {
            "type": "long"
          },
          "ruleId": {
            "type": "keyword"
          },
          "httpStatusCode": {
            "type": "integer"
          },
          "status": {
            "type": "integer"
          }
        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 07 04:44:10 GMT 2024
    - 963 bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    		})
    	}
    	lc := Lifecycle{
    		Rules: rules,
    	}
    	if event := lc.NoncurrentVersionsExpirationLimit(ObjectOpts{Name: "obj"}); event.RuleID != "1" || event.NoncurrentDays != 1 || event.NewerNoncurrentVersions != 1 {
    		t.Fatalf("Expected (ruleID, days, lim) to be (\"1\", 1, 1) but got (%s, %d, %d)", event.RuleID, event.NoncurrentDays, event.NewerNoncurrentVersions)
    	}
    }
    
    func TestMaxNoncurrentBackwardCompat(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         */
        private static final String[] ACCESS_RESULT_FIELDS = { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime",
                "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" };
    
        /**
         * Creates a new instance of OpenSearchDataService.
         * @param crawlerConfig The crawler configuration.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. tests/gaussdb_test.go

    		OtherID string
    		Data    string
    	}
    
    	DB.Migrator().DropTable(&Thing{})
    	DB.Migrator().CreateTable(&Thing{})
    	if err := DB.Exec("ALTER TABLE things ADD CONSTRAINT some_id_other_id_unique UNIQUE (some_id, other_id)").Error; err != nil {
    		t.Error(err)
    	}
    
    	thing := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something",
    	}
    
    	DB.Create(&thing)
    
    	thing2 := Thing{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            user = new TestFessUser("testuser", null, new String[] {}, new String[] {});
            assertNull(user.getRoleNames());
    
            // Test with roles containing special characters
            roles = new String[] { "role-1", "role_2", "role.3" };
            user = new TestFessUser("testuser", roles, new String[] {}, new String[] {});
            assertArrayEquals(roles, user.getRoleNames());
        }
    
        @Test
        public void test_getGroupNames() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
Back to Top