- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for setMechanisms (0.07 seconds)
-
src/main/java/jcifs/spnego/NegTokenInit.java
* @return the mechanisms array */ public ASN1ObjectIdentifier[] getMechanisms() { return this.mechanisms; } /** * Sets the array of supported authentication mechanisms * @param mechanisms the mechanisms to set */ public void setMechanisms(final ASN1ObjectIdentifier[] mechanisms) { this.mechanisms = mechanisms; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
NegTokenInit parsed = new NegTokenInit(encoded); if (mechanisms == null) { assertNull(parsed.getMechanisms()); } else { assertArrayEquals(mechanisms, parsed.getMechanisms()); } } static Stream<Arguments> provideMechanismCombinations() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
if (log.isDebugEnabled()) { log.debug("Have initial token " + tok); } if (tok.getMechanisms() != null) { Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms())); boolean foundKerberos = false; for (ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SpnegoContext.java
final SpnegoToken spToken = getToken(inputBuf, offset, len); byte[] inputToken = null; if (spToken instanceof final NegTokenInit tinit) { final ASN1ObjectIdentifier[] rm = tinit.getMechanisms(); this.remoteMechs = rm; final ASN1ObjectIdentifier prefMech = rm[0]; // only use token if the optimistic mechanism is supported
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0)