Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getCredentials (0.21 sec)

  1. src/main/java/jcifs/context/CIFSContextWrapper.java

        }
    
    
        @Override
        public DfsResolver getDfs () {
            return this.delegate.getDfs();
        }
    
    
        @Override
        public Credentials getCredentials () {
            return this.delegate.getCredentials();
        }
    
    
        @Override
        public URLStreamHandler getUrlHandler () {
            if ( this.wrappedHandler == null ) {
                this.wrappedHandler = new Handler(this);
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ContextConfigTest.java

            assertNotNull(this.context.getUrlHandler());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        public void testCredentials () {
            assertFalse(this.context.hasDefaultCredentials());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testFixedCredentials () {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

    
        private Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> getTrustedDomains ( CIFSContext tf ) throws SmbAuthException {
            if ( tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null || tf.getCredentials().getUserDomain().isEmpty() ) {
                return null;
            }
    
            if ( this._domains != null && System.currentTimeMillis() > this._domains.expiration ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        private WebConfig webConfig;
    
        public Authentication getAuthentication() {
            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
            if (Constants.BASIC.equals(scheme)) {
                return new BasicScheme();
            }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

            super(delegate);
            this.creds = creds;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.context.CIFSContextWrapper#getCredentials()
         */
        @Override
        public Credentials getCredentials () {
            return this.creds;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#renewCredentials(java.lang.String, java.lang.Throwable)
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:32:29 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            if ( this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator ) {
                NtlmPasswordAuthenticator pwAuth = (NtlmPasswordAuthenticator) this.ctx.getCredentials();
                if ( isExternalAuth(pwAuth) ) {
                    this.passwordLength = 1;
                }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/context/AbstractCIFSContext.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getCredentials()
         */
        @Override
        public Credentials getCredentials () {
            return getDefaultCredentials();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#hasDefaultCredentials()
         */
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

         * @param tf
         * @param tdom
         * @param thost
         * @return
         */
        protected boolean matches ( CIFSContext tf, String thost, String tdom ) {
            return Objects.equals(this.getCredentials(), tf.getCredentials()) && Objects.equals(this.targetHost, thost)
                    && Objects.equals(this.targetDomain, tdom);
        }
    
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                    final AuthScheme authScheme = getAuthScheme(paramMap, webAuthName, scheme);
                    final AuthScope authScope = getAuthScope(webAuthName, scheme, paramMap);
                    final Credentials credentials = getCredentials(webAuthName, scheme, paramMap);
                    basicAuthList.add(new AuthenticationImpl(authScope, credentials, authScheme));
                }
                factoryParamMap.put(HcHttpClient.BASIC_AUTHENTICATIONS_PROPERTY,
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/CIFSContext.java

    
        /**
         * @return the SID resolver for this context
         */
        SidResolver getSIDResolver ();
    
    
        /**
         * 
         * @return the used credentials
         */
        Credentials getCredentials ();
    
    
        /**
         * @return an URL handler using this context
         */
        URLStreamHandler getUrlHandler ();
    
    
        /**
         * @return whether default credentials are available
         */
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.7K bytes
    - Viewed (0)
Back to top