Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUserGroups (0.12 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

        }
    
        public String[] getUserGroups() {
            String[] userGroups = DocumentUtil.getValue(attributes, "groups", String[].class);
            if (userGroups == null) {
                userGroups = getDefaultGroupsAsArray();
            }
            return userGroups;
        }
    
        public OpenIdUser getUser() {
            return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            OpenIdConnectCredential credential = new OpenIdConnectCredential(attributes);
            assertEquals("******@****.***", credential.getUserId());
            assertArrayEquals(new String[] { "group1", "group2" }, credential.getUserGroups());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top