java.lang.Object
io.automatiko.engine.api.config.SecurityConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConfigures admin role name used by access policy checksbooleanConfigures identity provider build mechanism to either allow to use user and groups given as query parameters or to rely only on security context (authorized requests) defaults to security context only
-
Constructor Details
-
SecurityConfig
public SecurityConfig()
-
-
Method Details
-
adminRoleName
Configures admin role name used by access policy checks- Returns:
- optional name of the admin role to be used, defaults to 'admin'
-
authorizedOnly
public boolean authorizedOnly()Configures identity provider build mechanism to either allow to use user and groups given as query parameters or to rely only on security context (authorized requests) defaults to security context only- Returns:
- identity provider build mechanism mode
-