Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getUserSid (0.05 sec)

  1. src/test/java/jcifs/pac/PacLogonInfoTest.java

            when(logonInfo.getLogonScript()).thenReturn("logon.bat");
            when(logonInfo.getUserAccountControl()).thenReturn(0x200);
            when(logonInfo.getUserFlags()).thenReturn(0);
            when(logonInfo.getUserSid()).thenReturn(userSid);
            when(logonInfo.getGroupSid()).thenReturn(new SID("S-1-5-21-1-2-3-513"));
            when(logonInfo.getGroupSids()).thenReturn(new SID[0]);
            when(logonInfo.getExtraSids()).thenReturn(new SID[0]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacLogonInfo.java

         */
        public String getDomainName() {
            return this.domainName;
        }
    
        /**
         * Returns the user's Security Identifier (SID).
         * @return the user SID
         */
        public SID getUserSid() {
            return this.userSid;
        }
    
        /**
         * Returns the user's primary group SID.
         * @return the primary group SID
         */
        public SID getGroupSid() {
            return this.groupSid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        //                                                                      Implementation
        //                                                                      ==============
        @Override
        public String getUserId() {
            return user.getName();
        }
    
        // ===================================================================================
        //                                                                            Accessor
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            if (!getUserBean().isPresent()) {
                logger.warn("User session not found during password change");
                return redirect(LoginAction.class);
            }
            final String username = getUserBean().get().getUserId();
            try {
                userService.changePassword(username, form.newPassword);
                saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL));
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                logger.warn("User session not found during password change - potential session timeout or security issue");
                return redirect(LoginAction.class);
            }
            final String username = getUserBean().get().getUserId();
            try {
                userService.changePassword(username, form.password);
                saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL));
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

         */
        public EntraIdCredential(final IAuthenticationResult authResult) {
            this.authResult = authResult;
        }
    
        @Override
        public String getUserId() {
            return authResult.account().username();
        }
    
        @Override
        public String toString() {
            return "{" + authResult.account().username() + "}";
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                return null;
            });
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) {
                    throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
                }
            });
            try {
                userService.delete(entity);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

         */
        @Override
        public void resolveCredential(final LoginCredentialResolver resolver) {
            resolver.resolve(SpnegoCredential.class, credential -> {
                final String username = credential.getUserId();
                if (!ComponentUtil.getFessConfig().isAdminUser(username)) {
                    return ComponentUtil.getLdapManager().login(username);
                }
                return OptionalEntity.empty();
            });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  9. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            validate(form, messages -> {}, this::asDetailsHtml);
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && form.name.equals(u.getUserId())) {
                    throwValidationError(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL), this::asDetailsHtml);
                }
            });
            verifyToken(this::asDetailsHtml);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            searchLog.setQueryOffset(pageStart);
            searchLog.setQueryPageSize(pageSize);
            ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).ifPresent(user -> {
                searchLog.setUser(user.getUserId());
            });
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top