Class IntrospectionConfigurationProperties
java.lang.Object
io.micronaut.security.endpoints.introspection.IntrospectionConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,IntrospectionConfiguration
@ConfigurationProperties("micronaut.security.endpoints.introspection")
public class IntrospectionConfigurationProperties
extends Object
implements IntrospectionConfiguration
- Since:
- 2.1.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
getPath()
boolean
void
setEnabled
(boolean enabled) EnablesIntrospectionController
.void
Path to theIntrospectionController
.
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDThe default enable value.- See Also:
-
DEFAULT_PATH
The default path.- See Also:
-
-
Constructor Details
-
IntrospectionConfigurationProperties
public IntrospectionConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
- Returns:
- true if you want to enable the introspection endpoint
-
getPath
- Specified by:
getPath
in interfaceIntrospectionConfiguration
- Returns:
- path
-
setEnabled
public void setEnabled(boolean enabled) EnablesIntrospectionController
. Default value true- Parameters:
enabled
- True if it is enabled
-
setPath
Path to theIntrospectionController
. Default value "/token_info"- Parameters:
path
- The path
-