Package org.stellar.anchor.filter
Class Sep10TokenFilter
- java.lang.Object
-
- org.stellar.anchor.filter.BaseTokenFilter
-
- org.stellar.anchor.filter.Sep10TokenFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class Sep10TokenFilter extends BaseTokenFilter
-
-
Field Summary
-
Fields inherited from class org.stellar.anchor.filter.BaseTokenFilter
APPLICATION_JSON_VALUE, JWT_TOKEN, OPTIONS
-
-
Constructor Summary
Constructors Constructor Description Sep10TokenFilter(Sep10Config sep10Config, JwtService jwtService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisEnabled()protected voidvalidate(JwtToken token)-
Methods inherited from class org.stellar.anchor.filter.BaseTokenFilter
destroy, doFilter, init
-
-
-
-
Constructor Detail
-
Sep10TokenFilter
public Sep10TokenFilter(Sep10Config sep10Config, JwtService jwtService)
-
-
Method Detail
-
isEnabled
protected boolean isEnabled()
- Specified by:
isEnabledin classBaseTokenFilter
-
validate
protected void validate(JwtToken token) throws SepValidationException
- Specified by:
validatein classBaseTokenFilter- Throws:
SepValidationException
-
-