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
Copy file name to clipboardExpand all lines: spring-webflux/src/main/java/org/springframework/web/reactive/function/server/support/ServerRequestWrapper.java
+5
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
importjava.net.InetSocketAddress;
20
20
importjava.net.URI;
21
21
importjava.nio.charset.Charset;
22
+
importjava.security.Principal;
22
23
importjava.util.List;
23
24
importjava.util.Locale;
24
25
importjava.util.Map;
@@ -144,6 +145,10 @@ public Mono<WebSession> session() {
144
145
returnthis.delegate.session();
145
146
}
146
147
148
+
@Override
149
+
publicMono<? extendsPrincipal> principal() {
150
+
returnthis.delegate.principal();
151
+
}
147
152
148
153
/**
149
154
* Implementation of the {@code Headers} interface that can be subclassed
0 commit comments