Checking if attachments are supported by the underlying container
This commit is contained in:
parent
0d9ffd4e64
commit
aaddb035a8
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public class ElytronSessionTokenStore implements ElytronTokeStore {
|
||||||
public boolean isCached(RequestAuthenticator authenticator) {
|
public boolean isCached(RequestAuthenticator authenticator) {
|
||||||
HttpScope session = this.httpFacade.getScope(Scope.SESSION);
|
HttpScope session = this.httpFacade.getScope(Scope.SESSION);
|
||||||
|
|
||||||
if (session == null) {
|
if (session == null || !session.supportsAttachments()) {
|
||||||
log.debug("session was null, returning null");
|
log.debug("session was null, returning null");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue