Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 328 for role2 (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            Set<String> roles = Set.of("role1", "role2");
    
            queryHelper.buildRoleQuery(roles, boolQuery);
    
            String queryString = boolQuery.toString();
            assertTrue(queryString.contains("role1"));
            assertTrue(queryString.contains("role2"));
            assertTrue(queryString.contains("filter"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Secured secured = method.getAnnotation(Secured.class);
            assertNotNull(secured);
            String[] roles = secured.value();
            assertEquals(3, roles.length);
            assertEquals("ROLE_USER", roles[0]);
            assertEquals("ROLE_ADMIN", roles[1]);
            assertEquals("ROLE_GUEST", roles[2]);
        }
    
        // Test non-annotated method
        public void test_methodWithoutAnnotation() throws NoSuchMethodException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java

    package org.codelibs.fess.opensearch.user.exentity;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.user.bsentity.BsRole;
    
    /**
     * @author FreeGen
     */
    public class Role extends BsRole {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, String> attributes;
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. docs/sts/assume-role.md

    ```
    
    > NOTE: In the following commands `--role-arn` and `--role-session-name` are not meaningful for MinIO and can be set to any value satisfying the command line requirements.
    
    ```
    $ aws --profile foobar --endpoint-url http://localhost:9000 sts assume-role --policy '{"Version":"2012-10-17","Statement":[{"Sid":"Stmt1","Effect":"Allow","Action":"s3:*","Resource":"arn:aws:s3:::*"}]}' --role-arn arn:xxx:xxx:xxx:xxxx --role-session-name anything
    {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

         * @param tag The tag.
         */
        public void addTag(final String tag) {
            tags.add(tag);
        }
    
        /**
         * Adds a role to filter by.
         * @param role The role.
         */
        public void addRole(final String role) {
            roles.add(role);
        }
    
        /**
         * Adds a field to filter by.
         * @param field The field name.
         */
        public void addField(final String field) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RoleService.java

        }
    
        /**
         * Gets a role by its ID.
         * @param id The ID of the role.
         * @return An optional entity of the role.
         */
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        /**
         * Stores a role.
         * @param role The role to store.
         */
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/resources/fess_indices/fess_user.role/role.bulk

    {"index":{"_index":"fess_user.role","_id":"YWRtaW4="}}
    {"name":"admin"}
    {"index":{"_index":"fess_user.role","_id":"Z3Vlc3Q="}}
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 144 bytes
    - Viewed (0)
  8. tests/serializer_test.go

    )
    
    type SerializerStruct struct {
    	gorm.Model
    	Name                   []byte                 `gorm:"json"`
    	Roles                  Roles                  `gorm:"serializer:json"`
    	Roles2                 *Roles                 `gorm:"serializer:json"`
    	Roles3                 *Roles                 `gorm:"serializer:json;not null"`
    	Contracts              map[string]interface{} `gorm:"serializer:json"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            testUser.setRoleNames(new String[] { "admin", "user", "manager" });
            roles = fessUserBean.getRoles();
            assertEquals(3, roles.length);
            assertEquals("admin", roles[0]);
            assertEquals("user", roles[1]);
            assertEquals("manager", roles[2]);
        }
    
        public void test_getGroups() {
            // Test with empty groups
            testUser.setGroupNames(new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final String[] roles2 = filterQueryString == null ? new String[0] : SuggestUtil.parseQuery(filterQueryString, roleFieldName);
            final String[] roles = new String[roles1.length + roles2.length];
    
            if (roles1.length > 0) {
                System.arraycopy(roles1, 0, roles, 0, roles1.length);
            }
            if (roles2.length > 0) {
                System.arraycopy(roles2, 0, roles, roles1.length, roles2.length);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top