Package com.gigaspaces.security.service
Class SecurityResolver
java.lang.Object
com.gigaspaces.security.service.SecurityResolver
Helper class for resolving if security is enabled.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanisSecurityEnabled(SpaceURL spaceURL)
-
Constructor Details
-
SecurityResolver
public SecurityResolver()
-
-
Method Details
-
isSecurityEnabled
public static boolean isSecurityEnabled()- Returns:
trueif security has been enabled via system property;falseotherwise.
-
isSecurityEnabled
- Parameters:
spaceURL- Space URL used to load the space.- Returns:
trueif security has been enabled via Space URL or system property;falseotherwise.
-