throw new SecurityTokenException("Unknown container " + aToken.getContainer());
}
try {
aToken.setExpires();
return aToken.getContainer() + ':' + crypter.wrap(aToken.toMap());
} catch (BlobCrypterException e) {
throw new SecurityTokenException(e);
}
}