OES11g - NewQueryPepRequest Not Handling An Invalid ResourceType In The Scope String (Doc ID 2103978.1)

Last updated on FEBRUARY 25, 2016

Applies to:

Oracle Entitlements Server - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

Passing invalid ResourceType in the scope string and execute the newQueryPepRequest,

NewqueryPeperequest Throws "java.lang.IllegalArgumentException: The  parameter: "resource name", value: "null" cannot be null "

 

Exception in thread "main" java.lang.IllegalArgumentException: The parameter:
"resource name", value: "null" cannot be null
at oracle.security.jps.ResourcePermission.initInternal(ResourcePermission.java:241)
at oracle.security.jps.ResourcePermission.<init>(ResourcePermission.java:189)
at com.bea.security.impl.AuthorizationServiceAuditUtil.auditAccessAllowed(AuthorizationServiceAuditUtil.java:85)

at com.bea.security.impl.AuthorizationServiceImpl.queryActionsOnChildResource(AuthorizationServiceImpl.java:1449)
at com.bea.security.AuthorizationService.queryActionsOnChildResource(AuthorizationService.java:524)
at oracle.security.jps.openaz.pep.PepRequestImpl.processQuery(PepRequestImpl.java:373)
at oracle.security.jps.openaz.pep.PepRequestImpl.decide(PepRequestImpl.java:186)
at com.test.kaiser.Kaiser.main(Kaiser.java:56)

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms