Package net.webpdf.wsclient.openapi
Class ServerConfigLocalAuth
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigLocalAuth
-
public class ServerConfigLocalAuth extends Object
Defines the local authorization provider that authenticates users and provides authorization tokens for API access.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_RESTstatic StringJSON_PROPERTY_SOAP
-
Constructor Summary
Constructors Constructor Description ServerConfigLocalAuth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerConfigLocalAuthenabled(Boolean enabled)booleanequals(Object o)@Nullable BooleangetEnabled()If enabled, the local authorization provider is available to authenticate the user login and provide tokens for accessing the server API.@NotNull ServerConfigLocalAuthRestgetRest()Get rest@NotNull ServerConfigLocalAuthSoapgetSoap()Get soapinthashCode()ServerConfigLocalAuthrest(ServerConfigLocalAuthRest rest)voidsetEnabled(Boolean enabled)voidsetRest(ServerConfigLocalAuthRest rest)voidsetSoap(ServerConfigLocalAuthSoap soap)ServerConfigLocalAuthsoap(ServerConfigLocalAuthSoap soap)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REST
public static final String JSON_PROPERTY_REST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOAP
public static final String JSON_PROPERTY_SOAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
enabled
public ServerConfigLocalAuth enabled(Boolean enabled)
-
getEnabled
@Nullable public @Nullable Boolean getEnabled()
If enabled, the local authorization provider is available to authenticate the user login and provide tokens for accessing the server API. If disabled, only external (e.g., OAuth) access tokens are allowed for API calls.- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
rest
public ServerConfigLocalAuth rest(ServerConfigLocalAuthRest rest)
-
getRest
@NotNull public @NotNull ServerConfigLocalAuthRest getRest()
Get rest- Returns:
- rest
-
setRest
public void setRest(ServerConfigLocalAuthRest rest)
-
soap
public ServerConfigLocalAuth soap(ServerConfigLocalAuthSoap soap)
-
getSoap
@NotNull public @NotNull ServerConfigLocalAuthSoap getSoap()
Get soap- Returns:
- soap
-
setSoap
public void setSoap(ServerConfigLocalAuthSoap soap)
-
-