Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for roles (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            protected final String name;
    
            protected String[] groups;
    
            protected String[] roles;
    
            protected String[] permissions;
    
            protected OpenIdUser(final String name, final String[] groups, final String[] roles) {
                this.name = name;
                this.groups = groups;
                this.roles = roles;
            }
    
            @Override
            public String getName() {
                return name;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            } else {
                this.roles = new String[roles.length];
                System.arraycopy(roles, 0, this.roles, 0, roles.length);
            }
    
            this.languages = languages != null ? languages : new String[] {};
    
            kinds = new Kind[] { kind };
            if (userBoost > 1) {
                this.userBoost = userBoost;
            } else {
                this.userBoost = 1;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                    if (fessConfig.isValidSearchLogPermissions(roles.toArray(new String[roles.size()]))) {
                        suggester.indexer().indexFromSearchWord(sb.toString(), fields.toArray(new String[fields.size()]),
                                tags.toArray(new String[tags.size()]), roles.toArray(new String[roles.size()]), 1, langs);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            if (!tags.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.TAGS, tags));
            }
    
            roles.add(SuggestConstants.DEFAULT_ROLE);
            if (!roles.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.ROLES, roles));
            }
    
            if (!fields.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.FIELDS, fields));
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.TAGS, tags));
            }
            if (!roles.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.ROLES, roles));
            } else {
                queryBuilder.must(QueryBuilders.termQuery(FieldNames.ROLES, SuggestConstants.DEFAULT_ROLE));
            }
            if (!fields.isEmpty()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                    final String[] roles = values[1].split(roleSeparator);
                    for (final String role : roles) {
                        if (StringUtil.isNotEmpty(role)) {
                            roleSet.add(role);
                        }
                    }
                }
            } else {
                final String[] roles = rolesStr.split(roleSeparator);
                for (final String role : roles) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                @SuppressWarnings("unchecked")
                final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES);
                if (elevateWord != null && boost != null && readings != null && fields != null) {
                    elevateWords[i] =
                            new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles);
                }
            }
            return elevateWords;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        + ", fields=" + Arrays.toString(fields)//
                        + ", tags=" + Arrays.toString(tags)//
                        + ", roles=" + Arrays.toString(roles)//
                        + ", langs=" + Arrays.toString(langs)//
                        + ", num=" + num;
                if (logger.isDebugEnabled()) {
                    logger.debug(msg, e);
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/conditional-openapi.md

    If you want to secure your API, there are several better things you can do, for example:
    
    * Make sure you have well defined Pydantic models for your request bodies and responses.
    * Configure any required permissions and roles using dependencies.
    * Never store plaintext passwords, only password hashes.
    * Implement and use well-known cryptographic tools, like Passlib and JWT tokens, etc.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:21:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top