I am using JWTTOkenStore
in spring-security-oauth.
The issue I am facing is I want to add support of revoking JWT token.
I know there are other options to handle this but I am looking for this option.
I found that we can use org.springframework.security.oauth2.provider.approval.JdbcApprovalStore
for the same. Is my understanding correct? I really searched on internet for some example, but I did not find any.
/**
* ApprovalStore to be used to validate and restrict refresh tokens.
*
* @param approvalStore the approvalStore to set
*/
public void setApprovalStore(ApprovalStore approvalStore) {
this.approvalStore = approvalStore;
}
Can someone please explain me briefly what is the use JdbcApprovalStore
with JWTTokenStore
?