Package org.apereo.cas.ticket
Interface UniqueTicketIdGenerator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface UniqueTicketIdGeneratorInterface that enables for pluggable unique ticket Ids strategies.- Since:
- 3.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static charSEPARATORSeparator character that separates prefix from the rest of the ticket id.static intTICKET_SIZEDefault ticket size 24 bytes raw, 32 bytes once encoded to base64.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetNewTicketId(java.lang.String prefix)Return a new unique ticket id beginning with the prefix.
-
-
-
Field Detail
-
SEPARATOR
static final char SEPARATOR
Separator character that separates prefix from the rest of the ticket id.- See Also:
- Constant Field Values
-
TICKET_SIZE
static final int TICKET_SIZE
Default ticket size 24 bytes raw, 32 bytes once encoded to base64.- See Also:
- Constant Field Values
-
-