Class TmsServerSecurityConfig
- java.lang.Object
-
- org.terracotta.angela.common.tms.security.config.TmsServerSecurityConfig
-
- All Implemented Interfaces:
Serializable
public class TmsServerSecurityConfig extends Object implements Serializable
- Author:
- Yakov Feldman This class is used to overwrite security properties inside TMS configuration file tmc.properties Use example: TmsServerSecurityConfig tmsServerSecurityConfig = new TmsServerSecurityConfig.Builder().with($ -> { $.tmsSecurityRootDirectory = "/config/security-root-dir"; $.tmsSecurityHttpsEnabled = "true"; $.tmsSecurityAuthenticationScheme = null; $.tmsSecurityAuthorizationScheme = null; $.tmsSecurityRootDirectoryConnectionDefault = "/config/server/security-root-dir"; $.tmsSecurityAuditDirectory = ""; $.deprecatedSecurityRootDirectory = null; $.deprecatedSecurityLevel = null; }).build(); Descritpion: if( filed=null ) then {this property will be removed from original TMS configuration file tmc.properties } if( filed is not assigned ) then {this property will be not updated in original configuration file tmc.properties } else { property will be overwritten with assigned value }
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTmsServerSecurityConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringAUDIT_DIRECTORYstatic StringAUTHENTICATION_SCHEMEstatic StringAUTHORIZATION_SCHEMEstatic StringDEPRECATED_SECURITY_LEVELstatic StringDEPRECATED_SECURITY_ROOT_DIRECTORYstatic StringHTTPS_ENABLEDstatic StringNOT_SET_VALUEstatic StringSECURITY_ROOT_DIRECTORYstatic StringSECURITY_ROOT_DIRECTORY_CONNECTION_DEFAULT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDeprecatedSecurityLevel()StringgetDeprecatedSecurityRootDirectory()StringgetTmsSecurityAuditDirectory()StringgetTmsSecurityAuthenticationScheme()StringgetTmsSecurityAuthorizationScheme()StringgetTmsSecurityHttpsEnabled()StringgetTmsSecurityRootDirectory()StringgetTmsSecurityRootDirectoryConnectionDefault()Map<String,String>toMap()StringtoString()
-
-
-
Field Detail
-
NOT_SET_VALUE
public static final String NOT_SET_VALUE
- See Also:
- Constant Field Values
-
SECURITY_ROOT_DIRECTORY
public static final String SECURITY_ROOT_DIRECTORY
- See Also:
- Constant Field Values
-
AUDIT_DIRECTORY
public static final String AUDIT_DIRECTORY
- See Also:
- Constant Field Values
-
HTTPS_ENABLED
public static final String HTTPS_ENABLED
- See Also:
- Constant Field Values
-
AUTHENTICATION_SCHEME
public static final String AUTHENTICATION_SCHEME
- See Also:
- Constant Field Values
-
AUTHORIZATION_SCHEME
public static final String AUTHORIZATION_SCHEME
- See Also:
- Constant Field Values
-
SECURITY_ROOT_DIRECTORY_CONNECTION_DEFAULT
public static final String SECURITY_ROOT_DIRECTORY_CONNECTION_DEFAULT
- See Also:
- Constant Field Values
-
DEPRECATED_SECURITY_ROOT_DIRECTORY
public static final String DEPRECATED_SECURITY_ROOT_DIRECTORY
- See Also:
- Constant Field Values
-
DEPRECATED_SECURITY_LEVEL
public static final String DEPRECATED_SECURITY_LEVEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTmsSecurityRootDirectory
public String getTmsSecurityRootDirectory()
-
getTmsSecurityHttpsEnabled
public String getTmsSecurityHttpsEnabled()
-
getTmsSecurityAuthenticationScheme
public String getTmsSecurityAuthenticationScheme()
-
getTmsSecurityAuthorizationScheme
public String getTmsSecurityAuthorizationScheme()
-
getTmsSecurityRootDirectoryConnectionDefault
public String getTmsSecurityRootDirectoryConnectionDefault()
-
getTmsSecurityAuditDirectory
public String getTmsSecurityAuditDirectory()
-
getDeprecatedSecurityRootDirectory
public String getDeprecatedSecurityRootDirectory()
-
getDeprecatedSecurityLevel
public String getDeprecatedSecurityLevel()
-
-