Package com.rale4j.sb.config
Class RateLimitProperties.Security
java.lang.Object
com.rale4j.sb.config.RateLimitProperties.Security
- Enclosing class:
RateLimitProperties
Configuration for security settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the API key security configuration.org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties.Jwt
getJwt()
Gets the JWT security configuration.Gets the OAuth2 security configuration.getRbac()
Gets the RBAC security configuration.void
setApiKey
(RateLimitProperties.ApiKey apiKey) Sets the API key security configuration.void
setJwt
(org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties.Jwt jwt) Sets the JWT security configuration.void
setOauth2
(RateLimitProperties.OAuth2 oauth2) Sets the OAuth2 security configuration.void
Sets the RBAC security configuration.
-
Constructor Details
-
Security
public Security()
-
-
Method Details
-
getJwt
public org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties.Jwt getJwt()Gets the JWT security configuration.- Returns:
- the JWT security configuration
-
setJwt
public void setJwt(org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties.Jwt jwt) Sets the JWT security configuration.- Parameters:
jwt
- the JWT security configuration
-
getOauth2
Gets the OAuth2 security configuration.- Returns:
- the OAuth2 security configuration
-
setOauth2
Sets the OAuth2 security configuration.- Parameters:
oauth2
- the OAuth2 security configuration
-
getApiKey
Gets the API key security configuration.- Returns:
- the API key security configuration
-
setApiKey
Sets the API key security configuration.- Parameters:
apiKey
- the API key security configuration
-
getRbac
Gets the RBAC security configuration.- Returns:
- the RBAC security configuration
-
setRbac
Sets the RBAC security configuration.- Parameters:
rbac
- the RBAC security configuration
-