Package org.apereo.cas.services
Class BaseDateTimeRegisteredServiceSingleSignOnParticipationPolicy
- java.lang.Object
-
- org.apereo.cas.services.DefaultRegisteredServiceSingleSignOnParticipationPolicy
-
- org.apereo.cas.services.BaseDateTimeRegisteredServiceSingleSignOnParticipationPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,org.apereo.cas.services.RegisteredServiceSingleSignOnParticipationPolicy
,org.springframework.core.Ordered
- Direct Known Subclasses:
AuthenticationDateRegisteredServiceSingleSignOnParticipationPolicy
,LastUsedTimeRegisteredServiceSingleSignOnParticipationPolicy
public abstract class BaseDateTimeRegisteredServiceSingleSignOnParticipationPolicy extends DefaultRegisteredServiceSingleSignOnParticipationPolicy
- Since:
- 6.1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseDateTimeRegisteredServiceSingleSignOnParticipationPolicy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.time.ZonedDateTime
determineInitialDateTime(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.ticket.TicketState ticketState)
Determine initial date time zoned date time.boolean
shouldParticipateInSso(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.ticket.TicketState ticketState)
-
-
-
Method Detail
-
shouldParticipateInSso
public boolean shouldParticipateInSso(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.ticket.TicketState ticketState)
- Specified by:
shouldParticipateInSso
in interfaceorg.apereo.cas.services.RegisteredServiceSingleSignOnParticipationPolicy
- Overrides:
shouldParticipateInSso
in classDefaultRegisteredServiceSingleSignOnParticipationPolicy
-
determineInitialDateTime
protected abstract java.time.ZonedDateTime determineInitialDateTime(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.ticket.TicketState ticketState)
Determine initial date time zoned date time.- Parameters:
registeredService
- the registered serviceticketState
- the ticket state- Returns:
- the zoned date time
-
-