This content has been marked as final.
Show 4 replies
-
1. Re: Multiple Domains
pmuir Jan 28, 2008 5:43 AM (in response to etaham)You should be able to get the domain name in use using
FacesContext.getCurrentInstance().getExternalContext().get...
You can then use this to know which site the user is visiting for your login. -
2. Re: Multiple Domains
etaham Jan 28, 2008 9:06 AM (in response to etaham)Thank you for your reply.
Follow up question: Can I access FacesContext.getCurrentInstance().getExternalContext() within a drule security rule?
Thanks,
Eli -
3. Re: Multiple Domains
pmuir Jan 29, 2008 7:09 AM (in response to etaham)If you are inside a faces request, you should be able to. But why don't you have a go?
-