Package io.jans.as.server.register.ws.rs
Class SsaValidationConfigService
- java.lang.Object
-
- io.jans.as.server.register.ws.rs.SsaValidationConfigService
-
@Named public class SsaValidationConfigService extends Object
- Author:
- Yuriy Z
-
-
Constructor Summary
Constructors Constructor Description SsaValidationConfigService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.jans.as.model.ssa.SsaValidationConfig>
getByIssuer(io.jans.as.model.jwt.Jwt jwt, io.jans.as.model.ssa.SsaValidationType type)
List<io.jans.as.model.ssa.SsaValidationConfig>
getByIssuer(String issuer, io.jans.as.model.ssa.SsaValidationType type)
boolean
hasValidSignature(SsaValidationConfigContext context)
boolean
isHmacValid(SsaValidationConfigContext context)
org.json.JSONObject
prepareSsaJsonObject(io.jans.as.model.jwt.JwtClaims ssa, io.jans.as.model.ssa.SsaValidationConfig config)
org.json.JSONObject
validateSsaForBuiltIn(io.jans.as.model.jwt.Jwt ssa)
-
-
-
Method Detail
-
getByIssuer
public List<io.jans.as.model.ssa.SsaValidationConfig> getByIssuer(String issuer, io.jans.as.model.ssa.SsaValidationType type)
-
getByIssuer
public List<io.jans.as.model.ssa.SsaValidationConfig> getByIssuer(io.jans.as.model.jwt.Jwt jwt, io.jans.as.model.ssa.SsaValidationType type)
-
isHmacValid
public boolean isHmacValid(SsaValidationConfigContext context)
-
hasValidSignature
public boolean hasValidSignature(SsaValidationConfigContext context)
-
validateSsaForBuiltIn
public org.json.JSONObject validateSsaForBuiltIn(io.jans.as.model.jwt.Jwt ssa) throws io.jans.as.model.exception.InvalidJwtException
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
prepareSsaJsonObject
public org.json.JSONObject prepareSsaJsonObject(io.jans.as.model.jwt.JwtClaims ssa, io.jans.as.model.ssa.SsaValidationConfig config) throws io.jans.as.model.exception.InvalidJwtException
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
-