Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for Kerberos (0.08 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

    package jcifs.pac.kerberos;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the KerberosConstants interface.
     */
    class KerberosConstantsTest {
    
        /**
         * This test primarily exists to ensure the constants interface can be loaded
         * and to provide a basic check of its values.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            AppConfigurationEntry e = entries[0];
            assertNotNull(e, "Entry should not be null");
            assertEquals(EXPECTED_LOGIN_MODULE, e.getLoginModuleName(), "Login module should be Kerberos");
            assertEquals(LoginModuleControlFlag.REQUIRED, e.getControlFlag(), "Control flag should be REQUIRED");
            assertNotNull(e.getOptions(), "Options map should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/AuthenticationProvider.java

     * scattered authentication implementations.
     */
    public interface AuthenticationProvider {
    
        /**
         * Authentication type enumeration
         */
        enum AuthType {
            NTLM, KERBEROS, SPNEGO, GUEST, ANONYMOUS
        }
    
        /**
         * Gets the authentication type
         *
         * @return the authentication type
         */
        AuthType getAuthType();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacConstants.java

         */
        int LOGON_EXTRA_SIDS = 0x20;
        /**
         * Flag for resource groups in logon information.
         */
        int LOGON_RESOURCE_GROUPS = 0x200;
    
        /**
         * Kerberos salt type for MD5 checksums.
         */
        int MD5_KRB_SALT = 17;
        /**
         * MD5 block length in bytes.
         */
        int MD5_BLOCK_LENGTH = 64;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PACDecodingException.java

     */
    package jcifs.pac;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when PAC (Privilege Attribute Certificate) data cannot be decoded.
     * Indicates malformed or invalid PAC structures in Kerberos tickets.
     */
    public class PACDecodingException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new PAC decoding exception with no detail message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SecurityBlob.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * This class represents the Secrity_Blob in SMB Block and is set to support
     * kerberos authentication.
     *
     * @author Shun
     *
     */
    class SecurityBlob {
    
        private byte[] b = {};
    
        SecurityBlob() {
        }
    
        SecurityBlob(final byte[] b) {
            set(b);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            }
        }
    
        /**
         * This constructor used to instance a SigningDigest object for
         * signing/verifying SMB using kerberos session key.
         * The MAC Key = concat(Session Key, Digest of Challenge);
         * Because of Kerberos Authentication don't have challenge,
         * The MAC Key = Session Key
         *
         * @param macSigningKey
         *            The MAC key used to sign or verify SMB.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/ASN1Util.java

    import org.bouncycastle.asn1.DLSequence;
    
    /**
     * Utility class for ASN.1 parsing and manipulation operations.
     *
     * This class provides helper methods for working with ASN.1
     * encoded data structures used in Kerberos PAC processing.
     */
    public final class ASN1Util {
    
        private ASN1Util() {
        }
    
        /**
         * Casts an object to the specified type with type checking
         * @param <T> the target type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/MIENameTest.java

            buf[i++] = (byte) (nameLen & 0xFF);
            // NAME
            System.arraycopy(nameBytes, 0, buf, i, nameLen);
            return buf;
        }
    
        // Provide a common OID for tests (Kerberos V5 mechanism OID encoded in DER)
        private static ASN1ObjectIdentifier testOid() {
            return new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
        }
    
        private static byte[] oidDer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

            void testAllMethodsHappyPath() throws Exception {
                // Arrange
                ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5
                ASN1ObjectIdentifier mech2 = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); // SPNEGO
                DummySSPContext ctx =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top