Package io.jans.as.server.auth
Class DpopService
java.lang.Object
io.jans.as.server.auth.DpopService
- Author:
- Yuriy Z
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDpopJwkThumbprint(String dpopStr) getDPoPJwkThumbprint(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.registration.Client client, OAuth2AuditLog oAuth2AuditLog) booleanvalidateDpop(io.jans.as.model.jwt.Jwt dpop) booleanvalidateDpop(String dpop) voidvalidateDpopThumprint(String existingThumprint, String requestThumprint) voidvalidateDpopThumprintIsPresent(String dpopJkt, String state) voidvalidateDpopValuesCount(jakarta.servlet.http.HttpServletRequest servletRequest) voidvalidateDpopValuesCount(String[] values)
-
Field Details
-
NO_CACHE
- See Also:
-
PRAGMA
- See Also:
-
DPOP_NONCE
- See Also:
-
DPOP
- See Also:
-
-
Constructor Details
-
DpopService
public DpopService()
-
-
Method Details
-
validateDpopValuesCount
public void validateDpopValuesCount(jakarta.servlet.http.HttpServletRequest servletRequest) -
validateDpopValuesCount
-
validateDpop
-
validateDpop
public boolean validateDpop(io.jans.as.model.jwt.Jwt dpop) -
getDpopJwkThumbprint
public static String getDpopJwkThumbprint(String dpopStr) throws io.jans.as.model.exception.InvalidJwtException, NoSuchAlgorithmException, com.nimbusds.jose.jwk.JWKException, NoSuchProviderException - Throws:
io.jans.as.model.exception.InvalidJwtExceptionNoSuchAlgorithmExceptioncom.nimbusds.jose.jwk.JWKExceptionNoSuchProviderException
-
getDPoPJwkThumbprint
public String getDPoPJwkThumbprint(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.registration.Client client, OAuth2AuditLog oAuth2AuditLog) -
validateDpopThumprintIsPresent
-
validateDpopThumprint
-