default String generate(final Principal principal) {
        return generate(principal, StringUtils.EMPTY);
    }
Generate string.

@param principal the principal
@return the string
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/principal/PersistentIdGenerator.java