Class OpenUnisonConfigManager
java.lang.Object
com.tremolosecurity.config.util.UnisonConfigManagerImpl
com.tremolosecurity.openunison.OpenUnisonConfigManager
- All Implemented Interfaces:
ConfigManager
,UnisonConfigManager
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionOpenUnisonConfigManager
(String configXML, jakarta.servlet.ServletContext ctx, String name, jakarta.servlet.FilterConfig filterCfg) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the open port, as seen by a client.int
Returns the secure port, as seen by a client.net.sourceforge.myvd.server.ServerCore
int
Returns the open port this service is listening onint
Returns the secure port this service is listening onboolean
True if all connections in plain text are to be redirected to encrypted text (HTTP/S only)void
loadKeystore
(String path, String myVdPath) void
jakarta.xml.bind.JAXBElement
<TremoloType> loadUnisonConfiguration
(jakarta.xml.bind.Unmarshaller unmarshaller) void
Methods inherited from class com.tremolosecurity.config.util.UnisonConfigManagerImpl
addApplication, addAuthenticationMechanism, addCustomerAuthorization, addReloadNotifier, addResultGroup, addThread, buildHttpConfig, clearThreads, createAnonUser, deleteApp, findURL, getApp, getAuthChains, getAuthFailChain, getAuthFailMechanism, getAuthFormsPath, getAuthIdPPath, getAuthManager, getAuthMech, getAuthMechs, getAuthPath, getCertificate, getCfg, getConfigXmlPath, getContext, getContextPath, getCustomAuthorizations, getErrorPages, getGlobalHttpClientConfig, getHttpClientSocketRegistry, getKeyManagerFactory, getKeyStore, getMyVD, getNotificationsMananager, getPaasRoleAttribute, getPaasUserPrinicipalAttribute, getPrivateKey, getProvisioningEngine, getResultGroup, getSecretKey, getSSLContext, getUpgradeManager, initialize, initializeUrls, loadAuthMechs, loadFilters, notifyReload, reloadConfig, removeAuthenticationMechanism, removeCustomAuthorization, removeResultGroup, setPaasRoleAttribute, setPaasUserPrinicipalAttribute
-
Constructor Details
-
OpenUnisonConfigManager
-
-
Method Details
-
loadUnisonConfiguration
public jakarta.xml.bind.JAXBElement<TremoloType> loadUnisonConfiguration(jakarta.xml.bind.Unmarshaller unmarshaller) throws Exception - Specified by:
loadUnisonConfiguration
in classUnisonConfigManagerImpl
- Throws:
Exception
-
loadKeystore
- Specified by:
loadKeystore
in classUnisonConfigManagerImpl
- Throws:
Exception
-
isForceToSSL
public boolean isForceToSSL()Description copied from interface:ConfigManager
True if all connections in plain text are to be redirected to encrypted text (HTTP/S only)- Specified by:
isForceToSSL
in interfaceConfigManager
- Specified by:
isForceToSSL
in interfaceUnisonConfigManager
- Specified by:
isForceToSSL
in classUnisonConfigManagerImpl
- Returns:
-
getOpenPort
public int getOpenPort()Description copied from interface:ConfigManager
Returns the open port this service is listening on- Specified by:
getOpenPort
in interfaceConfigManager
- Specified by:
getOpenPort
in interfaceUnisonConfigManager
- Specified by:
getOpenPort
in classUnisonConfigManagerImpl
- Returns:
-
getSecurePort
public int getSecurePort()Description copied from interface:ConfigManager
Returns the secure port this service is listening on- Specified by:
getSecurePort
in interfaceConfigManager
- Specified by:
getSecurePort
in interfaceUnisonConfigManager
- Specified by:
getSecurePort
in classUnisonConfigManagerImpl
- Returns:
-
getExternalOpenPort
public int getExternalOpenPort()Description copied from interface:ConfigManager
Returns the open port, as seen by a client. For instance if Unison is running on port 8080 but there is a firewall port forwarding from port 80 this would return 80- Specified by:
getExternalOpenPort
in interfaceConfigManager
- Specified by:
getExternalOpenPort
in interfaceUnisonConfigManager
- Specified by:
getExternalOpenPort
in classUnisonConfigManagerImpl
- Returns:
-
getExternalSecurePort
public int getExternalSecurePort()Description copied from interface:ConfigManager
Returns the secure port, as seen by a client. For instance if Unison is running on port 8443 but there is a firewall port forwarding from port 443 this would return 443- Specified by:
getExternalSecurePort
in interfaceConfigManager
- Specified by:
getExternalSecurePort
in interfaceUnisonConfigManager
- Specified by:
getExternalSecurePort
in classUnisonConfigManagerImpl
- Returns:
-
loadMyVD
-
postInitialize
public void postInitialize()- Specified by:
postInitialize
in classUnisonConfigManagerImpl
-
getMyVDServerCore
public net.sourceforge.myvd.server.ServerCore getMyVDServerCore()
-