- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for hasDefaultCredentials (0.28 sec)
-
src/main/java/jcifs/context/CIFSContextWrapper.java
} @Override public SidResolver getSIDResolver () { return this.delegate.getSIDResolver(); } @Override public boolean hasDefaultCredentials () { return this.delegate.hasDefaultCredentials(); } @Override public CIFSContext withCredentials ( Credentials creds ) { return wrap(this.delegate.withCredentials(creds)); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
public Credentials getCredentials () { return getDefaultCredentials(); } /** * {@inheritDoc} * * @see jcifs.CIFSContext#hasDefaultCredentials() */ @Override public boolean hasDefaultCredentials () { return this.getDefaultCredentials() != null && !this.getDefaultCredentials().isAnonymous(); } /** * @return */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 3.7K bytes - Viewed (0) -
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 () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
/** * @return an URL handler using this context */ URLStreamHandler getUrlHandler (); /** * @return whether default credentials are available */ boolean hasDefaultCredentials (); /** * @return a child context using the configured default credentials */ CIFSContext withDefaultCredentials (); /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
try ( SmbTransportInternal trans = tf.getTransportPool() .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportInternal.class) ) { if ( !tf.hasDefaultCredentials() ) { trans.ensureConnected(); log.warn(
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.8K bytes - Viewed (0)