public void setPrincipal(final AttributePrincipal attributePrincipal) {
        this.attributePrincipal = attributePrincipal;
    }
Store the CAS principal.

@param attributePrincipal the principal with attributes
pac4j-cas/src/main/java/org/pac4j/cas/profile/CasProxyProfile.java