Class CID

  • All Implemented Interfaces:
    Identifier, Comparable<Identifier>, net.minidev.json.JSONAware

    public final class CID
    extends BaseIdentifier
    Represents a secure immutable connection identifier (CID). Originally intended to be used as handler for LDAP connections.
    • Constructor Detail

      • CID

        public CID()
        Creates a new unique connection identifier (CID) based on a secure randomly generated 256-bit number, Base64URL-encoded.
      • CID

        public CID​(String value)
        Creates a new connection identifier (CID) from the specified string.
        Parameters:
        value - The connection identifier (CID) value.
    • Method Detail

      • equals

        public boolean equals​(Object object)
        Description copied from class: BaseIdentifier
        Overrides Object.equals().
        Specified by:
        equals in class BaseIdentifier
        Parameters:
        object - The object to compare to.
        Returns:
        true if the objects have the same value, otherwise false.