@Override
    public String getNewTicketId(final String prefix) throws Throwable {
        val args = new Object[]{prefix, LOGGER};
        return watchableScript.execute(args, String.class);
    }
This is {@link ProxyGrantingTicketIdGenerator}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/util/GroovyUniqueTicketIdGenerator.java