@@ -116,6 +116,24 @@ def __init__(self, config, config_section, must_exist):
116116 self .config , "name_node_port" , None , must_exist , config_section )
117117 self .token = utilities .get_item_value (
118118 self .config , "token" , "" , False , config_section )
119+ # enable auth or not
120+ enable_krb5_auth = utilities .get_item_value (
121+ self .config , "enable_krb5_auth" , "" ,
122+ False , config_section )
123+ self .enable_krb5_auth_str = utilities .convert_bool_to_str (
124+ enable_krb5_auth )
125+ # auth principal
126+ self .auth_principal = utilities .get_item_value (
127+ self .config , "auth_principal" ,
128+ "" , enable_krb5_auth , config_section )
129+ # auth password
130+ self .auth_password = utilities .get_item_value (
131+ self .config , "auth_password" ,
132+ "" , enable_krb5_auth , config_section )
133+ # cacche path
134+ self .ccache_path = utilities .get_item_value (
135+ self .config , "ccache_path" ,
136+ "" , enable_krb5_auth , config_section )
119137
120138
121139class RA2018PSIConfig :
0 commit comments