Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for GetGroups (0.06 sec)

  1. src/main/java/org/codelibs/fess/es/user/exentity/User.java

    1. public String[] getRoleNames() {
    2. return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
    3. }
    4.  
    5. @Override
    6. public String[] getGroupNames() {
    7. return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
    8. }
    9.  
    10. private String decode(final String value) {
    11. return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8);
    12. }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/GroupService.java

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

    1. public String[] getPermissions() {
    2. return user.getPermissions();
    3. }
    4.  
    5. public String[] getRoles() {
    6. return user.getRoleNames();
    7. }
    8.  
    9. public String[] getGroups() {
    10. return user.getGroupNames();
    11. }
    12.  
    13. public boolean isEditable() {
    14. return user.isEditable();
    15. }
    16.  
    17. public boolean hasRole(final String role) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/bsentity/BsUser.java

    1. public void setGivenName(String value) {
    2. registerModifiedProperty("givenName");
    3. this.givenName = value;
    4. }
    5.  
    6. public String[] getGroups() {
    7. checkSpecifiedProperty("groups");
    8. return groups;
    9. }
    10.  
    11. public void setGroups(String[] value) {
    12. registerModifiedProperty("groups");
    13. this.groups = value;
    14. }
    15.  
    16. 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)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

    1. if (StringUtil.isEmpty(key) || userBean
    2. .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
    3. || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
    4. .orElse(false)) {
    5. return p.getSecond();
    6. }
    7. return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. lib/wasm/wasm_exec.js

    1. };
    2. }
    3.  
    4. if (!globalThis.process) {
    5. globalThis.process = {
    6. getuid() { return -1; },
    7. getgid() { return -1; },
    8. geteuid() { return -1; },
    9. getegid() { return -1; },
    10. getgroups() { throw enosys(); },
    11. pid: -1,
    12. ppid: -1,
    13. umask() { throw enosys(); },
    14. cwd() { throw enosys(); },
    15. chdir() { throw enosys(); },
    16. }
    17. }
    18.  
    19. if (!globalThis.path) {
    20. globalThis.path = {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/UserDbm.java

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

    1. final RESULT result = entityType.newInstance();
    2. result.setName(DfTypeUtil.toString(source.get(NAME)));
    3. result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
    4. result.setGroups(toStringArray(source.get(GROUPS)));
    5. result.setRoles(toStringArray(source.get(ROLES)));
    6. 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)
  9. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

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

    1. result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber")));
    2. result.setGivenName(DfTypeUtil.toString(source.get("givenName")));
    3. result.setGroups(toStringArray(source.get("groups")));
    4. result.setHomeDirectory(DfTypeUtil.toString(source.get("homeDirectory")));
    5. 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)
Back to top