Skip to content

Commit 1fb3d7c

Browse files
committed
KEYCLOAK-1161
web.xml example in the doc is incorrect
1 parent f827b2d commit 1fb3d7c

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

docbook/reference/en/en-US/modules/jboss-adapter.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ public class CustomerService {
167167
<auth-constraint>
168168
<role-name>admin</role-name>
169169
</auth-constraint>
170+
<user-data-constraint>
171+
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
172+
</user-data-constraint>
170173
</security-constraint>
171174
<security-constraint>
172175
<web-resource-collection>
@@ -176,12 +179,6 @@ public class CustomerService {
176179
<auth-constraint>
177180
<role-name>user</role-name>
178181
</auth-constraint>
179-
</security-constraint>
180-
181-
<security-constraint>
182-
<web-resource-collection>
183-
<url-pattern>/*</url-pattern>
184-
</web-resource-collection>
185182
<user-data-constraint>
186183
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
187184
</user-data-constraint>

docbook/reference/en/en-US/modules/jetty9-adapter.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,6 @@ $ java -jar $JETTY_HOME/start.jar --add-to-startd=keycloak
132132
<auth-constraint>
133133
<role-name>user</role-name>
134134
</auth-constraint>
135-
</security-constraint>
136-
137-
<security-constraint>
138-
<web-resource-collection>
139-
<url-pattern>/*</url-pattern>
140-
</web-resource-collection>
141135
<user-data-constraint>
142136
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
143137
</user-data-constraint>

0 commit comments

Comments
 (0)