Class RegisterValidator


  • @Named
    public class RegisterValidator
    extends java.lang.Object
    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • RegisterValidator

        public RegisterValidator()
    • Method Detail

      • validateNotBlank

        public void validateNotBlank​(java.lang.String input,
                                     java.lang.String errorReason)
      • validateRequestObject

        public void validateRequestObject​(java.lang.String requestParams,
                                          org.json.JSONObject softwareStatement,
                                          jakarta.servlet.http.HttpServletRequest httpRequest)
      • validateSoftwareStatement

        public org.json.JSONObject validateSoftwareStatement​(jakarta.servlet.http.HttpServletRequest httpServletRequest,
                                                             org.json.JSONObject requestObject)
      • validateSubjectIdentifierAttribute

        public void validateSubjectIdentifierAttribute​(io.jans.as.client.RegisterRequest registerRequest)
      • validateAuthorizationAccessToken

        public void validateAuthorizationAccessToken​(java.lang.String accessToken,
                                                     java.lang.String clientId)
      • validateCiba

        public void validateCiba​(io.jans.as.client.RegisterRequest r)
      • validateRedirectUris

        public void validateRedirectUris​(io.jans.as.client.RegisterRequest r)
      • validateParamsClientRegister

        public void validateParamsClientRegister​(io.jans.as.client.RegisterRequest r)
      • validateInitiateLoginUri

        public void validateInitiateLoginUri​(io.jans.as.client.RegisterRequest r)
      • validateClaimsRedirectUris

        public void validateClaimsRedirectUris​(io.jans.as.client.RegisterRequest r)
      • validatePasswordGrantType

        public void validatePasswordGrantType​(io.jans.as.client.RegisterRequest r)
      • validateDcrAuthorizationWithClientCredentials

        public void validateDcrAuthorizationWithClientCredentials​(io.jans.as.client.RegisterRequest r)