Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SmbAuthentication (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.smb;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbAuthentication {
        private String server;
    
        private int port;
    
        private String username;
    
        private String password;
    
        private String domain;
    
        public String getPathPrefix() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

     */
    package org.codelibs.fess.crawler.client.smb1;
    
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbAuthentication {
        private String server;
    
        private int port;
    
        private String username;
    
        private String password;
    
        private String domain;
    
        public String getPathPrefix() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java

            final SmbAuthentication hogeAuth = new SmbAuthentication();
            hogeAuth.setServer("hoge");
            smbAuthenticationHolder.add(hogeAuth);
            final SmbAuthentication fugaAuth = new SmbAuthentication();
            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

        public void test_getPathPrefix() {
            SmbAuthentication smbAuthentication;
    
            smbAuthentication = new SmbAuthentication();
            assertEquals("smb1://", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            assertEquals("smb1://hoge/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

            // auth params
            final List<FileAuthentication> fileAuthList = fileAuthenticationService.getFileAuthenticationList(getId());
            final List<SmbAuthentication> smbAuthList = new ArrayList<>();
            final List<org.codelibs.fess.crawler.client.smb1.SmbAuthentication> smb1AuthList = new ArrayList<>();
            final List<FtpAuthentication> ftpAuthList = new ArrayList<>();
            for (final FileAuthentication fileAuth : fileAuthList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

        public void test_getPathPrefix() {
            SmbAuthentication smbAuthentication;
    
            smbAuthentication = new SmbAuthentication();
            assertEquals("smb://", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            assertEquals("smb://hoge/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

            final SmbAuthentication hogeAuth = new SmbAuthentication();
            hogeAuth.setServer("hoge");
            smbAuthenticationHolder.add(hogeAuth);
            final SmbAuthentication fugaAuth = new SmbAuthentication();
            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolder.java

        private final Map<String, SmbAuthentication> authMap = new HashMap<>();
    
        public void add(final SmbAuthentication auth) {
            authMap.put(auth.getPathPrefix(), auth);
        }
    
        public SmbAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final Map.Entry<String, SmbAuthentication> entry : authMap.entrySet()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            final SmbAuthentication[] smbAuthentications =
                    getInitParameter(SMB_AUTHENTICATIONS_PROPERTY, new SmbAuthentication[0], SmbAuthentication[].class);
            if (smbAuthentications != null) {
                for (final SmbAuthentication smbAuthentication : smbAuthentications) {
                    holder.add(smbAuthentication);
                }
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            final SmbAuthentication[] smbAuthentications =
                    getInitParameter(SMB_AUTHENTICATIONS_PROPERTY, new SmbAuthentication[0], SmbAuthentication[].class);
            if (smbAuthentications != null) {
                for (final SmbAuthentication smbAuthentication : smbAuthentications) {
                    holder.add(smbAuthentication);
                }
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top