Package org.vx68k.webapp.api
Class Config
- java.lang.Object
-
- org.vx68k.webapp.api.Config
-
@ApplicationScoped @Named("config") public final class Config extends Object
Configuration of this web application.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SIGNIN_CLIENT_ID_PROPERTY
Name of the system property for client identifier for Google Sign-In.
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSigninClientId()
Returns the client identifier for Google Sign-In.void
setSigninClientId(String value)
Sets the client identifier for Google Sign-In.
-
-
-
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
-
-
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 isnull
or"!"
, the value of system property "org.vx68k.webapp.api.signin.clientId" is used instead.- Parameters:
value
- the new client identifier
-
-