Class Credential.Crypt

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Credential

    @Deprecated(since="2021-05-27")
    public static class Credential.Crypt
    extends Credential
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Unix Crypt Credentials
    See Also:
    Serialized Form
    • Method Detail

      • check

        public boolean check​(java.lang.Object credentials)
        Deprecated.
        Description copied from class: Credential
        Check a credential
        Specified by:
        check in class Credential
        Parameters:
        credentials - The credential to check against. This may either be another Credential object, a Password object or a String which is interpreted by this credential.
        Returns:
        True if the credentials indicated that the shared secret is known to both this Credential and the passed credential.
      • equals

        public boolean equals​(java.lang.Object credential)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • crypt

        public static java.lang.String crypt​(java.lang.String user,
                                             java.lang.String pw)
        Deprecated.