protected void addTicketToRegistry ( final Ticket ticket , final TicketGrantingTicket ticketGrantingTicket ) { LOGGER . debug ( "Adding ticket [{}] to registry" , ticket ) ; this . ticketRegistry . addTicket ( ticket ) ; if ( ticketGrantingTicket != null ) { LOGGER . debug ( "Updating parent ticket-granting ticket [{}]" , ticketGrantingTicket ) ; this . ticketRegistry . updateTicket ( ticketGrantingTicket ) ; } }
Add ticket to registry .