Interface Principal

    • Method Detail

      • getPrincipalId

        java.lang.String getPrincipalId()
        Returns the principal identifier of a user or group. This uniquely identifies the principal within the system.
        Returns:
        The principal identifier of a user or group.
      • getPrincipalName

        java.lang.String getPrincipalName()
        Returns the principal name of a user or group. This may not uniquely identify the principal and should only be used for display purposes.
        Returns:
        The principal name of a user or group.
      • hashCode

        int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object