Class GSSKerberosCredential

    • Constructor Detail

      • GSSKerberosCredential

        public GSSKerberosCredential​(GSSCredential gssCredential)
        Construct a new instance.
        Parameters:
        gssCredential - the GSS credential (may not be null)
      • GSSKerberosCredential

        public GSSKerberosCredential​(GSSCredential gssCredential,
                                     KerberosTicket kerberosTicket)
        Construct a new instance.
        Parameters:
        gssCredential - the GSS credential (may not be null)
        kerberosTicket - the associated Kerberos ticket which may be null.
    • Method Detail

      • getGssCredential

        public GSSCredential getGssCredential()
        Get the GSS credential.
        Returns:
        the GSS credential (not null)
      • getKerberosTicket

        public KerberosTicket getKerberosTicket()
        Get the associated kerberos ticket.
        Returns:
        the associated kerberos ticker or null if one is not associated.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object