Announcement Announcement Module
Collapse
No announcement yet.
CAS and a Servlet accessed programmatically Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Sounds like you're on the right track, but need to switch the SecurityEnforcementFilter.authenticationEntryPoint from CasProcessingFilterEntryPoint to BasicProcessingFilterEntryPoint.

    Comment


    • #3
      Thanks, that did the trick!

      Comment

      Working...
      X