|
Hello,
thanks. Issue is solved. I created the ACL and I created a role(connect privilege) to which I assigned in the add privilege statement.
Then for all other users I granted that role.
BEGIN
DBMS_NETWORK_ACL_ADMIN.DROP_ACL (
acl => 'adduserwsv.xml');
COMMIT;
END;
/
SQL> select acl , principal , privilege , is_grant from DBA_NETWORK_ACL_PRIVILEGES;
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (
acl => 'adduserwsv.xml',
description => 'APPS',
principal => 'CBS_CORE',
is_grant => TRUE,
privilege => 'connect');
COMMIT;
END;
/
create role cbsrole;
BEGIN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE (
acl => 'adduserwsv.xml',
principal => 'CBSROLE',
is_grant => TRUE,
privilege => 'connect',
position => null);
COMMIT;
END;
/
BEGIN
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL (
acl => 'adduserwsv.xml',
host => '10.210.228.8/*');
COMMIT;
END;
/
Regards,
Roshan
|