[英]how to authenticate user in JAX-RS using apache CXF?
I am using apache CXF for JAX-RS application.I followed the example in the url ' http://www.javatips.net/blog/2012/02/cxf-restful-tutorial '..... Finally,I am hosting the application as 'war' in tomcat under 'webapps'?... 我正在使用针对JAX-RS应用程序的apache CXF。我按照url'http: //www.javatips.net/blog/2012/02/cxf-restful-tutorial '.....中的示例进行操作。将应用程序托管为tomcat中的“ war”在“ webapps”下?
How to inject security(simple authorization and authentication) in JAX-RS? 如何在JAX-RS中注入安全性(简单的授权和身份验证)? Basically,my aim is to validate a 'user' role before catering service request?
基本上,我的目标是在提供餐饮服务请求之前验证“用户”角色?
Can anyone provide a neat example? 谁能提供一个很好的例子?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.