static RegisteredServiceServiceTicketExpirationPolicy undefined() {
        return new RegisteredServiceServiceTicketExpirationPolicy() {
            @Serial
            private static final long serialVersionUID = -6204076273553630977L;

            @Override
            public long getNumberOfUses() {
                return Long.MIN_VALUE;
            }

            @Override
            public String getTimeToLive() {
                return null;
            }
        };
    }
Undefined registered service service ticket expiration policy.

@return the registered service service ticket expiration policy
api/cas-server-core-api-services/src/main/java/org/apereo/cas/services/RegisteredServiceServiceTicketExpirationPolicy.java