-
Aug 19th, 2004, 02:21 PM
#1
CAS and a Servlet accessed programmatically
Hi,
We created a servlet that is supposed to be access programmatically vs. via a web browser. We want to protect it using the features available to protecting web services via Acegi, i.e. the stuff detailed under Advanced CAS Usage.
I have written code that will retrieve a ticket to be sent. However, I am struggling with the set up that should be used to handle this. I set up the application to use CAS, but obviously it just tries to redirect to the CAS login
.
Is what I want to do possible outside of the normal web service paradigm? If so, what additional set up do I need?
Thanks
-Scott
-
Aug 19th, 2004, 06:29 PM
#2
Sounds like you're on the right track, but need to switch the SecurityEnforcementFilter.authenticationEntryPoint from CasProcessingFilterEntryPoint to BasicProcessingFilterEntryPoint.
-
Aug 20th, 2004, 12:27 PM
#3
Thanks, that did the trick!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules