But I can specify the serverName / service parameter at the application 
configuration stage and I do it. However, how can cas load different views 
since it will always be the same? (service parameter). I strive for the 
following situation:
when the user uses the https://test1.domain.com/WebApp address the standard 
login format will appear (authentication by the database)
{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^https://test1.domain.com/.*";,
  "name" : "JDBC",
  "id" : 1003,
  "description" : "Standard authentication method for users",
  "evaluationOrder" : 51,
  "requiredHandlers" : [ "java.util.HashSet", [ 
"QueryAndEncodeDatabaseAuthenticationHandler" ] ],
  "theme" : "apereo"
}

while by address https://test2.domain.com/WebApp the button with 
authentication by SAML protocol will appear

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^https://test2.domain.com/.*";,
  "name" : "SAML",
  "id" : 1002,
  "description" : "SAML services",
  "evaluationOrder" : 50,
  "attributeReleasePolicy" : {
    "@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
  },
  "theme" : "customsaml"
}

-- 
- 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/bcf3a885-6aa7-46bb-ac81-cf1244327013%40apereo.org.

Reply via email to