Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for role_id (0.05 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. 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)
  4. 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)
  5. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            }
    
            @Override
            public void setSessionId(String sessionId) {
                // Do nothing in test
            }
    
            @Override
            public void setRuleId(String ruleId) {
                // Do nothing in test
            }
    
            @Override
            public void setUrl(String url) {
                // Do nothing in test
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
Back to Top