Package waffle.jaas

Class RolePrincipal

    • Constructor Detail

      • RolePrincipal

        public RolePrincipal​(String newFqn)
        A windows principal.
        Parameters:
        newFqn - Fully qualified name.
    • Method Detail

      • getName

        public String getName()
        Role name (Windows Group).
        Specified by:
        getName in interface Principal
        Returns:
        the name
      • equals

        public boolean equals​(Object o)
        Role Principal Equals for FQN.
        Specified by:
        equals in interface Principal
        Overrides:
        equals in class Object
        Parameters:
        o - Object used for Equality Check.
        Returns:
        true, if successful
      • hashCode

        public int hashCode()
        Role Principal HashCode for FQN.
        Specified by:
        hashCode in interface Principal
        Overrides:
        hashCode in class Object
        Returns:
        the int