@Override
    protected String convertBytesToString(final byte[] random) {
        return EncodingUtils.encodeUrlSafeBase64(random);
    }
This is {@link Base64RandomStringGenerator}.
<p>
URL safe base64 encoding implementation of the RandomStringGenerator that allows you to define the
length of the random part.

@author Timur Duehr
@since 5.2.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/gen/Base64RandomStringGenerator.java