Package com.gigaspaces.start.security
Class SecurityServiceInfo
java.lang.Object
com.gigaspaces.start.security.SecurityServiceInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringSpring profile name for the auth server when running with a full OpenID provider.static final StringSpring profile name for the auth server when running with LDAP-based SpringSecurityManager.static final StringSpring profile name for the auth server when running without OpenID (File/Spring/ServiceAccount).static final StringSpring profile name for the auth server when running with SpringSecurityManager (XML config).static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionReturns the Spring profile to activate for the auth server child process.Returns the configured security manager class name, or empty string if not set.static SecurityServiceInfoinstance()booleanReturns true for FileSecurityManager or SpringSecurityManager (legacy, non-OpenId).booleanbooleanReturns true only when-Dcom.gs.security.enabled=trueis explicitly set AND a security manager class is configured in security.properties.booleanReturns true if SpringSecurityManager or ServiceAccountAwareSecurityManager is configured.openIdID()toString()
-
Field Details
-
SECURITY_MANAGER_CLASS
- See Also:
-
ID_SECURITY_MANAGER
- See Also:
-
FILE_SECURITY_MANAGER
- See Also:
-
SPRING_SECURITY_MANAGER
- See Also:
-
SERVICE_ACCOUNT_AWARE_SECURITY_MANAGER
- See Also:
-
PROFILE_FULL_OPENID
Spring profile name for the auth server when running with a full OpenID provider.- See Also:
-
PROFILE_SERVICE_ACCOUNT_ONLY
Spring profile name for the auth server when running without OpenID (File/Spring/ServiceAccount).- See Also:
-
PROFILE_SPRING_XML_SECURITY
Spring profile name for the auth server when running with SpringSecurityManager (XML config).- See Also:
-
PROFILE_LDAP
Spring profile name for the auth server when running with LDAP-based SpringSecurityManager.- See Also:
-
ZK_CON_STR
- See Also:
-
EMPTY_STRING
- See Also:
-
CLIENT_ID
- See Also:
-
CLIENT_SECRET
- See Also:
-
ISSUE_URL
- See Also:
-
REDIRECT_URL
- See Also:
-
AUTHORITY_CLAIM
- See Also:
-
ID
- See Also:
-
SPACEDECK_URL
- See Also:
-
PROVIDER_TYPE
- See Also:
-
-
Method Details
-
instance
-
getSecurityServiceBaseUrl
-
isOpenIdSecurityManager
public boolean isOpenIdSecurityManager() -
getAuthServerProfile
Returns the Spring profile to activate for the auth server child process.PROFILE_FULL_OPENID— when OpenIdSecurityManager is configuredPROFILE_SERVICE_ACCOUNT_ONLY— for SpringSecurityManager, FileSecurityManager, ServiceAccountAwareSecurityManager, or any other manager
-
isSecurityEnabled
public boolean isSecurityEnabled()Returns true only when-Dcom.gs.security.enabled=trueis explicitly set AND a security manager class is configured in security.properties. Defaults tofalse(no security) when the property is absent. -
isSpringSecurityManager
public boolean isSpringSecurityManager()Returns true if SpringSecurityManager or ServiceAccountAwareSecurityManager is configured. -
isLegacySecurityManager
public boolean isLegacySecurityManager()Returns true for FileSecurityManager or SpringSecurityManager (legacy, non-OpenId). -
getSecurityManagerClass
Returns the configured security manager class name, or empty string if not set. -
additionalPropertiesConfig
-
openIdClientID
-
openIdClientSecret
-
openIdIssueURL
-
openIdRedirectURIs
-
openIdAuthority
-
openIdSpacedeck
-
openIdID
-
openIdProviderType
-
properties
-
toString
-