Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for getPermissions (0.14 sec)

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

    import java.io.Serializable;
    
    public interface FessUser extends Serializable {
    
        String getName();
    
        String[] getRoleNames();
    
        String[] getGroupNames();
    
        String[] getPermissions();
    
        default boolean isEditable() {
            return false;
        }
    
        default boolean refresh() {
            return false;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 978 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

        private static final Logger logger = LogManager.getLogger(FessApiAdminAction.class);
    
        @Override
        protected boolean isAccessAllowed() {
            try {
                return accessTokenService.getPermissions(request).map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions))
                        .orElse(false);
            } catch (final InvalidAccessTokenException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                    copyOp.exclude(Constants.PERMISSIONS);
                });
                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")));
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

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

                    copyOp.exclude(Constants.PERMISSIONS);
                });
                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")));
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/BsLabelType.java

        public void setName(String value) {
            registerModifiedProperty("name");
            this.name = value;
        }
    
        public String[] getPermissions() {
            checkSpecifiedProperty("permissions");
            return permissions;
        }
    
        public void setPermissions(String[] value) {
            registerModifiedProperty("permissions");
            this.permissions = value;
        }
    
        public Integer getSortOrder() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            final List<String> permissionList = new ArrayList<>();
            LdapUser user = new LdapUser(new Hashtable<>(), "test") {
                @Override
                public String[] getPermissions() {
                    return permissionList.toArray(n -> new String[n]);
                }
            };
    
            allowEmptyPermission.set(true);
            assertTrue(ldapManager.allowEmptyGroupAndRole(user));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

                return roles;
            }
    
            @Override
            public String[] getGroupNames() {
                return groups;
            }
    
            @Override
            public String[] getPermissions() {
                if (permissions == null) {
                    final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
                    final Set<String> permissionSet = new HashSet<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsDataConfig.java

        public void setName(String value) {
            registerModifiedProperty("name");
            this.name = value;
        }
    
        public String[] getPermissions() {
            checkSpecifiedProperty("permissions");
            return permissions;
        }
    
        public void setPermissions(String[] value) {
            registerModifiedProperty("permissions");
            this.permissions = value;
        }
    
        public Integer getSortOrder() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/BsAccessToken.java

            registerModifiedProperty("parameterName");
            this.parameterName = value;
        }
    
        public String[] getPermissions() {
            checkSpecifiedProperty("permissions");
            return permissions;
        }
    
        public void setPermissions(String[] value) {
            registerModifiedProperty("permissions");
            this.permissions = value;
        }
    
        public String getToken() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top