public interface TicketValidator
Validator makes no statement about how to validate the ticket or the format of the ticket (other than that it must be a String).
| Modifier and Type | Method and Description |
|---|---|
Assertion |
validate(String ticket,
String service)
Attempts to validate a ticket for the provided service.
|
Assertion validate(String ticket, String service) throws TicketValidationException
ticket - the ticket to attempt to validate.service - the service this ticket is valid for.TicketValidationException - if the ticket cannot be validated.Copyright © 2006–2021 Jasig. All rights reserved.