Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GSSException (0.22 sec)

  1. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("calculateMIC wraps GSSException into CIFSException")
        void calculateMIC_failure_wraps() throws Exception {
            byte[] data = new byte[] { 0 };
            when(gssContext.getMIC(any(), anyInt(), anyInt(), any())).thenThrow(new GSSException(GSSException.FAILURE));
    
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(data));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

            try {
                return this.gssContext.initSecContext(token, off, len);
            } catch (GSSException e) {
                throw new SmbAuthException("GSSAPI mechanism failed", e);
            }
        }
    
        Key searchSessionKey(Subject subject) throws GSSException {
            MIEName src = new MIEName(this.gssContext.getSrcName().export());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb/Kerb5Authenticator.java

    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.ietf.jgss.GSSContext;
    import org.ietf.jgss.GSSCredential;
    import org.ietf.jgss.GSSException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.spnego.NegTokenInit;
    
    /**
     * Base kerberos authenticator
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top