Class BackchannelAuthenticationEndpointRequestParser
- java.lang.Object
-
- org.keycloak.protocol.oidc.grants.ciba.endpoints.request.BackchannelAuthenticationEndpointRequestParser
-
public abstract class BackchannelAuthenticationEndpointRequestParser extends Object
- Author:
- Takashi Norimatsu
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADDITIONAL_REQ_PARAMS_MAX_MUMBER
Max number of additional req params copied into client session note to prevent DoS attacksstatic int
ADDITIONAL_REQ_PARAMS_MAX_SIZE
Max size of additional req param value copied into client session note to prevent DoS attacks - params with longer value are ignoredstatic String
CIBA_SIGNED_AUTHENTICATION_REQUEST
static Set<String>
KNOWN_REQ_PARAMS
Set of known protocol POST params not to be stored into additionalReqParams}
-
Constructor Summary
Constructors Constructor Description BackchannelAuthenticationEndpointRequestParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
extractAdditionalReqParams(Map<String,String> additionalReqParams)
protected abstract Integer
getIntParameter(String paramName)
protected abstract String
getParameter(String paramName)
protected abstract Set<String>
keySet()
void
parseRequest(BackchannelAuthenticationEndpointRequest request)
protected <T> T
replaceIfNotNull(T previousVal, T newVal)
-
-
-
Field Detail
-
ADDITIONAL_REQ_PARAMS_MAX_MUMBER
public static final int ADDITIONAL_REQ_PARAMS_MAX_MUMBER
Max number of additional req params copied into client session note to prevent DoS attacks- See Also:
- Constant Field Values
-
ADDITIONAL_REQ_PARAMS_MAX_SIZE
public static final int ADDITIONAL_REQ_PARAMS_MAX_SIZE
Max size of additional req param value copied into client session note to prevent DoS attacks - params with longer value are ignored- See Also:
- Constant Field Values
-
CIBA_SIGNED_AUTHENTICATION_REQUEST
public static final String CIBA_SIGNED_AUTHENTICATION_REQUEST
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseRequest
public void parseRequest(BackchannelAuthenticationEndpointRequest request)
-
extractAdditionalReqParams
protected void extractAdditionalReqParams(Map<String,String> additionalReqParams)
-
replaceIfNotNull
protected <T> T replaceIfNotNull(T previousVal, T newVal)
-
-