Question

6
Replies
860
Views
sasi_chow Member since 2009 5 posts
Cognizant Technology Solutions
Posted: 4 years ago
Last activity: 4 years ago
Closed
Solved

Getting AuthorizationException while calling Report definition from Auth rules

Hi,

While User logining through custom authentication URL we are calling report defiantion to get some data, it failing and throwing error " you are not authorized", 

At the time of this , Operator Profiel will not have any data(it means user not logged in at), we are calling on requestor page.

Cna you one help on this.

[MSG][Error in Obj-Open][STACK][com.pega.pegarules.pub.database.AuthorizationException: You are not authorized to open instance RULE-OBJ-REPORT-DEFINITION TOYOTA-DATA-LOCATIONDETAILS GETPLANTDETAILS #20161005T120325.846 GMT From: (H914EE4BA00D201AD8FE51A620EA3192E:) at com.pega.pegarules.pub.database.AuthorizationException.createCannotOpenException(AuthorizationException.java:242) at com.pega.pegarules.data.internal.access.Opener.open(Opener.java:2388) at com.pega.pegarules.data.internal.access.DatabaseImpl.open(DatabaseImpl.java:3858) at com.pega.pegarules.pub.runtime.AbstractActivity.objOpen(AbstractActivity.java:80) at com.pegarules.generated.activity.ra_action_hcmretreivereportdata_c760c6a3cf4fc6dbb78fae226f55a82b.step5_circum0(ra_action_hcmretreivereportdata_c760c6a3cf4fc6dbb78fae226f55a82b.java:1337) at com.pegarules.generated.activity.ra_action_hcmretreivereportdata_c760c6a3cf4fc6dbb78fae226f55a82b.perform(ra_action_hcmretreivereportdata_c760c6a3cf4fc6dbb78fae226f55a82b.java:142) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674) at com.pegarules.generated.activity.ra_action_getlocationdetails_4710b0262728a06554459f67e2088ea1.step4_circum0(ra_action_getlocationdetails_4710b0262728a06554459f67e2088ea1.java:243) at com.pegarules.generated.activity.ra_action_getlocationdetails_4710b0262728a06554459f67e2088ea1.perform(ra_action_getlocationdetails_4710b0262728a06554459f67e2088ea1.java:86) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674) at com.pegarules.generated.activity.ra_action_hcminternalauth_f27ff0d369c996e36c0e37eac7fd0be0.step3_circum0(ra_action_hcminternalauth_f27ff0d369c996e36c0e37eac7fd0be0.java:632) at com.pegarules.generated.activity.ra_action_hcminternalauth_f27ff0d369c996e36c0e37eac7fd0be0.perform(ra_action_hcminternalauth_f27ff0d369c996e36c0e37eac7fd0be0.java:104) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674) at com.pegarules.generated.activity.ra_action_hcminternalssoauthentication_e3073b4242f18c05692d88771003b497.step5_circum0(ra_action_hcminternalssoauthentication_e3073b4242f18c05692d88771003b497.java:326) at com.pegarules.generated.activity.ra_action_hcminternalssoauthentication_e3073b4242f18c05692d88771003b497.perform(ra_action_hcminternalssoauthentication_e3073b4242f18c05692d88771003b497.java:103) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pega.pegarules.session.internal.mgmt.authentication.AuthenticationUtil.runActivity(AuthenticationUtil.java:209) at com.pega.pegarules.session.internal.mgmt.authentication.SchemePRCustom.authenticateOperator(SchemePRCustom.java:712) at com.pega.pegarules.session.internal.mgmt.authentication.Authentication.doAuthentication(Authentication.java:483) at com.pega.pegarules.session.internal.engineinterface.service.HTTPAuthenticationHandler.performAuthentication(HTTPAuthenticationHandler.java:247) at com.pega.pegarules.session.internal.engineinterface.service.HTTPAuthenticationHandler.doHttpReqAuthentication(HTTPAuthenticationHandler.java:136) at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.handleAuthentication(HttpAPI.java:2120) at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.activityExecutionProlog(EngineAPI.java:549) at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:388) at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1301) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1038) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:893) at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331) at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:825) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:247) at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278) at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223) at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:594) at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:390) at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:91) at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:72) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420) at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134) at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) at java.lang.Thread.run(Thread.java:745) ] 

***Updated by Moderator: Marissa to update topic categories***

 
 
Reporting
Moderation Team has archived post
Share this page LinkedIn