Class Config


  • @ApplicationScoped
    @Named("config")
    public final class Config
    extends Object
    Configuration of this web application.
    • Field Detail

      • SIGNIN_CLIENT_ID_PROPERTY

        public static final String SIGNIN_CLIENT_ID_PROPERTY
        Name of the system property for client identifier for Google Sign-In.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • getSigninClientId

        public String getSigninClientId()
        Returns the client identifier for Google Sign-In.
        Returns:
        the client identifier
      • setSigninClientId

        public void setSigninClientId​(String value)
        Sets the client identifier for Google Sign-In. If the new value is null or "!", the value of system property "org.vx68k.webapp.api.signin.clientId" is used instead.
        Parameters:
        value - the new client identifier