Hi. I had the same desire and addressed this with the help of a response from Jerome on another thread. I've pasted his response below in hopes this gets you to your end result add well:
Hi, It depends if your applications host or call external web services. If your apps host web services and you want to be able to authenticate through basic auth to access them, you will need to create a custom BasciHttpAuthenticationFilter, taking the credentials and sending them to the CAS REST API : https://wiki.jasig.org/display/CASUM/RESTful+API. If your apps call web services, it's clearly the proxy use case. Right now, the shiro-cas module does not support the proxy feature. Though, one extension I created to integrate with various protocols as a client does : https://github.com/bujiio/buji-pac4j. It might be worth to give it a try. Best regards, Jérôme Thanks for the explanation. Do I need a custom realm for authcBasic so that it can take the credentials and authenticate against cas server? All im trying to achieve is that when the user enters the credentials at the authcBasic prompt they should be authenticated against cas. Am i missing something or is this impossible? -- View this message in context: http://shiro-user.582556.n2.nabble.com/authcBasic-with-shiro-cas-tp7579708p7579790.html Sent from the Shiro User mailing list archive at Nabble.com.
