package org.apereo.cas.ticket; /** * Interface that enables for pluggable unique ticket Ids strategies. * * @author Scott Battaglia * @since 3.0.0 */ public interface UniqueTicketIdGenerator { /** * Return a new unique ticket id beginning with the prefix. * * @param prefix The prefix we want attached to the ticket. * @return the unique ticket id */ String getNewTicketId(String prefix); }