- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for getUserId (0.7 sec)
-
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
// Implementation // ============== @Override public String getUserId() { return user.getName(); } // =================================================================================== // AccessorRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
public void test_getUserId() { // Test with normal user testUser.setName("testuser"); assertEquals("testuser", fessUserBean.getUserId()); // Test with another name testUser.setName("admin"); assertEquals("admin", fessUserBean.getUserId()); } public void test_getPermissions() { // Test with empty permissions testUser.setPermissions(new String[] {});Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
final Map<String, String> valueMap = new LinkedHashMap<>(); valueMap.put("action", Action.LOGIN.name()); valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-")); valueMap.put("permissions", user.map(u -> stream(u.getPermissions()).get(stream -> stream.collect(Collectors.joining(permissionSeparator))))
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java
form.clearSecurityInfo(); return asIndexHtml(); }; validatePasswordForm(form, toIndexPage); final String username = getUserBean().map(FessUserBean::getUserId).get(); try { userService.changePassword(username, form.newPassword); saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL)); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java
nameidSPNameQualifier = auth.getNameIdSPNameQualifier(); } @Override public String toString() { return "{" + getUserId() + "}"; } @Override public String getUserId() { return nameId; } /** * Gets the SAML user. * @return The SAML user. */ public SamlUser getUser() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/SpnegoCredential.java
this.username = username; } /** * Gets the user identifier from this credential. * * @return The username from SPNEGO authentication */ @Override public String getUserId() { return username; } /** * Returns a string representation of this credential. * * @return A string representation containing the username in braces */ @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
.orElseGet(() -> redirect(LoginAction.class)); }; validatePasswordForm(form, toIndexPage); final String username = getUserBean().map(FessUserBean::getUserId).get(); try { userService.changePassword(username, form.password); saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL)); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessCredential.java
* Provides access to user identification information. */ public interface FessCredential { /** * Gets the user ID for this credential. * @return The user ID. */ String getUserId();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 927 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
assertArrayEquals(new String[] { "group1", "group2" }, groups); OpenIdConnectCredential credential = new OpenIdConnectCredential(attributes); assertEquals("******@****.***", credential.getUserId()); assertArrayEquals(new String[] { "group1", "group2" }, credential.getUserGroups()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2K bytes - Viewed (0)