activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ALi <osat...@gmail.com>
Subject Re: Errors on filter
Date Thu, 15 Dec 2016 09:01:03 GMT
has something changed in logging from 5.8 to 5.13?

On Mon, Dec 12, 2016 at 4:31 PM, ALi <osatien@gmail.com> wrote:

> this is the code .....as authorization plugin
>
>
>  private void validateIfCreationDateIsExpired(long now, long creationDate)
>   {
>     if (now > creationDate + this.minutesToExpire * 60000) {
>       String creationDateAsString = DATE_FORMAT.format(new
> Date(creationDate));
>
>       String nowAsString = DATE_FORMAT.format(new Date(now));
>       LOG.error("La fecha de creacion del token {} cumplio el tiempo de
> expiracion ({} minutos) sobre la fecha actual {}. Si esto sucede con mucha
> frecuencia se recomienda revisar fecha y hora del servidor", new Object[] {
> creationDateAsString, Integer.valueOf(this.minutesToExpire), nowAsString
> });
>
>       throw new SecurityException("La fecha " + creationDateAsString + "
> cumplio el tiempo de expiracion de " + this.minutesToExpire + " minutos
> sobre la fecha actual " + nowAsString);
>     }
>   }
>
>
> i dont know why as authorization code it is given much more exceptions
> ..... :(
>
> On Mon, Dec 12, 2016 at 2:02 PM, ALi <osatien@gmail.com> wrote:
>
>> We implemented a filter in activemq to validate messages from the date
>> sended, and we are having more issues in 5.13.2 than in  5.8, has the
>> filter implementation changed so much?
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message