Class TransientSessionTicketProperties
java.lang.Object
org.apereo.cas.configuration.model.core.ticket.TransientSessionTicketProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-tickets",
automated=true)
public class TransientSessionTicketProperties
extends Object
implements Serializable
This is
TransientSessionTicketProperties
.- Since:
- 5.3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Controls number of times a ticket can be used within CAS server.long
Number of seconds after which this ticket becomes invalid.setNumberOfUses
(long numberOfUses) Controls number of times a ticket can be used within CAS server.setTimeToKillInSeconds
(long timeToKillInSeconds) Number of seconds after which this ticket becomes invalid.
-
Constructor Details
-
TransientSessionTicketProperties
public TransientSessionTicketProperties()
-
-
Method Details
-
getNumberOfUses
public long getNumberOfUses()Controls number of times a ticket can be used within CAS server. -
getTimeToKillInSeconds
public long getTimeToKillInSeconds()Number of seconds after which this ticket becomes invalid. -
setNumberOfUses
Controls number of times a ticket can be used within CAS server.- Returns:
this
.
-
setTimeToKillInSeconds
Number of seconds after which this ticket becomes invalid.- Returns:
this
.
-