Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 731 for user (0.16 sec)

  1. src/main/java/org/codelibs/fess/es/user/exentity/User.java

     */
    package org.codelibs.fess.es.user.exentity;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Base64;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.es.user.bsentity.BsUser;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/fess/entity/FessUser.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.entity;
    
    import java.io.Serializable;
    
    public interface FessUser extends Serializable {
    
        String getName();
    
        String[] getRoleNames();
    
        String[] getGroupNames();
    
        String[] getPermissions();
    
        default boolean isEditable() {
            return false;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 978 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            assertEquals("action:LOGIN\tuser:-\tpermissions:-", localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[0]));
            assertEquals("action:LOGIN\tuser:testuser\tpermissions:-", localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[] { "111", "222" }));
            assertEquals("action:LOGIN\tuser:testuser\tpermissions:111|222", localLogMsg.get());
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
        public User load(final User user) {
            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
            return u;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            valueMap.put("path", path);
            valueMap.put("execute", execute);
            log(valueMap);
        }
    
        public void permissionChanged(final OptionalThing<FessUserBean> user) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", Action.UPDATE_PERMISSION.name());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_IE9() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_IE10() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            text = "\"file:///home/user/\"";
            assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"aaafile:///home/user/\"";
            assertEquals("\"aaahttp://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "aaa\"file:///home/user/\"bbb";
            assertEquals("aaa\"http://localhost/user/\"bbb", pathMappingHelper.replaceUrls(text));
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

        /**
         * Gets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

    public class UserAgentHelper {
        protected static final String USER_AGENT = "user-agent";
    
        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        public UserAgentType getUserAgentType() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                UserAgentType uaType = (UserAgentType) request.getAttribute(USER_AGENT_TYPE);
                if (uaType == null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top