@@ -24,6 +24,11 @@ class DatabaseConnector
2424 private $ sslCert ;
2525 private $ sslKey ;
2626 private $ sslCAPath ;
27+ private $ mode ;
28+ private $ idpEntityId ;
29+ private $ idpName ;
30+ private $ spEntityId ;
31+ private $ spName ;
2732
2833 const CONFIG_FILE_NAME = 'module_statisticsproxy.php ' ;
2934 const SERVER = 'serverName ' ;
@@ -39,7 +44,11 @@ class DatabaseConnector
3944 const SSL_CERT = 'ssl_cert_path ' ;
4045 const SSL_KEY = 'ssl_key_path ' ;
4146 const SSL_CA_PATH = 'ssl_ca_path ' ;
42-
47+ const MODE = 'mode ' ;
48+ const IDP_ENTITY_ID = 'idpEntityId ' ;
49+ const IDP_NAME = 'idpName ' ;
50+ const SP_ENTITY_ID = 'spEntityId ' ;
51+ const SP_NAME = 'spName ' ;
4352
4453 public function __construct ()
4554 {
@@ -57,6 +66,11 @@ public function __construct()
5766 $ this ->sslCert = $ conf ->getString (self ::SSL_CERT , '' );
5867 $ this ->sslKey = $ conf ->getString (self ::SSL_KEY , '' );
5968 $ this ->sslCAPath = $ conf ->getString (self ::SSL_CA_PATH , '' );
69+ $ this ->mode = $ conf ->getString (self ::MODE , 'PROXY ' );
70+ $ this ->idpEntityId = $ conf ->getString (self ::IDP_ENTITY_ID , '' );
71+ $ this ->idpName = $ conf ->getString (self ::IDP_NAME , '' );
72+ $ this ->spEntityId = $ conf ->getString (self ::SP_ENTITY_ID , '' );
73+ $ this ->spName = $ conf ->getString (self ::SP_NAME , '' );
6074 }
6175
6276 public function getConnection ()
@@ -99,4 +113,29 @@ public function getServiceProvidersMapTableName()
99113 {
100114 return $ this ->serviceProvidersMapTableName ;
101115 }
116+
117+ public function getMode ()
118+ {
119+ return $ this ->mode ;
120+ }
121+
122+ public function getIdpEntityId ()
123+ {
124+ return $ this ->idpEntityId ;
125+ }
126+
127+ public function getIdpName ()
128+ {
129+ return $ this ->idpName ;
130+ }
131+
132+ public function getSpEntityId ()
133+ {
134+ return $ this ->spEntityId ;
135+ }
136+
137+ public function getSpName ()
138+ {
139+ return $ this ->spName ;
140+ }
102141}
0 commit comments