You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: extensions/spring/cloud/stormpath-zuul-spring-cloud-starter/src/main/java/com/stormpath/spring/cloud/zuul/autoconfigure/StormpathZuulAutoConfiguration.java
Copy file name to clipboardExpand all lines: extensions/spring/cloud/stormpath-zuul-spring-cloud-starter/src/main/java/com/stormpath/spring/cloud/zuul/config/StormpathZuulAccountHeaderConfig.java
Copy file name to clipboardExpand all lines: extensions/spring/cloud/stormpath-zuul-spring-cloud-starter/src/main/java/com/stormpath/spring/cloud/zuul/config/ValueClaimConfig.java
Copy file name to clipboardExpand all lines: extensions/spring/cloud/stormpath-zuul-spring-cloud-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -41,18 +41,18 @@
41
41
{
42
42
"name": "stormpath.zuul.account.header.name",
43
43
"type": "java.lang.Integer",
44
-
"description": "The name of the HTTP header used in a forwarded request that contains a String representing the Account associated with the inbound request. If there is no account associated with the request, this header will not be set. Unless overridden, the default value is X-Forwarded-Account",
45
-
"defaultValue": "X-Forwarded-Account"
44
+
"description": "The name of the HTTP header used in a forwarded request that contains a String representing the Account associated with the inbound request. If there is no account associated with the request, this header will not be set. Unless overridden, the default value is X-Forwarded-User",
45
+
"defaultValue": "X-Forwarded-User"
46
46
},
47
47
{
48
48
"name": "stormpath.zuul.account.header.value",
49
49
"type": "com.stormpath.sdk.convert.Conversion",
50
-
"description": "The conversion rules to apply to any discovered Account to be forwarded. These rules produce an account String that will be used as the value of the X-Forwarded-Account header."
50
+
"description": "The conversion rules to apply to any discovered Account to be forwarded. These rules produce an account String that will be used as the value of the X-Forwarded-User header."
"description": "Whether or not the X-Forwarded-Account header value should be a JWT instead of a plaintext string. Unless overridden, the default value is true for extra security guarantees. A false value will result in a plaintext string header value.",
55
+
"description": "Whether or not the X-Forwarded-User header value should be a JWT instead of a plaintext string. Unless overridden, the default value is true for extra security guarantees. A false value will result in a plaintext string header value.",
"description": "The name of the claim within the forwarded account JWT claims map that represents the account object. Unless overridden, the default value is 'account'. This property is only evaluated if stormpath.zuul.account.header.jwt.valueClaim.enabled is equal to true.",
90
-
"defaultValue": "account"
89
+
"description": "The name of the claim within the forwarded user JWT claims map that represents the user account object. Unless overridden, the default value is 'user'. This property is only evaluated if stormpath.zuul.account.header.jwt.valueClaim.enabled is equal to true.",
"description": "Specifies the identifier of the signing key used to digitally sign the forwarded account JWT. This is useful because backend origin servers behind the gateway can inspect the X-Forwarded-Account header JWT, find this key id, and based on this id, look up the appropriate key that should be used to verify the JWT's digital signature. If you specify a signing key (and you should!) you would almost always want to set this property. If you do not specify a signing key or this property, the Stormpath Client API Key secret will be used as the HMAC signing key, and this property ('kid') will default to the Client API Key's HREF URL."
117
+
"description": "Specifies the identifier of the signing key used to digitally sign the forwarded account JWT. This is useful because backend origin servers behind the gateway can inspect the X-Forwarded-User header JWT, find this key id, and based on this id, look up the appropriate key that should be used to verify the JWT's digital signature. If you specify a signing key (and you should!) you would almost always want to set this property. If you do not specify a signing key or this property, the Stormpath Client API Key secret will be used as the HMAC signing key, and this property ('kid') will default to the Client API Key's HREF URL."
0 commit comments