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 TypeMethodDescriptionintReturns the open port, as seen by a client.intReturns the secure port, as seen by a client.net.sourceforge.myvd.server.ServerCoreintReturns the open port this service is listening onintReturns the secure port this service is listening onbooleanTrue if all connections in plain text are to be redirected to encrypted text (HTTP/S only)voidloadKeystore(String path, String myVdPath) voidjakarta.xml.bind.JAXBElement<TremoloType> loadUnisonConfiguration(jakarta.xml.bind.Unmarshaller unmarshaller) voidMethods 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:
loadUnisonConfigurationin classUnisonConfigManagerImpl- Throws:
Exception
-
loadKeystore
- Specified by:
loadKeystorein classUnisonConfigManagerImpl- Throws:
Exception
-
isForceToSSL
public boolean isForceToSSL()Description copied from interface:ConfigManagerTrue if all connections in plain text are to be redirected to encrypted text (HTTP/S only)- Specified by:
isForceToSSLin interfaceConfigManager- Specified by:
isForceToSSLin interfaceUnisonConfigManager- Specified by:
isForceToSSLin classUnisonConfigManagerImpl- Returns:
-
getOpenPort
public int getOpenPort()Description copied from interface:ConfigManagerReturns the open port this service is listening on- Specified by:
getOpenPortin interfaceConfigManager- Specified by:
getOpenPortin interfaceUnisonConfigManager- Specified by:
getOpenPortin classUnisonConfigManagerImpl- Returns:
-
getSecurePort
public int getSecurePort()Description copied from interface:ConfigManagerReturns the secure port this service is listening on- Specified by:
getSecurePortin interfaceConfigManager- Specified by:
getSecurePortin interfaceUnisonConfigManager- Specified by:
getSecurePortin classUnisonConfigManagerImpl- Returns:
-
getExternalOpenPort
public int getExternalOpenPort()Description copied from interface:ConfigManagerReturns 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:
getExternalOpenPortin interfaceConfigManager- Specified by:
getExternalOpenPortin interfaceUnisonConfigManager- Specified by:
getExternalOpenPortin classUnisonConfigManagerImpl- Returns:
-
getExternalSecurePort
public int getExternalSecurePort()Description copied from interface:ConfigManagerReturns 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:
getExternalSecurePortin interfaceConfigManager- Specified by:
getExternalSecurePortin interfaceUnisonConfigManager- Specified by:
getExternalSecurePortin classUnisonConfigManagerImpl- Returns:
-
loadMyVD
-
postInitialize
public void postInitialize()- Specified by:
postInitializein classUnisonConfigManagerImpl
-
getMyVDServerCore
public net.sourceforge.myvd.server.ServerCore getMyVDServerCore()
-