I'd suggest you handle this via "Split DNS". One dns name, different IP based on requester network. On Jul 14, 2012 10:06 AM, "Srwah" <serveh.mamghad...@gmail.com> wrote:
> Hi all! > > I'm new with CAS and I have a CAS 3.04.11 server that is accessible from > two disjoint networks. One is local (with IP 10.20.13.51) and the other is > behind a Nat (with name example.com). I want to CAS redirect me to > http://10.20.13.51:8080/portal if I login from local network, and > redirect me to http://example.com:8080/portal if I login from Internet. > > I tried to extend CasAuthenticationEntryPoint and replace its bean in > securityContext.xml and override createRedirectUrl() method but suddenly I > found out that this class is called from one of the beans of spring > security. I'm confused what to do! > > please tell me what to do or introduce me some proper link. > tnx a lot. > > > -- > You are currently subscribed to cas-dev@lists.jasig.org as: > m...@forsetti.com > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev