Hi,

If you want to send this additional parameter (*tenant*) to your CAS
server, I think the best way is to do that using a specific parameter in
the service url you can define with wildcard (http://serviceUrl?tenant=*
for an Ant pattern).
On Shiro side, you certainly need to customize the roles filter to be able
to change the service on the fly and use this *tenant* parameter.

Best regards,


Jérôme LELEU
Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj
Chairman of CAS: www.jasig.org/cas | Creator of pac4j: www.pac4j.org

2014-12-31 11:20 GMT+01:00 srini_keshav [via Shiro User] <
[email protected]>:

> Hi Jérôme,
>
> Customers are generally provided a public URL to access our application:
>
> http://login.mycompany.net/CustomerName1/dashboard.html
>
> This then internally gets resolved to:
>
> https://dashboard4.mycompany.net/myapp/login.htm?tenant=CustomerName1
>
> For another customer, it could be
>
> https://dashboard2.mycompany.net/myapp/login.htm?tenant=CustomerName2
>
> This is our application which then displays the customized login page with
> the customer's logo, background etc.
>
> So, basically the service URL is going to change with respect to the
> customer and server that is going to serve the customer
>
> Now, is it possible for me to pass the service URL as is to the CAS server
> so that I can then customize the CAS login page accordingly.
>
> Thanks,
> Srini
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://shiro-user.582556.n2.nabble.com/Shiro-CAS-integration-Customizing-the-CAS-login-page-tp7580380p7580385.html
>  To start a new topic under Shiro User, email
> [email protected]
> To unsubscribe from Shiro User, click here
> <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=582556&code=bGVsZXVqQGdtYWlsLmNvbXw1ODI1NTZ8LTExNzY2MzcxMTY=>
> .
> NAML
> <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Shiro-CAS-integration-Customizing-the-CAS-login-page-tp7580380p7580389.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to