Hi,

In all of the implementations I've coded SecurityTokens have all had an
expiration time.  I'd like to propose that we add this to the core
interface, something like this:

  long getExpiresAt();
  void setExpiresAt(long expirationTimestamp);
  boolean isExpired();

I'd also like to rename the following classes:

  SecurityTokenDecoder -> SecurityTokenCodec
  DefaultSecurityTokenDecoder -> DefaultSecurityTokenCodec
  BlobCrypterSecurityTokenDecoder -> BlobCrypterSecurityTokenCodec
  BasicSecurityTokenDecoder -> BasicSecurityTokenCodec

  BlobCrypterSecurityTokenDecoderTest -> BlobCrypterSecurityTokenCodecTest
  DefaultSecurityTokenDecoderTest -> DefaultSecurityTokenCodecTest

Comments welcome.

Thanks!

Reply via email to