Class SecurityTagPath

  • All Implemented Interfaces:
    java.io.Serializable

    public class SecurityTagPath
    extends java.lang.Object
    implements java.io.Serializable
    Combination of TagPath and SecurityContext. The equals and hashCode functions use the TagPath and SecurityContext hashCode instead of SecurityContext. This allows the class to work as a key without an actual SecurityContext, where we might only have the SecurityContext hashCode (e.g. values coming from remote subscriptions).
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityTagPath

        public SecurityTagPath​(TagPath path,
                               int securityHash)
    • Method Detail

      • getPath

        public TagPath getPath()
      • getSecurityContext

        @Nullable
        public SecurityContext getSecurityContext()
      • getSecurityHash

        public int getSecurityHash()
      • hashCode

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object