@Component public class DefaultInternalFilter extends IdAuthFilter
partnerServicepublicKeyenv, keyManager, mapper| Constructor and Description |
|---|
DefaultInternalFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAllowedAuthTypeBasedOnPolicy(Map<String,Object> requestBody,
List<AuthPolicy> authPolicies)
Check allowed auth type for bio based on the policies.
|
protected void |
checkMandatoryAuthTypeBasedOnPolicy(Map<String,Object> requestBody,
List<AuthPolicy> mandatoryAuthPolicies)
Check mandatory auth type based on policy.
|
protected String |
fetchId(ResettableStreamHttpServletRequest requestWrapper,
String attribute)
fetchId used to fetch and determine the id of request
|
protected Map<String,Object> |
removeNullOrEmptyFieldsInResponse(Map<String,Object> responseMap)
This method is used to construct the response for OTP by removing the null
values
|
checkAllowedAuthTypeBasedOnPolicy, decipherRequest, extractBioData, fetchReferenceId, getAuthPart, getBioRefId, init, isAllowedAuthType, isAllowedAuthType, validateDecipheredRequest, validateRequestSignatureauthenticateRequest, consumeRequest, decipherAndValidateRequest, decode, encipherResponse, getPayloadFromJwsSingature, transformResponse, validateRequestHMAC, verifyJwsData, verifySignaturedestroy, doFilter, getRequestBody, isDate, mapResponse, setResponseParams, validateId, validateRequestprotected void checkAllowedAuthTypeBasedOnPolicy(Map<String,Object> requestBody, List<AuthPolicy> authPolicies) throws IdAuthenticationAppException
IdAuthFiltercheckAllowedAuthTypeBasedOnPolicy in class IdAuthFilterrequestBody - the request bodyauthPolicies - the auth policiesIdAuthenticationAppException - the id authentication app exceptionprotected Map<String,Object> removeNullOrEmptyFieldsInResponse(Map<String,Object> responseMap)
removeNullOrEmptyFieldsInResponse in class BaseIDAFilterresponseMap - the response mapprotected void checkMandatoryAuthTypeBasedOnPolicy(Map<String,Object> requestBody, List<AuthPolicy> mandatoryAuthPolicies) throws IdAuthenticationAppException
IdAuthFiltercheckMandatoryAuthTypeBasedOnPolicy in class IdAuthFilterrequestBody - the request bodymandatoryAuthPolicies - the mandatory auth policiesIdAuthenticationAppException - the id authentication app exceptionprotected String fetchId(ResettableStreamHttpServletRequest requestWrapper, String attribute)
BaseIDAFilterfetchId in class BaseIDAFilterrequestWrapper - the ResettableStreamHttpServletRequestCopyright © 2020. All rights reserved.