Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getUser (0.68 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.user;
    
    import static org.codelibs.fess.app.web.admin.user.AdminUserAction.getUser;
    import static org.codelibs.fess.app.web.admin.user.AdminUserAction.validateAttributes;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            userService.getUser(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            }
            return userGroups;
        }
    
        /**
         * Gets the OpenID Connect user.
         *
         * @return the OpenID Connect user
         */
        public OpenIdUser getUser() {
            return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray());
        }
    
        /**
         * Gets the default groups as an array.
         *
         * @return the default groups
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/LocalUserCredential.java

         */
        public LocalUserCredential(final String user, final String password) {
            super(user, password);
        }
    
        @Override
        public String getUserId() {
            return getUser();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

        }
    
        @Override
        public String getUserId() {
            return nameId;
        }
    
        /**
         * Gets the SAML user.
         * @return The SAML user.
         */
        public SamlUser getUser() {
            return new SamlUser(nameId, sessionIndex, nameIdFormat, nameidNameQualifier, nameidSPNameQualifier, getDefaultGroupsAsArray(),
                    getDefaultRolesAsArray());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

            return "{" + authResult.account().username() + "}";
        }
    
        /**
         * Gets the Azure AD user associated with this credential.
         * @return The Azure AD user instance.
         */
        public AzureAdUser getUser() {
            return new AzureAdUser(authResult);
        }
    
        /**
         * Azure AD user implementation providing user information and permissions.
         */
        public static class AzureAdUser implements FessUser {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/UserService.java

         *
         * @param id the unique identifier of the user
         * @return an OptionalEntity containing the user if found
         */
        public OptionalEntity<User> getUser(final String id) {
            return userBhv.selectByPK(id).map(u -> ComponentUtil.getAuthenticationManager().load(u));
        }
    
        /**
         * Retrieves a user by their username.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            resolver.resolve(LocalUserCredential.class, credential -> {
                final LocalUserCredential userCredential = credential;
                final String username = userCredential.getUser();
                final String password = userCredential.getPassword();
                if (!fessConfig.isAdminUser(username)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        appendJson("user-info-id", entity.getUserInfoId(), buf).append(',');
                        appendJson("user-session-id", entity.getUserSessionId(), buf).append(',');
                        appendJson("user", entity.getUser(), buf).append(',');
                        appendJson("search-word", entity.getSearchWord(), buf).append(',');
                        appendJson("hit-count", entity.getHitCount(), buf).append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        }
    
        @Override
        public void resolveCredential(final LoginCredentialResolver resolver) {
            resolver.resolve(OpenIdConnectCredential.class, credential -> OptionalEntity.of(credential.getUser()));
        }
    
        @Override
        public ActionResponse getResponse(final SsoResponseType responseType) {
            return null;
        }
    
        @Override
        public String logout(final FessUserBean user) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top