Question

1
Replies
181
Views
Vinay Rallapalli (VinayR28)
Anthem

Anthem
US
VinayR28 Member since 2017 10 posts
Anthem
Posted: May 30, 2018
Last activity: August 26, 2020
Posted: 30 May 2018 16:45 EDT
Last activity: 26 Aug 2020 8:41 EDT
Closed
Solved

Rule Not Found Exception when working with Siteminder

Hello All,


I am working with siteminder integration and have defined a custom authentication service named "ABC" from which I am calling an authentication activity named "XYZ" which is in the ruleset "DEF-unauthenticated".


The web.xml file has been modified to refer to the new auth service that has been created. When I try to access the url http://abc.com/prweb/sso1, I am getting the rule not found exception. But the rule exists in the ruleset and it has been added to the list of application rulesets. Please find the details from log below.

Hello All,

I am working with siteminder integration and have defined a custom authentication service named "ABC" from which I am calling an authentication activity named "XYZ" which is in the ruleset "DEF-unauthenticated".

The web.xml file has been modified to refer to the new auth service that has been created. When I try to access the url http://abc.com/prweb/sso1, I am getting the rule not found exception. But the rule exists in the ruleset and it has been added to the list of application rulesets. Please find the details from log below.

WebContainer : 2] [  STANDARD] [                    ] [     PegaRULES:07.10] (ngineinterface.service.HttpAPI) ERROR com.pega.pegarules.pub.PRRuntimeException 
com.pega.pegarules.pub.PRRuntimeException: PRRuntimeException 
	at com.pega.pegarules.session.internal.mgmt.authentication.SchemePRCustom.authenticateOperator(SchemePRCustom.java:715) 
	at com.pega.pegarules.session.internal.mgmt.authentication.Authentication.doAuthentication(Authentication.java:490) 
	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:2128) 
	at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.activityExecutionProlog(EngineAPI.java:550) 
	at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:389) 
	at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) 
	at java.lang.reflect.Method.invoke(Method.java:508) 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1297) 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034) 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:889) 
	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:829) 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251) 
	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:589) 
	at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:378) 
	at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) 
	at java.lang.reflect.Method.invoke(Method.java:508) 
	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 com.pega.pegarules.internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:92) 
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) 
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) 
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233) 
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782) 
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481) 
	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) 
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114) 
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) 
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949) 
	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817) 
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) 
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463) 
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530) 
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316) 
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) 
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) 
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) 
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) 
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) 
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) 
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) 
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) 
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892) 
Caused by:  
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'AUTHAUTHENTICATION' that applies to 'Code-Security'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'AUTHAUTHENTICATION' defined in the rulebase are: 
1 related to applies-to class 'Code-Security', but were defined in rulesets which are not in your rulesetlist: 'Unauthenticated:01-01-01'. 
 
Has anyone else faced this issue?

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.