Package io.continual.iam.impl.common.jwt
Class SimpleJwtValidator
- java.lang.Object
-
- io.continual.iam.impl.common.jwt.SimpleJwtValidator
-
- All Implemented Interfaces:
JwtValidator
- Direct Known Subclasses:
JwtProducer
public class SimpleJwtValidator extends Object implements JwtValidator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleJwtValidator.Builderprotected static classSimpleJwtValidator.Hs256SigValidatorprotected static classSimpleJwtValidator.RsaValidatorprotected static interfaceSimpleJwtValidator.SigValidator
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimpleJwtValidator(SimpleJwtValidator.Builder b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SimpleJwtValidator.SigValidator>getValidators()booleanvalidate(JwtCredential jwt)
-
-
-
Constructor Detail
-
SimpleJwtValidator
protected SimpleJwtValidator(SimpleJwtValidator.Builder b) throws Builder.BuildFailure
- Throws:
Builder.BuildFailure
-
-
Method Detail
-
validate
public boolean validate(JwtCredential jwt) throws IamSvcException
- Specified by:
validatein interfaceJwtValidator- Throws:
IamSvcException
-
getValidators
public List<SimpleJwtValidator.SigValidator> getValidators()
-
-