public class InformationExchangeContextInterceptorAdvisor extends org.springframework.aop.support.DelegatingIntroductionInterceptor implements InformationExchangeContext
publishedInterfacesINFORMATION_EXCHANGE| Constructor and Description |
|---|
InformationExchangeContextInterceptorAdvisor(InformationExchangeJwtProperties jwtProperties,
org.springframework.context.ApplicationContext applicationContext) |
InformationExchangeContextInterceptorAdvisor(InformationExchangeJwtProperties jwtProperties,
org.springframework.context.ApplicationContext applicationContext,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
commit() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
protected io.jsonwebtoken.Claims |
convertToClaims(String subject,
io.jsonwebtoken.impl.JwtMap informationExchange,
InformationExchange info) |
protected io.jsonwebtoken.Claims |
convertToClaims(String subject,
io.jsonwebtoken.impl.JwtMap informationExchange,
io.jsonwebtoken.JwtBuilder builder) |
protected Object |
doProceed(org.aopalliance.intercept.MethodInvocation mi) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
<T> T |
get(String claimName,
Class<T> requiredType) |
protected Map<String,String> |
getApplicationIeJwtMap() |
String |
getApplicationJti(String subject) |
String |
getAudience() |
Date |
getExpiration() |
String |
getId() |
protected String |
getIeJwt() |
Date |
getIssuedAt() |
String |
getIssuer() |
protected io.jsonwebtoken.JwtBuilder |
getJwsBuilder(io.jsonwebtoken.SignatureAlgorithm sa,
String signature) |
protected io.jsonwebtoken.JwtBuilder |
getJwsBuilder(String algorithm,
String signature) |
protected io.jsonwebtoken.impl.JwtMap |
getJwtMap(Object claim) |
protected io.jsonwebtoken.JwtParser |
getJwtParser() |
Date |
getNotBefore() |
String |
getSubject() |
String |
getUrl() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
void |
refresh() |
Object |
remove(Object key) |
protected void |
setApplicationInformationExchange() |
io.jsonwebtoken.Claims |
setAudience(String aud) |
io.jsonwebtoken.Claims |
setExpiration(Date exp) |
io.jsonwebtoken.Claims |
setId(String jti) |
io.jsonwebtoken.Claims |
setIssuedAt(Date iat) |
io.jsonwebtoken.Claims |
setIssuer(String iss) |
io.jsonwebtoken.Claims |
setNotBefore(Date nbf) |
io.jsonwebtoken.Claims |
setSubject(String sub) |
int |
size() |
Collection<Object> |
values() |
protected void |
writeHeader(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
invokegetInterfaces, implementInterfacesOnObject, implementsInterface, isMethodOnIntroducedInterface, suppressInterfaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic InformationExchangeContextInterceptorAdvisor(InformationExchangeJwtProperties jwtProperties, org.springframework.context.ApplicationContext applicationContext, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public InformationExchangeContextInterceptorAdvisor(InformationExchangeJwtProperties jwtProperties, org.springframework.context.ApplicationContext applicationContext)
protected Object doProceed(org.aopalliance.intercept.MethodInvocation mi) throws Throwable
doProceed in class org.springframework.aop.support.DelegatingIntroductionInterceptorThrowablepublic void refresh()
refresh in interface InformationExchangeContextprotected String getIeJwt()
protected io.jsonwebtoken.JwtParser getJwtParser()
public void commit()
commit in interface InformationExchangeContextprotected void writeHeader(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
protected void setApplicationInformationExchange()
protected io.jsonwebtoken.JwtBuilder getJwsBuilder(String algorithm, String signature)
protected io.jsonwebtoken.JwtBuilder getJwsBuilder(io.jsonwebtoken.SignatureAlgorithm sa,
String signature)
protected io.jsonwebtoken.Claims convertToClaims(String subject, io.jsonwebtoken.impl.JwtMap informationExchange, InformationExchange info)
protected io.jsonwebtoken.Claims convertToClaims(String subject, io.jsonwebtoken.impl.JwtMap informationExchange, io.jsonwebtoken.JwtBuilder builder)
protected io.jsonwebtoken.impl.JwtMap getJwtMap(Object claim)
public String getApplicationJti(String subject)
getApplicationJti in interface InformationExchangeContextpublic String getUrl()
getUrl in interface InformationExchangeContextpublic String getIssuer()
getIssuer in interface io.jsonwebtoken.Claimspublic io.jsonwebtoken.Claims setIssuer(String iss)
setIssuer in interface io.jsonwebtoken.ClaimssetIssuer in interface io.jsonwebtoken.ClaimsMutator<io.jsonwebtoken.Claims>public String getSubject()
getSubject in interface io.jsonwebtoken.Claimspublic io.jsonwebtoken.Claims setSubject(String sub)
setSubject in interface io.jsonwebtoken.ClaimssetSubject in interface io.jsonwebtoken.ClaimsMutator<io.jsonwebtoken.Claims>public String getAudience()
getAudience in interface io.jsonwebtoken.Claimspublic io.jsonwebtoken.Claims setAudience(String aud)
setAudience in interface io.jsonwebtoken.ClaimssetAudience in interface io.jsonwebtoken.ClaimsMutator<io.jsonwebtoken.Claims>public Date getExpiration()
getExpiration in interface io.jsonwebtoken.Claimspublic io.jsonwebtoken.Claims setExpiration(Date exp)
setExpiration in interface io.jsonwebtoken.ClaimssetExpiration in interface io.jsonwebtoken.ClaimsMutator<io.jsonwebtoken.Claims>public Date getNotBefore()
getNotBefore in interface io.jsonwebtoken.Claimspublic io.jsonwebtoken.Claims setNotBefore(Date nbf)
setNotBefore in interface io.jsonwebtoken.ClaimssetNotBefore in interface io.jsonwebtoken.ClaimsMutator<io.jsonwebtoken.Claims>public Date getIssuedAt()
getIssuedAt in interface io.jsonwebtoken.Claimspublic io.jsonwebtoken.Claims setIssuedAt(Date iat)
setIssuedAt in interface io.jsonwebtoken.ClaimssetIssuedAt in interface io.jsonwebtoken.ClaimsMutator<io.jsonwebtoken.Claims>public String getId()
getId in interface io.jsonwebtoken.Claimspublic io.jsonwebtoken.Claims setId(String jti)
setId in interface io.jsonwebtoken.ClaimssetId in interface io.jsonwebtoken.ClaimsMutator<io.jsonwebtoken.Claims>public <T> T get(String claimName, Class<T> requiredType)
get in interface io.jsonwebtoken.Claimspublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>Copyright © 2012–2020 ARECAP. All rights reserved.