Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getUserSid (0.12 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Thu Sep 04 12:52:25 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/base/login/OpenIdConnectCredential.java

            this.attributes = attributes;
        }
    
        @Override
        public String toString() {
            return "{" + getUserId() + "}";
        }
    
        @Override
        public String getUserId() {
            return DocumentUtil.getValue(attributes, "email", String.class);
        }
    
        /**
         * Gets the user groups.
         *
         * @return the user 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top