Hi Ray,
Thankyou for reply and your time.
I tried writing groovy script as mentioned here
https://apereo.github.io/cas/7.1.x/integration/Delegate-Authentication-PostProcessing.html.
and updated cas.properties with this
cas.authn.pac4j.core.groovy-provider-post-processor.location=file:/etc/cas/config/PostProcessor.groovyand added PostProcessor.groovy in the above path.
```
import org.apereo.cas.web.*
import org.apereo.cas.web.support.*
import org.springframework.webflow.execution.*
def run(Object[] args) {
def requestContext = args[0]
logger.info("Hello inside post processor ")
def provider = (args[1] as Set<DelegatedClientIdentityProviderConfiguration>)[0]
def logger = args[2]
logger.info("Checking provider ${
provider.name}...")
def response = WebUtils.getHttpServletResponseFromExternalWebflowContext(requestContext)
logger.info("Redirecting to ${provider.redirectUrl}")
response.sendRedirect(provider.redirectUrl);
}
```
still I am not getting any log messages from PostProcessor.groovy.
I am using cas6.4 and I am not sure the method mentioned in the above link works for cas6.4.
If you know some documentation for cas6.4 that is related to post -processing Delegated Authentication, could you please share .
Thankyou in advance for your time and effort.
Tausif