@SneakyThrows
    protected String generateToken(final Service service, final Map<String, String> parameters) {
        val ticketId = parameters.get(CasProtocolConstants.PARAMETER_TICKET);
        return this.tokenTicketBuilder.build(ticketId, service);
    }
@ SneakyThrows protected String generateToken ( final Service service , final Map < String , String > parameters ) { val ticketId = parameters . get ( CasProtocolConstants . PARAMETER_TICKET ) ; return this . tokenTicketBuilder . build ( ticketId , service ) ; }
Generate token string.

@param service    the service
@param parameters the parameters
@return the jwt