Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for testuser (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            return OptionalThing.of(new FessUserBean(new TestUser(name, permissions)));
        }
    
        static class TestUser implements FessUser {
    
            private static final long serialVersionUID = 1L;
    
            private String name;
    
            private String[] permissions;
    
            TestUser(String name, String[] permissions) {
                this.name = name;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            server.start();
            return server;
        }
    
        public void test_doGet_root_dir() throws FtpException {
            FtpServer server = null;
            try {
                String username = "testuser";
                String password = "testpass";
                server = startFtpServer(FTP_PORT, username, password);
                Map<String, Object> params = new HashMap<String, Object>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

        public void test_matches() throws Exception {
            FtpAuthentication auth = new FtpAuthentication();
            auth.setServer("hostname");
            auth.setPort(21);
            auth.setUsername("testuser");
            auth.setPassword("testpass");
    
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname/test/aaa.html"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/FessUser.java

     * either express or implied. See the License for the specific language
     * 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;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 978 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            throw new UnsupportedOperationException("checkCredential is not supported.");
        }
    
        @Override
        protected OptionalEntity<FessUser> doFindLoginUser(final String username) {
            return userBhv.selectEntity(cb -> {
                cb.query().setName_Equal(username);
            }).map(user -> (FessUser) user);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

        }
    
        @Override
        public String toString() {
            return "{" + authResult.getUserInfo().getDisplayableId() + "}";
        }
    
        public AzureAdUser getUser() {
            return new AzureAdUser(authResult);
        }
    
        public static class AzureAdUser implements FessUser {
            private static final long serialVersionUID = 1L;
    
            protected String[] groups;
    
            protected String[] roles;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    import org.lastaflute.web.login.credential.LoginCredential;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.saml2.Auth;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    		c.Fatalf("should not be able to create a user")
    	}
    }
    
    func (c *check) mustCreateSvcAccount(ctx context.Context, tgtUser string, admClnt *madmin.AdminClient) madmin.Credentials {
    	c.Helper()
    	cr, err := admClnt.AddServiceAccount(ctx, madmin.AddServiceAccountReq{
    		TargetUser: tgtUser,
    	})
    	if err != nil {
    		c.Fatalf("user should be able to create service accounts %s", err)
    	}
    	return cr
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java

            registerModifiedProperty("searchWord");
            this.searchWord = value;
        }
    
        public String getUser() {
            checkSpecifiedProperty("user");
            return convertEmptyToNull(user);
        }
    
        public void setUser(String value) {
            registerModifiedProperty("user");
            this.user = value;
        }
    
        public String getUserAgent() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top