Package org.apereo.cas.ticket
Interface ServiceTicketFactory
-
- All Superinterfaces:
TicketFactory
public interface ServiceTicketFactory extends TicketFactory
TheServiceTicketFactoryis responsible for creating instances ofServiceTicket.- Since:
- 4.2
-
-
Field Summary
-
Fields inherited from interface org.apereo.cas.ticket.TicketFactory
BEAN_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Ticket>
Tcreate(TicketGrantingTicket ticketGrantingTicket, org.apereo.cas.authentication.principal.Service service, boolean credentialProvided, java.lang.Class<T> clazz)Create the ticket object.ExpirationPolicyBuilder<ServiceTicket>getTicketExpirationPolicy()Gets ticket expiration policy.-
Methods inherited from interface org.apereo.cas.ticket.TicketFactory
get, getName, getTicketType
-
-
-
-
Method Detail
-
getTicketExpirationPolicy
ExpirationPolicyBuilder<ServiceTicket> getTicketExpirationPolicy()
Gets ticket expiration policy.- Returns:
- the ticket expiration policy
-
create
<T extends Ticket> T create(TicketGrantingTicket ticketGrantingTicket, org.apereo.cas.authentication.principal.Service service, boolean credentialProvided, java.lang.Class<T> clazz)
Create the ticket object.- Type Parameters:
T- the type parameter- Parameters:
ticketGrantingTicket- the ticket granting ticketservice- the servicecredentialProvided- current credential if provided as part of primary authn, may be false.clazz- the clazz- Returns:
- the t
-
-