Did someone already try to use 2 different instances of a ticketregistry
(one for service-tickets and one for ticket-granting tickets) in the
CentralAuthenticationServiceImpl.

We are using the JBossCacheTicketRegistry and we are planing to split the
two registries for a better monitoring. - I just gave it a try and I ended
up with a NPE in the
CentralAuthenticationServiceImpl.validateServiceTicket(..)-method line 246
- that's when accessing the grantingTicket on the service-ticket.
Since the serviceTicket here is of type
AbstractDistributedTicketRegistry.ServiceTicketDelegator the call to
getGrantingTicket() on the serviceTicket ends up querying the
ticketRegistry -> this.ticketRegistry.getTicket(old.getId(), Ticket.class);

But here, the ticketRegistry is the one containing only the serviceTickets
- so the TGT can not be found.

Did I miss s.th.?

Thanks.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to