default Principal createPrincipal(final String id) throws Throwable {
        return createPrincipal(id, new HashMap<>());
    }
Create principal.

@param id the id
@return the principal
@throws Throwable the throwable
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/principal/PrincipalFactory.java