Class HvlAsyncTokenProperties
java.lang.Object
tr.com.havelsan.javarch.oauth.async.token.provider.configuration.properties.HvlAsyncTokenProperties
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component
@ConfigurationProperties("hvl.oauth.auth.async-token")
public class HvlAsyncTokenProperties
extends Object
implements org.springframework.beans.factory.InitializingBean
Properties of Async Token Header
-
Constructor Summary
ConstructorDescriptionHvlAsyncTokenProperties
(HvlAsyncTokenHeaderProperties asyncTokenHeaderProperties) Instantiates a new HvlAsyncTokenProperties. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Gets async token header properties.Gets available feign target.Gets available url.Gets password.Gets profile id.Gets username.boolean
Is enabled.void
setAvailableFeignTarget
(List<String> availableFeignTarget) Sets available feign target.void
setAvailableUrl
(List<String> availableUrl) Sets available url.void
setEnabled
(boolean enabled) Sets enabled.void
setPassword
(String password) Sets password.void
setProfileId
(Long profileId) Sets profile id.void
setUsername
(String username) Sets username.
-
Constructor Details
-
HvlAsyncTokenProperties
Instantiates a new HvlAsyncTokenProperties.- Parameters:
asyncTokenHeaderProperties
- the async token header properties
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
isEnabled
public boolean isEnabled()Is enabled.- Returns:
- the boolean
-
setEnabled
public void setEnabled(boolean enabled) Sets enabled.- Parameters:
enabled
- the enabled
-
getUsername
Gets username.- Returns:
- the username
-
setUsername
Sets username.- Parameters:
username
- the username
-
getPassword
Gets password.- Returns:
- the password
-
setPassword
Sets password.- Parameters:
password
- the password
-
getProfileId
Gets profile id.- Returns:
- the profile id
-
setProfileId
Sets profile id.- Parameters:
profileId
- the profile id
-
getAvailableUrl
Gets available url.- Returns:
- the available url
-
setAvailableUrl
Sets available url.- Parameters:
availableUrl
- the available url
-
getAvailableFeignTarget
Gets available feign target.- Returns:
- the available feign target
-
setAvailableFeignTarget
Sets available feign target.- Parameters:
availableFeignTarget
- the available feign target
-
getAsyncTokenHeaderProperties
Gets async token header properties.- Returns:
- the async token header properties
-