@@ -20,17 +20,26 @@ def __init__(self, aliases, logger, exception_type):
20
20
self .alias_helper = AliasHelper (aliases , self .logger , self .exception_type )
21
21
self .wlst_helper = WlstHelper (self .logger , self .exception_type )
22
22
23
- def update_security_folder (self , location , model_name , model_nodes ):
23
+ def update_security_folder (self , location , model_category , model_type , model_name , model_nodes ):
24
24
"""
25
25
Update the specified security model nodes in WLST.
26
- :param location: the location of the folder's parent
27
- :param model_name: the model name of the folder to be updated
28
- :param model_nodes: a child model nodes of the folder to be updated
26
+ :param location: the location for the provider
27
+ :param model_category: the model category of the provider to be updated
28
+ :param model_type: the model type of the provider to be updated
29
+ :param model_name: the model name of the provider to be updated
30
+ :param model_nodes: a child model nodes of the provider to be updated
29
31
:raises: BundleAwareException of the specified type: if an error occurs
30
32
"""
31
33
_method_name = 'update_security_folder'
32
34
33
- self .logger .entering (str (location ), model_name , class_name = self .__class_name , method_name = _method_name )
35
+ location_path = self .alias_helper .get_model_folder_path (location )
36
+ self .logger .entering (location_path , model_type , model_name ,
37
+ class_name = self .__class_name , method_name = _method_name )
34
38
35
- self .logger .info ('WLSDPLY-12124' , model_name , self . alias_helper . get_model_folder_path ( location ) ,
39
+ self .logger .info ('WLSDPLY-12124' , model_category , model_name , model_type , location_path ,
36
40
class_name = self .__class_name , method_name = _method_name )
41
+
42
+ # create the MBean using the model name, model_type, category
43
+
44
+ # wlst.create(model_name, model_type, category)
45
+ # wlst.create('RAK-SAML', 'SAMLAuthenticator', 'AuthenticationProvider')
0 commit comments