Class AadB2cProperties

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class AadB2cProperties
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    Configuration properties for Azure Active Directory B2C.
    • Field Detail

      • DEFAULT_LOGOUT_SUCCESS_URL

        public static final String DEFAULT_LOGOUT_SUCCESS_URL
        Default logout success URL.
        See Also:
        Constant Field Values
      • DEFAULT_KEY_SIGN_UP_OR_SIGN_IN

        public static final String DEFAULT_KEY_SIGN_UP_OR_SIGN_IN
        The default user flow key 'sign-up-or-sign-in'.
        See Also:
        Constant Field Values
      • DEFAULT_KEY_PASSWORD_RESET

        protected static final String DEFAULT_KEY_PASSWORD_RESET
        The default user flow key 'password-reset'.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AadB2cProperties

        public AadB2cProperties()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • getPasswordReset

        public String getPasswordReset()
        Gets the password reset.
        Returns:
        the password reset
      • getBaseUri

        public String getBaseUri()
        Gets the base URI.
        Returns:
        the base URI
      • setBaseUri

        public void setBaseUri​(String baseUri)
        Sets the base URI.
        Parameters:
        baseUri - the base URI
      • getUserFlows

        public Map<String,​String> getUserFlows()
        Gets the user flows.
        Returns:
        the user flows
      • setUserFlows

        public void setUserFlows​(Map<String,​String> userFlows)
        Sets the user flows.
        Parameters:
        userFlows - the user flows
      • getLoginFlow

        public String getLoginFlow()
        Gets the login flow.
        Returns:
        the login flow
      • setLoginFlow

        public void setLoginFlow​(String loginFlow)
        Sets the login flow.
        Parameters:
        loginFlow - the login flow
      • getLogoutSuccessUrl

        public String getLogoutSuccessUrl()
        Gets the logout success URL.
        Returns:
        the logout success URL
      • setLogoutSuccessUrl

        public void setLogoutSuccessUrl​(String logoutSuccessUrl)
        Sets the logout success URL.
        Parameters:
        logoutSuccessUrl - the logout success URL
      • getAuthenticateAdditionalParameters

        public Map<String,​Object> getAuthenticateAdditionalParameters()
        Gets the additional authenticate parameters.
        Returns:
        the additional authenticate parameters
      • getUserNameAttributeName

        public String getUserNameAttributeName()
        Gets the username attribute name.
        Returns:
        the username attribute name
      • setUserNameAttributeName

        public void setUserNameAttributeName​(String userNameAttributeName)
        Sets the username attribute name.
        Parameters:
        userNameAttributeName - the username attribute name
      • getReplyUrl

        public String getReplyUrl()
        Gets the reply URL.
        Returns:
        the reply URL
      • setReplyUrl

        public void setReplyUrl​(String replyUrl)
        Sets the reply URL.
        Parameters:
        replyUrl - the reply URL
      • getAppIdUri

        public String getAppIdUri()
        Gets the app ID URI.
        Returns:
        the app ID URI
      • setAppIdUri

        public void setAppIdUri​(String appIdUri)
        Sets the app ID URI.
        Parameters:
        appIdUri - the app ID URI.
      • getJwtConnectTimeout

        public Duration getJwtConnectTimeout()
        Gets the JWT connect timeout.
        Returns:
        the JWT connect timeout
      • setJwtConnectTimeout

        public void setJwtConnectTimeout​(Duration jwtConnectTimeout)
        Sets the JWT connect timeout.
        Parameters:
        jwtConnectTimeout - the JWT connect timeout
      • getJwtReadTimeout

        public Duration getJwtReadTimeout()
        Get the JWT read timeout.
        Returns:
        the JWT read timeout
      • setJwtReadTimeout

        public void setJwtReadTimeout​(Duration jwtReadTimeout)
        Sets the JWT read timeout.
        Parameters:
        jwtReadTimeout - the JWT read timeout
      • getJwtSizeLimit

        public int getJwtSizeLimit()
        Gets the JWT size limit.
        Returns:
        the JWT size limit
      • setJwtSizeLimit

        public void setJwtSizeLimit​(int jwtSizeLimit)
        Sets the JWT size limit.
        Parameters:
        jwtSizeLimit - the JWT size limit