- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Authenticator (0.06 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
*/ public class NtlmPasswordAuthenticatorSecurityTest { private NtlmPasswordAuthenticator authenticator; @BeforeEach public void setUp() { authenticator = null; } @AfterEach public void tearDown() throws Exception { if (authenticator != null) { authenticator.close(); } } @Test @DisplayName("Test password stored as char array")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
private String url; private SmbAuthException sae; /** * Set the default <code>NtlmAuthenticator</code>. Once the default authenticator is set it cannot be changed. Calling * this metho again will have no effect. * * @param a the authenticator to set as default */ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * JAAS kerberos authenticator * * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't * get proper ticket caching. * * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
} /** * Test that closed authenticator prevents all sensitive operations */ @Test @DisplayName("Test closed authenticator blocks all sensitive operations") public void testClosedAuthenticatorBlocking() throws Exception { NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "user", "BlockedPass123!"); // Close the authenticator auth.close();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.spnego.NegTokenInit; /** * Base kerberos authenticator * * Uses a subject that contains kerberos credentials for use in GSSAPI context establishment. * * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
private void reset() { url = null; sae = null; } /** * Set the default <code>NtlmAuthenticator</code>. Once the default authenticator is set it cannot be changed. Calling this metho again will have no effect. * @param a the authenticator to set as default */ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
cloneInternal(cloned, this); return cloned; } /** * Clone internal fields from one authenticator to another. * * @param cloned the target authenticator to copy to * @param toClone the source authenticator to copy from */ protected static void cloneInternal(NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
String username = System.getenv("MVNW_USERNAME"); char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(username, password); }
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
auth.refresh(); Subject afterRefresh = auth.getSubject(); // After refresh, may succeed or fail depending on JAAS configuration // Just verify that refresh doesn't break the authenticator assertNotNull(auth, "Authenticator should remain usable after refresh"); } @Test @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import org.bouncycastle.util.encoders.Hex; /** * Authenticator directly specifing the user's NT hash * * @author mbechler * */ public class NtlmNtHashAuthenticator extends NtlmPasswordAuthenticator { private static final long serialVersionUID = 4328214169536360351L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 2.6K bytes - Viewed (0)