InitializeSupportpublic class JwtProcessor extends InitializeObject
mutex| Constructor | Description |
|---|---|
JwtProcessor() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
convertToNumericDates(Map<String,Object> map) |
|
JwtProcessor |
copy() |
|
JwtObject |
decode(String jwt) |
|
void |
destroy() |
|
String |
encode(JwtObject jwt) |
|
protected void |
init() |
|
JwtProcessor |
setDigester(Digester digester) |
|
JwtProcessor |
setJsonProcessor(JsonProcessor jsonProcessor) |
|
JwtProcessor |
setLeeway(int leeway,
TimeUnit unit) |
|
JwtProcessor |
setNumericDateProps(String... numericDateProps) |
|
protected void |
verifyDecode(JwtObject jwt) |
|
protected void |
verifyEncode(JwtObject jwt) |
assertNotInitialized, initializeprotected void init()
throws Exception
init in class InitializeObjectExceptionpublic void destroy()
throws DestroyException
destroy in interface InitializeSupportdestroy in class InitializeObjectDestroyExceptionprotected void verifyEncode(JwtObject jwt) throws JwtException
JwtExceptionprotected void verifyDecode(JwtObject jwt) throws JwtException
JwtExceptionpublic String encode(JwtObject jwt) throws CryptoException, JsonException, JwtException
CryptoExceptionJsonExceptionJwtExceptionpublic JwtObject decode(String jwt) throws CryptoException, JsonException, JwtException
CryptoExceptionJsonExceptionJwtExceptionpublic JwtProcessor setJsonProcessor(JsonProcessor jsonProcessor)
public JwtProcessor setDigester(Digester digester)
public JwtProcessor setLeeway(int leeway, TimeUnit unit)
public JwtProcessor setNumericDateProps(String... numericDateProps)
public JwtProcessor copy()
Copyright © 2018. All rights reserved.