Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 208 for roles2 (0.05 sec)

  1. src/main/java/org/codelibs/fess/entity/FessUser.java

     * Provides access to user name, roles, groups, and permissions.
     */
    public interface FessUser extends Serializable {
    
        /**
         * Gets the user's display name.
         * @return The user's name.
         */
        String getName();
    
        /**
         * Gets the user's assigned role names.
         * @return Array of role names.
         */
        String[] getRoleNames();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/QueryHelper.java

         *
         * @param roleSet the set of roles to use for filtering
         * @param boolQuery the boolean query builder to add role filters to
         */
        public void buildRoleQuery(final Set<String> roleSet, final BoolQueryBuilder boolQuery) {
            final BoolQueryBuilder roleQuery = QueryBuilders.boolQuery();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  3. src/main/resources/fess_indices/fess_log.search_log/search_log.json

              "mapping": {
                "type": "keyword"
              }
            }
          }
        ],
        "properties": {
          "user": {
            "type": "keyword"
          },
          "roles": {
            "type": "keyword"
          },
          "queryId": {
            "type": "keyword"
          },
          "searchWord": {
            "type": "keyword"
          },
          "requestedAt": {
            "type": "date",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Feb 25 13:38:21 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

         * For admin actions, verifies that the user has appropriate admin roles or
         * meets the secured annotation requirements.
         *
         * @param resource the login handling resource to check permission for
         * @throws LoginRequiredException if login is required
         * @throws UserRoleLoginException if the user doesn't have required roles
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/role/SearchForm.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.role;
    
    /**
     * The search form for Role.
     */
    public class SearchForm {
    
        /**
         * Default constructor for SearchForm.
         */
        public SearchForm() {
        }
    
        /**
         * The ID field for searching roles.
         */
        public String id;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 905 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    throw new WebApiException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e);
                }
            }
        }
    
        /**
         * Sets the roles that are allowed to access the search engine API.
         *
         * @param acceptedRoles array of role names that can access the API
         */
        public void setAcceptedRoles(final String[] acceptedRoles) {
            this.acceptedRoles = acceptedRoles;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. docs/es/docs/how-to/conditional-openapi.md

    Si quieres asegurar tu API, hay varias cosas mejores que puedes hacer, por ejemplo:
    
    * Asegúrate de tener modelos Pydantic bien definidos para tus request bodies y responses.
    * Configura los permisos y roles necesarios usando dependencias.
    * Nunca guardes contraseñas en texto plano, solo hashes de contraseñas.
    * Implementa y utiliza herramientas criptográficas bien conocidas, como Passlib y JWT tokens, etc.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            }
            return map;
        }
    
        /**
         * Generates a unique document ID from the provided data map.
         * Constructs an ID string from URL, roles, and virtual hosts, then generates a hash.
         *
         * @param dataMap the document data map containing URL, roles, and virtual host information
         * @return a unique hashed ID string for the document
         */
        public String generateId(final Map<String, Object> dataMap) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        .collect(Collectors.toList());
            }
    
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
            if (roleSet.isEmpty()) {
                for (final LabelTypeItem item : labelList) {
                    if (item.getPermissions().length == 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K bytes
    - Viewed (0)
Back to top