Interface Account

  • All Superinterfaces:
    java.io.Serializable

    public interface Account
    extends java.io.Serializable
    Representation of an account, most likely a user account.
    Author:
    Darran Lofthouse
    • Method Detail

      • getPrincipal

        java.security.Principal getPrincipal()
      • getRoles

        java.util.Set<java.lang.String> getRoles()
        Returns the users roles.
        Returns:
        A set of the users roles