- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for withCredentials (0.11 sec)
-
src/main/java/jcifs/context/AbstractCIFSContext.java
*/ @Override public CIFSContext withCredentials ( Credentials creds ) { return new CIFSContextCredentialWrapper(this, creds); } /** * * {@inheritDoc} * * @see jcifs.CIFSContext#withAnonymousCredentials() */ @Override public CIFSContext withAnonymousCredentials () { return withCredentials(new NtlmPasswordAuthenticator()); }
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/main/java/jcifs/CIFSContext.java
* multiple sub-contexts using different credentials (if necessary). * * {@link #withDefaultCredentials()}, {@link #withAnonymousCredentials()}, {@link #withCredentials(Credentials)} * allow to create such sub-contexts. * * * Implementors of this interface should extend {@link jcifs.context.BaseContext} or * {@link jcifs.context.CIFSContextWrapper} to get forward compatibility.
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/context/CIFSContextWrapper.java
@Override public boolean hasDefaultCredentials () { return this.delegate.hasDefaultCredentials(); } @Override public CIFSContext withCredentials ( Credentials creds ) { return wrap(this.delegate.withCredentials(creds)); } @Override public CIFSContext withDefaultCredentials () { return wrap(this.delegate.withDefaultCredentials()); }
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/test/java/jcifs/tests/BaseCIFSTest.java
String val = this.properties.get(prop); Assume.assumeNotNull(val); return val; } protected CIFSContext withTestNTLMCredentials ( CIFSContext ctx ) { return ctx.withCredentials(new NtlmPasswordAuthenticator(getTestUserDomain(), getTestUser(), getTestUserPassword())); } protected CIFSContext withTestGuestCredentials () { return getContext().withGuestCrendentials();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0)