Cyrus,
You may need to add to attribute release policy:
{
"@class": "org.apereo.cas.services.RegexRegisteredService",
"name": "Demo CAS Client proxy client",
"id": 1512514873495,
"description": "proxy client",
"proxyPolicy":
{
"@class": "org.apereo.cas.services.RegexMatchingRegisteredServiceProxyPolicy",
},
"evaluationOrder": 20145,
"usernameAttributeProvider":
{
"@class": "org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider",
"canonicalizationMode": "NONE",
"encryptUsername": false
},
"attributeReleasePolicy":
{
"@class": "org.apereo.cas.services.DenyAllAttributeReleasePolicy",
"principalAttributesRepository":
{
"@class": "org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository",
"expiration": 2,
"timeUnit": "HOURS"
},
"authorizedToReleaseCredentialPassword": false,
"authorizedToReleaseProxyGrantingTicket": true,
"excludeDefaultAttributes": true
},
"multifactorPolicy":
{
"@class": "org.apereo.cas.services.DefaultRegisteredServiceMultifactorPolicy",
"failureMode": "CLOSED",
"bypassEnabled": false
},
"accessStrategy":
{
"@class": "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled": true,
"ssoEnabled": true,
"requireAllAttributes": false,
"caseInsensitive": false
},
"publicKey":
{
"@class": "org.apereo.cas.services.RegisteredServicePublicKeyImpl",
"location": "/home/cas/config/keys/client_public.key",
"algorithm": "RSA"
},
"properties":
{
"@class": "java.util.HashMap",
"test":
{
"@class": "org.apereo.cas.services.DefaultRegisteredServiceProperty",
"values":
[
"java.util.HashSet",
[
"FALSE"
]
]
}
}
}
The above is what I have for a test service. It was created with the management application. You do not need the public key. I think the pgtcallback has to be an https url. If you are using self signed certs, you will have to add them to the java keystore.
Ray