@JsonIgnore
    default Object getSingleValuedAttribute(final String name) {
        return getSingleValuedAttribute(name, Object.class);
    }
Gets single valued attribute.

@param name the name
@return the single valued attribute
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/principal/Principal.java