DJAMEL DAHMANE
DJAMEL DAHMANE

Reputation: 424

getting unresolved principal when creating ACL in oracle

I was trying to create an ACL to use http request with Oracle but I don't why it's not working here :

BEGIN
  DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl         => 'www.xml',
                                    description => 'WWW ACL',
                                    principal   => 'hr',
                                    is_grant    => true,
                                    privilege   => 'connect');
END;
/  

This is the error :

the error

Upvotes: 1

Views: 200

Answers (1)

Littlefoot
Littlefoot

Reputation: 142720

Use uppercase HR, not lower case hr:

principal   => 'HR',

Upvotes: 1

Related Questions