- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for mechanism (0.14 sec)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
@DisplayName("Various mechanism combinations round-trip correctly") void testMechanismCombinations(ASN1ObjectIdentifier[] mechanisms) throws Exception { NegTokenInit init = new NegTokenInit(mechanisms, 0, null, null); byte[] encoded = init.toByteArray(); NegTokenInit parsed = new NegTokenInit(encoded); if (mechanisms == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
// prevent nesting return false; } /** * Determines what mechanism is being used for this context. * * @return the Oid of the mechanism being used */ ASN1ObjectIdentifier[] getMechs() { return this.mechs; } /** * @return the mechanisms announced by the remote end */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
* Gets the array of supported authentication mechanisms * @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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
return NTLMSSP_OID.equals(mechanism); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier) */ @Override public boolean isPreferredMech(final ASN1ObjectIdentifier mechanism) { return this.auth.isPreferredMech(mechanism); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
this.established = false; } @Override public boolean isSupported(ASN1ObjectIdentifier mechanism) { if (mechanism == null) { return false; } for (ASN1ObjectIdentifier m : this.supportedMechs) { if (mechanism.equals(m)) { return true; } } return false; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
public boolean isSupported(ASN1ObjectIdentifier mechanism) { return KRB5_MECH_OID.equals(mechanism) || KRB5_MS_MECH_OID.equals(mechanism); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier) */ @Override public boolean isPreferredMech(ASN1ObjectIdentifier mechanism) { return isSupported(mechanism); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
docs/SMB3_IMPLEMENTATION_PLAN.md
3. **Persistent Handle State**: Requires reliable state persistence mechanism 4. **Backward Compatibility**: Must maintain compatibility with SMB2/SMB1 ### Mitigation Strategies 1. Implement features behind configuration flags 2. Provide graceful fallback mechanisms 3. Extensive testing with various server configurations 4. Phased rollout with beta testing
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
void createContext_noKerberosNoFallback_throws() throws CIFSException { Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // Build a token with an arbitrary non-kerberos mechanism OID ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5"); byte[] init = spnegoInitWithMechs(unsupported); // Host is a FQDN to pass the short-name check
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
} /** * Check if the given mechanism is preferred for this credential * * @param mechanism the mechanism to check * @return whether the given mechanism is the preferred one for this credential */ public boolean isPreferredMech(ASN1ObjectIdentifier mechanism) { return NtlmContext.NTLMSSP_OID.equals(mechanism); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
*/ @Override public boolean isPreferredMech(ASN1ObjectIdentifier mechanism) { if (isAnonymous()) { return super.isPreferredMech(mechanism); } return PREFERRED_MECHS.contains(mechanism); } /** * {@inheritDoc} * * @see java.lang.Object#toString() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0)