Minor fixes and javadoc
This commit is contained in:
parent
4b87b8f7e3
commit
c6fc44bcc2
5 changed files with 3 additions and 13 deletions
|
@ -1,7 +1,5 @@
|
|||
package org.keycloak.adapters;
|
||||
|
||||
import org.keycloak.KeycloakSecurityContext;
|
||||
|
||||
/**
|
||||
* Abstraction for storing token info on adapter side. Intended to be per-request object
|
||||
*
|
||||
|
|
|
@ -4,7 +4,6 @@ import org.jboss.logging.Logger;
|
|||
import org.keycloak.KeycloakSecurityContext;
|
||||
import org.keycloak.RSATokenVerifier;
|
||||
import org.keycloak.VerificationException;
|
||||
import org.keycloak.enums.TokenStore;
|
||||
import org.keycloak.representations.AccessToken;
|
||||
import org.keycloak.representations.AccessTokenResponse;
|
||||
import org.keycloak.representations.IDToken;
|
||||
|
@ -118,11 +117,4 @@ public class RefreshableKeycloakSecurityContext extends KeycloakSecurityContext
|
|||
tokenStore.refreshCallback(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
protected void updateTokenCookie(KeycloakDeployment deployment, HttpFacade facade) {
|
||||
if (deployment.getTokenStore() == TokenStore.COOKIE) {
|
||||
CookieTokenStore.setTokenCookie(deployment, facade, this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.keycloak.adapters.RefreshableKeycloakSecurityContext;
|
|||
import org.keycloak.adapters.RequestAuthenticator;
|
||||
|
||||
/**
|
||||
* per-request object
|
||||
* Handle storage of token info in cookie. Per-request object.
|
||||
*
|
||||
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
|
||||
*/
|
||||
|
|
|
@ -14,7 +14,7 @@ import org.keycloak.adapters.RefreshableKeycloakSecurityContext;
|
|||
import org.keycloak.adapters.RequestAuthenticator;
|
||||
|
||||
/**
|
||||
* per-request object
|
||||
* Handle storage of token info in HTTP Session. Per-request object
|
||||
*
|
||||
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@ import org.keycloak.adapters.RefreshableKeycloakSecurityContext;
|
|||
import org.keycloak.adapters.RequestAuthenticator;
|
||||
|
||||
/**
|
||||
* Per-request object. Storage of tokens in servlet session.
|
||||
* Per-request object. Storage of tokens in servlet HTTP session.
|
||||
*
|
||||
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue