Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能是一个愚蠢的问题,但我们正在我们的服务器上使用码头基本身份验证。现在我们想在我们的应用程序中使用用户凭据。是否可以在 RAP Web 应用程序中获取当前登录信息?
谢谢
我不是说唱专家,但看起来你想这样做:
HttpServletRequest request = RWT.getRequest(); Principal user = request.getUserPrincipal();