Interface AuthorizationsProvider
-
public interface AuthorizationsProvider
An interface to define passing authorizations.
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTH_PROVIDER_SYS_PROPERTY
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description static AuthorizationsProvider
apply(Map<String,?> params, List<String> authorizations)
Deprecated.void
configure(Map<String,?> params)
Configures this instance with parameters passed into the DataStoreFinderList<String>
getAuthorizations()
Gets the authorizations for the current context.
-
-
-
Field Detail
-
AUTH_PROVIDER_SYS_PROPERTY
static final String AUTH_PROVIDER_SYS_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAuthorizations
List<String> getAuthorizations()
Gets the authorizations for the current context. This may change over time (e.g. in a multi-user environment), so the result should not be cached.- Returns:
- authorizations
-
configure
void configure(Map<String,?> params)
Configures this instance with parameters passed into the DataStoreFinder- Parameters:
params
- parameters
-
apply
@Deprecated static AuthorizationsProvider apply(Map<String,?> params, List<String> authorizations)
Deprecated.Moved to `org.locationtech.geomesa.security.AuthUtils.getProvider` for Java 17 compatibility
-
-