@ConfigurationProperties(value="micronaut.security") public class SecurityConfigurationProperties extends Object implements SecurityConfiguration
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ANYWHERE  | 
static boolean | 
DEFAULT_ENABLED
The default enable value. 
 | 
static String | 
PREFIX  | 
| Constructor and Description | 
|---|
SecurityConfigurationProperties()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<InterceptUrlMapPattern> | 
getInterceptUrlMap()
interceptUrlMap getter. 
 | 
List<String> | 
getIpPatterns()
ipPatterns getter. 
 | 
boolean | 
isEnabled()
enabled getter. 
 | 
void | 
setEnabled(boolean enabled)
If Security is enabled. 
 | 
void | 
setInterceptUrlMap(List<InterceptUrlMapPattern> interceptUrlMap)
Map that defines the interception patterns. 
 | 
void | 
setIpPatterns(List<String> ipPatterns)
Allowed IP patterns. 
 | 
public static final String PREFIX
public static final String ANYWHERE
public static final boolean DEFAULT_ENABLED
public boolean isEnabled()
isEnabled in interface Toggleablepublic List<InterceptUrlMapPattern> getInterceptUrlMap()
getInterceptUrlMap in interface SecurityConfigurationInterceptUrlMapPatternpublic List<String> getIpPatterns()
getIpPatterns in interface SecurityConfigurationpublic void setEnabled(boolean enabled)
enabled - True if security is enabledpublic void setInterceptUrlMap(List<InterceptUrlMapPattern> interceptUrlMap)
interceptUrlMap - The intercept urls maps