Friday, 8 January 2016

Weblogic custom Webservice access issue

Issue::
The custom OIM webservice is deployed in OIM successfully.

On invoking the sebservice,it was not able to read the credential store created for the custom webservice.

Error::

, Cache-Hit: true, Permissions Cached: false, RESULT: false>
java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=OIM_WS,keyName=WS_CREDENTIALS read)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)



Fix:

1.Login to EM console
2.Navigate to Weblogic domain
3.Navigate to IAM_DOMAIN-->SECURITY-->SYSTEM POLICIES
4.Add the Name, CodeBase and permission for the custom WebserviceCreated.

NAME::file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/OIGDynamicWS/fo01e1/war/WEB-INF/lib/_wl_cls_gen.jar

RESOURCE::oracle.security.jps.service.credstore.CredentialAccessPermission
PERMISSIONCLASS::context=SYSTEM,mapName=OIM_WS,keyName=WS_CREDENTIALS


No comments:

Post a Comment