INNER CODE UNIT · Java
Pac4jPrincipal
bujiio/buji-pac4j · src/main/java/io/buji/pac4j/subject/Pac4jPrincipal.java:37
public class Pac4jPrincipal implements Principal, Serializable {
/**
* All the profiles of the authenticated user. They are updated when the profiles are renewed (after a refresh
* token exchange for example) without any new Shiro authentication.
*/
@Getter
@Setter
private List<UserProfile> profiles;
/**
* The principal name attribute.
*/
private final String principalNameAttribute;
/**
* Construct a Pac4jPrincipal. The principal name returned will be
* CommonProfile.getId().
*