Class CoyotePrincipal

All Implemented Interfaces:
Serializable, Principal

public class CoyotePrincipal extends Object implements Principal, Serializable
Generic implementation of that is used to represent principals authenticated at the protocol handler level.
Remy Maucherat
See Also:
  • Field Details

    • name

      protected final String name
      The username of the user represented by this Principal.
  • Constructor Details

    • CoyotePrincipal

      public CoyotePrincipal(String name)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Principal
    • toString

      public String toString()
      Return a String representation of this object, which exposes only information that should be public.
      Specified by:
      toString in interface Principal
      toString in class Object