Class Pac4JPrincipal

  • All Implemented Interfaces:
    Principal

    public class Pac4JPrincipal
    extends Object
    implements Principal
    Default implementation for Principal based on a pac4j BasicUserProfile. It determines the name based on the profile's username, and fallbacks to id if it doesn't exist.
    Since:
    3.0.0
    Author:
    Victor Noel