For certain necessities, I've to implement a *switchable* SSO scheme in 
WebApp side.

Current plan is to add a top-level filter which retrieves SSO ON/OFF 
config, forwards to 4 SSO filters + 1 SLO filter when SSO's on, or keep on 
to non-SSO authentication when SSO' off.
if (!isSsoOn){
    chain.doFilter(request, response);
}else{
    String path = request.getRequestURI().substring(request.getContextPath
().length());
    request.getRequestDispatcher("/sso" + path).forward(request, response);
}

For this, I need to filter-mapping SSO filters to pattern like ”/sso/*“ and 
remove this prefix after SSO handling (authentication, ticket-validation, 
request-wrapper, assertion-thread-localization). Is it secure, or 
appropriate to do so, considering all those afterwards redirecting between 
cas-server and cas-client? 

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8ab041fc-3865-4c93-86be-c8a78cff4f58%40apereo.org.

Reply via email to