org.acegisecurity.providers.cas
Interface TicketValidator

All Known Implementing Classes:
AbstractTicketValidator, CasProxyTicketValidator

public interface TicketValidator

Validates a CAS service ticket.

Implementations must accept CAS proxy tickets, in addition to CAS service tickets. If proxy tickets should be rejected, this is resolved by a CasProxyDecider implementation (not by the TicketValidator).

Implementations may request a proxy granting ticket if wish, although this behaviour is not mandatory.

Version:
$Id: TicketValidator.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex

Method Summary
 TicketResponse confirmTicketValid(String serviceTicket)
          Returns information about the ticket, if it is valid for this service.
 

Method Detail

confirmTicketValid

TicketResponse confirmTicketValid(String serviceTicket)
                                  throws AuthenticationException
Returns information about the ticket, if it is valid for this service.

Must throw an AuthenticationException if the ticket is not valid for this service.

Parameters:
serviceTicket - DOCUMENT ME!
Returns:
details of the CAS service ticket
Throws:
AuthenticationException - DOCUMENT ME!


Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.