Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for getPermissions (0.18 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

                        });
                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                final LabelTypeItem item = new LabelTypeItem();
                item.setLabel(labelType.getName());
                item.setValue(labelType.getValue());
                item.setPermissions(labelType.getPermissions());
                item.setVirtualHost(labelType.getVirtualHost());
                item.setLocale(labelType.getLocale());
                itemList.add(item);
            }
            labelTypeItemList = itemList;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ldap/LdapUser.java

            return stream(getPermissions()).get(stream -> stream.filter(s -> s.startsWith(fessConfig.getRoleSearchRolePrefix()))
                    .map(s -> s.substring(1)).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("action", Action.LOGIN.name());
            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            valueMap.put("permissions",
                    user.map(u -> stream(u.getPermissions()).get(stream -> stream.collect(Collectors.joining(permissionSeparator))))
                            .filter(StringUtil::isNotBlank).orElse("-"));
            log(valueMap);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfigWrapper.java

            return crawlingConfig.getId();
        }
    
        @Override
        public String getName() {
            return crawlingConfig.getName();
        }
    
        @Override
        public String[] getPermissions() {
            return crawlingConfig.getPermissions();
        }
    
        @Override
        public String[] getVirtualHosts() {
            return crawlingConfig.getVirtualHosts();
        }
    
        @Override
        public String getDocumentBoost() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                        });
                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                        });
                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

                return null;
            });
    
            final EditBody body = createEditBody(entity);
            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
            body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                    .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

            // setup condition
            cb.query().addOrderBy_Name_Asc();
            cb.query().addOrderBy_CreatedTime_Asc();
    
            // search
    
        }
    
        public OptionalEntity<Set<String>> getPermissions(final HttpServletRequest request) {
            final String token = ComponentUtil.getAccessTokenHelper().getAccessTokenFromRequest(request);
            if (StringUtil.isNotBlank(token)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        //                                                                            Accessor
        //                                                                            ========
        public String[] getPermissions() {
            return user.getPermissions();
        }
    
        public String[] getRoles() {
            return user.getRoleNames();
        }
    
        public String[] getGroups() {
            return user.getGroupNames();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top