- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getUserGroups (0.06 sec)
-
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) -
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)