You can get theses values at the launch of cas server in the logs.

> Le 13 févr. 2020 à 04:36, Napoleon Ponaparte <[email protected]> a 
> écrit :
> 
> 
> Hi Raheem, How to get this value?
> cas.authn.token.crypto.signing.key=xxxxxxxx
> cas.authn.token.crypto.encryption.key=xxxxxxxx
> THanks
> 
>> On Thursday, January 30, 2020 at 7:39:50 PM UTC+7, Raheem Shaik wrote:
>> Hi,
>> 
>> I am trying to upgrading from 5.2.x t0 6.x version for my testing but 
>> getting but getting issue with  base64 encode which is not working properly, 
>> When i try to decode the jwt token it is not able to get the payload data. 
>> But in earlier version 5.2.x i did not have any issues 
>> 
>> can somebody help me on this.
>> 
>> build.gardle dependencies
>> 
>>  compile 
>> "org.apereo.cas:cas-server-webapp${project.appServer}:${casServerVersion}"
>>  compile "org.apereo.cas:cas-server-support-rest:${project.'cas.version'}"
>>  compile 
>> "org.apereo.cas:cas-server-support-rest-tokens:${project.'cas.version'}"
>>  compile 
>> "org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
>>  compile 
>> "org.apereo.cas:cas-server-support-token-tickets:${project.'cas.version'}"
>>  compile 
>> "org.apereo.cas:cas-server-support-rest-authentication:${project.'cas.version'}"
>> 
>> cas.authn.token.crypto.enabled=false
>> cas.authn.token.crypto.encryptionEnabled=false
>> cas.authn.token.crypto.signing.key=xxxxxxxx
>> cas.authn.token.crypto.signing.keySize=512
>> cas.authn.token.crypto.encryption.key=xxxxxxxx
>> cas.authn.token.crypto.encryption.keySize=256
>> 
>> and 
>> 
>> {
>>   "@class" : "org.apereo.cas.services.RegexRegisteredService",
>>   "serviceId" : https://.*.example.com";,
>>   "name" : "myApplication",
>>   "id" : 10000001,
>>   "description" : "This service definition authorized all application urls 
>> that support HTTPS protocol.",
>>   "evaluationOrder": 2
>>   "proxyPolicy" : {
>>     "@class" : "org.apereo.cas.services.RefuseRegisteredServiceProxyPolicy"
>>   },
>>   "usernameAttributeProvider" : {
>>     "@class" : 
>> "org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider"
>>   },
>> 
>>   "attributeReleasePolicy" : {
>>     "@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy",
>>       "principalAttributesRepository" : {
>>       "@class" : 
>> "org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository"
>>     },
>>         "authorizedToReleaseCredentialPassword" : false,
>>         "authorizedToReleaseProxyGrantingTicket" : false
>>     },
>>     "logoutType" : "BACK_CHANNEL",
>>     "accessStrategy" : {
>>     "@class" : 
>> "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
>>     "enabled" : true,
>>     "ssoEnabled" : true
>>     },  
>>   "properties" : {
>>     "@class" : "java.util.HashMap",
>>     "jwtSigningSecret" : {
>>       "@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty",
>>       "values" : [ "java.util.HashSet", [ "9qz--------DlSwNx" ] ]
>>     },
>>     "jwtAsResponse" : {
>>       "@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty",
>>       "values" : [ "java.util.HashSet", [ "true" ] ]
>>     }
>> }
>> 
>> Regards,
>> Raheem 
>> 
> 
> -- 
> - 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/feff506b-e209-4550-95d4-9e0831f07225%40apereo.org.

-- 
- 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/63B44D43-DD53-40B0-A097-4A5CF1E2C908%40gmail.com.

Reply via email to