Tuesday, December 20, 2016

Access SDK: OAMAGENT-02071


Dec 20, 2016 3:52:17 PM oracle.security.am.asdk.ResourceRequest isProtected
SEVERE: Unknown exception.
Access Exception: OAMAGENT-02071


  • Comment out from AuthenticationScheme authnScheme = new AuthenticationScheme(rrq); and see if code is getting executed without any issue. 
  • Verify OAM log if issue is unable to find protected or not
  • Then if it is the issue then most probability its regarding host Identifier issue. 
  • Either add Preferred host from ObAccessClient.xml into  ms_resource = "//HostIdentifierName/Welcome.html"
  • Add URL you are trying to use into Host Identifier in OAM Console. 
  • This issue mainly occurs because of Host Identifier problem, if you are not going through webgate then OAM can't identify which Policies it needs to apply. In that case it depends on Host Identifier. 

Helpful Resource: https://community.oracle.com/thread/2557826?db=5

Community Solution: 

If initialization is successful there has to be issue with "ResourceRequest" object creation
whats is resource uri used in creating "ResourceRequest" object ?
Format of the resource should be //<host name variation> OR <preferred host from ObAccessClient.xml>/protected uri

For example : If "preferred host" from ObAccessClient.xml is RREG10G_HostId , then resource to be specified while creating "ResourceRequest" object is

No comments:

Post a Comment

Other Posts