|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TicketValidator
Contract for a validator that will confirm the validity of a supplied ticket.
Validator makes no statement about how to validate the ticket or the format of the ticket (other than that it must be a String).
| Method Summary | |
|---|---|
Assertion |
validate(java.lang.String ticket,
java.lang.String service)
Attempts to validate a ticket for the provided service. |
| Method Detail |
|---|
Assertion validate(java.lang.String ticket,
java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||