Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for setGroups (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/service/GroupService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> {
                entity.setGroups(
                        stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get(NAME)));
                result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
                result.setGroups(toStringArray(source.get(GROUPS)));
                result.setRoles(toStringArray(source.get(ROLES)));
                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                permissions = null;
                return true;
            }
    
            public AuthenticationResult getAuthenticationResult() {
                return authResult;
            }
    
            public void setGroups(final String[] groups) {
                this.groups = groups;
            }
    
            public void setRoles(final String[] roles) {
                this.roles = roles;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

                result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber")));
                result.setGivenName(DfTypeUtil.toString(source.get("givenName")));
                result.setGroups(toStringArray(source.get("groups")));
                result.setHomeDirectory(DfTypeUtil.toString(source.get("homeDirectory")));
                result.setHomePhone(DfTypeUtil.toString(source.get("homePhone")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/bsentity/BsUser.java

        public void setGivenName(String value) {
            registerModifiedProperty("givenName");
            this.givenName = value;
        }
    
        public String[] getGroups() {
            checkSpecifiedProperty("groups");
            return groups;
        }
    
        public void setGroups(String[] value) {
            registerModifiedProperty("groups");
            this.groups = value;
        }
    
        public String getHomeDirectory() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/UserDbm.java

            setupEpg(_epgMap, et -> ((User) et).getGivenName(), (et, vl) -> ((User) et).setGivenName(DfTypeUtil.toString(vl)), "givenName");
            setupEpg(_epgMap, et -> ((User) et).getGroups(), (et, vl) -> ((User) et).setGroups((String[]) vl), "groups");
            setupEpg(_epgMap, et -> ((User) et).getHomeDirectory(), (et, vl) -> ((User) et).setHomeDirectory(DfTypeUtil.toString(vl)),
                    "homeDirectory");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            groupList.addAll(getDefaultGroupList());
            roleList.addAll(getDefaultRoleList());
            processMemberOf(user, groupList, roleList, "https://graph.microsoft.com/v1.0/me/memberOf");
            user.setGroups(groupList.stream().distinct().toArray(n -> new String[n]));
            user.setRoles(roleList.stream().distinct().toArray(n -> new String[n]));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                                    roleList.add(Base64.getUrlEncoder().encodeToString(name.getBytes(Constants.CHARSET_UTF_8)));
                                }
                            });
                            user.setGroups(groupList.toArray(new String[groupList.size()]));
                            user.setRoles(roleList.toArray(new String[roleList.size()]));
                        }
                    });
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  9. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), func Setegid(int) error
    pkg syscall (freebsd-386-cgo), func Seteuid(int) error
    pkg syscall (freebsd-386-cgo), func Setgid(int) error
    pkg syscall (freebsd-386-cgo), func Setgroups([]int) error
    pkg syscall (freebsd-386-cgo), func Setlogin(string) error
    pkg syscall (freebsd-386-cgo), func Setpgid(int, int) error
    pkg syscall (freebsd-386-cgo), func Setpriority(int, int, int) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/exentity/User.java

        public String[] getRoleNames() {
            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        private String decode(final String value) {
            return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top