Checking if attachments are supported by the underlying container

This commit is contained in:
Pedro Igor 2017-05-12 10:23:37 -03:00
parent 0d9ffd4e64
commit aaddb035a8

View file

@ -76,7 +76,7 @@ public class ElytronSessionTokenStore implements ElytronTokeStore {
public boolean isCached(RequestAuthenticator authenticator) {
HttpScope session = this.httpFacade.getScope(Scope.SESSION);
if (session == null) {
if (session == null || !session.supportsAttachments()) {
log.debug("session was null, returning null");
return false;
}