Class JWTPrincipal

    • Constructor Detail

      • JWTPrincipal

        public JWTPrincipal​(String username,
                            String token,
                            Map<String,​Object> claims)
        User principal with user name as well as one or more roles that he/she belong to
        Parameters:
        username - string with user name for user
        token - compact string representation of JWT token
        claims - list of verified JWT claims as a map