On the issue of using a hostname, I need it to retrieve a user from the database - the user is searched using his name and an additional parameter that I can specify using the hostname.
As for your suggestions, they are also useful. This is the next step I am going to take, namely:
I would like to users from the specified domain to be properly redirected.
{
"@class" : "org.apereo.cas.services.RegexRegisteredService",
"name" : "JDBC",
"id" : 1003,
"description" : "Sample 1",
"evaluationOrder" : 51,
"requiredHandlers" : [ "java.util.HashSet", [ "QueryAndEncodeDatabaseAuthenticationHandler" ] ]
}
- here's no problem everything works
However if the user comes from
https://localhost:8445/casclient2/ then I would like to have authenticated using SAML and external Idp - delegated authentication.I have tested it using the automatically generated button - in the second case I would like the users not even see the form from cas.